Add agent tooling, policies, toolkits, and persistence#293
Merged
Conversation
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>
rohitprasad15
added a commit
that referenced
this pull request
Jun 10, 2026
tomllib is stdlib only from 3.11; the unguarded import killed the whole 3.10 build_and_test job at collection (red on main since #293) and fail-fast cancelled the 3.11/3.12 jobs. Only the one pyproject-parsing test needs it, so it skips on 3.10.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.