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 supported4 Subscribers
Add a CodeTriage badge to pydantic-ai
Help out
- Issues
- Logfire console output interleaves with the `clai` chat session
- Evals for realtime (speech-to-speech) sessions
- [roundtrip-sweep] ModelMessagesTypeAdapter: `ToolSearchMatch` items inside `discovered_tools` silently drop unknown keys on round-trip (gap in PR [Content truncated due to length]
- Embedding vectors are missing from traces with `include_content=True`
- An empty-list tool return reaches the model as an empty string on the OpenAI and Anthropic mappings
- Anthropic thinking validation can be bypassed through `extra_body`
- Honor `extra_body` thinking in the Anthropic top-effort guard
- Support OpenAI GPT-Live 1 with delegation to a Pydantic AI agent
- Fix instrumented embedding spans missing the `embeddings` attribute when `include_content=True`
- [roundtrip-sweep] ModelMessagesTypeAdapter: `NativeToolSearchReturnPart` placed in `ModelRequest.parts` silently fails JSON round-trip (sibling ga [Content truncated due to length]
- Docs
- Python not yet supported