Runtime 如何控制一次 Agent 任务
图示 Runtime 组装上下文、调用模型、检查策略、执行工具、验证结果并保存状态;任务状态通过 checkpoint 回流到下一轮上下文。
REQUEST
RUNTIME
ENVIRONMENT
用户请求
goal · constraints
上下文组装
messages · state · tools
LLM
decision · tool call
策略与预算
policy · permission · cost
验证与状态
schema · checkpoint · trace
工具执行器
adapter · timeout · retry
任务状态
结构化结果 · observation · error
外部环境 · web · docs · APIs