pydantic-ai
https://github.com/pydantic/pydantic-ai
Python
GenAI Agent Framework, the Pydantic way
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
Python not yet supported6 Subscribers
Add a CodeTriage badge to pydantic-ai
Help out
- Issues
- Embedder and EmbeddingModel have no way to close the provider's HTTP client
- Retry `Advisor` and managed `SubAgents` child runs without inherited `count_tokens_before_request` when their model cannot count tokens
- Make harness tests drive real Pydantic AI flows instead of hand-built state, with contract tests where they can't
- Per-tool control of Anthropic `eager_input_streaming`
- Add `CapabilityStorage` to keep harness capabilities' own files outside the run's workspace
- Serve CLAI's stock agent in the browser with `clai2 --web`
- Add `DelegationTasks.discover()` and stop one damaged saved task from blocking `DelegationTasks.opened()`
- Count tool calls still in flight in runs sharing a `RunUsage` against `tool_calls_limit`
- Add `code_mode_native` tool metadata and `CodeMode(native_capabilities=...)` to keep tools out of `run_code`
- DynamicToolset(per_run_step=False) journals get_tools before every model request under DBOS, unlike a static MCPToolset
- Docs
- Python not yet supported