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 supported1 Subscribers
Add a CodeTriage badge to pydantic-ai
Help out
- Issues
- Native UIAdapter / AG-UI support for Pydantic Graph Beta workflows
- Bedrock: `count_tokens` does not pass `additionalModelRequestFields`, breaking 1M context models
- docs: add typed task receipt example
- mcp: respect audience annotations in tool results
- fix(google): omit function ids for Vertex v1
- fix(openai): fallback streamed response timestamps
- fix(bedrock): forward `additionalModelRequestFields` in `count_tokens`
- Support OpenAI-compatible custom providers in `AgentSpec` / `Agent.from_file()` with a custom `base_url`
- Safe mode for `AgentSpec` / `Agent.from_file` to bound capability-config attack surface
- First-class `RuntimeCapability` extension point for durable execution (post-v2)
- Docs
- Python not yet supported