文件历史

1 次代码提交

作者 SHA1 备注 提交日期
Devika fafefd01e5 Add agent tooling, policies, toolkits, and persistence
Build out the agent runtime on top of the Agent API and tracing: tools
for composing agents, declarative tool policies, standard toolkits, and
pluggable state/artifact stores for resumable runs.

- Subagent tools: agent_tool() wraps an Agent as a callable tool and
  propagates trace context to the nested run
- Tool policies: declarative AllowAllToolPolicy / DenyAllToolPolicy /
  AllowToolsPolicy / RequireApprovalPolicy, ToolMetadata, and a tool()
  decorator for attaching metadata
- Toolkits: standard file, shell, and git toolkits
- Persistence: StateStore (in-memory, file, Postgres) with compaction
  records and StoredRunState for resumable runs, plus ArtifactStore
  (in-memory, file) for large tool payloads
- Normalized model trace events (tracing/normalize) for consistent
  model input/response capture
- tests for subagent tools, policies, toolkits, and state/artifact stores

Co-authored-by: Rohit <rohit.prasad15@gmail.com>
2026-06-06 09:14:00 -07:00