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
- Preserve `tool_kind` in Vercel AI and AG-UI message round-trips
- GraphBuilder API does not preformat OTel span names (`run node {node_id}` / `run graph {graph.name}` left as literal templates)
- Stream and run cancellation semantics tracker
- Map `seed` and `top_k` ModelSettings for GeminiModel
- Define whole-agent-run cancellation semantics
- Define replay semantics for interrupted message histories
- Define tool-execution cancellation semantics
- `VercelAIAdapter.load_messages` does not preserve loaded deferred capability state
- Fix/gateway model health
- Guard against message-part discriminated-union drift and fix incomplete `PartStartEvent`/`PartEndEvent` part-kind `Literal`s
- Docs
- Python not yet supported