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
- An empty `CompactionPart` summary is treated as a wire boundary, dropping the history it cannot replace
- Easier way to log body of errors from provider
- NativeOutput nested validation retries duplicate the same large input once per error
- [Google] Usage Tracking: Gemini-specific token metrics leak into gen_ai.usage.details causing double-counting downstream
- Clarify concurrent `AgentStream` consumer semantics
- Expose validated partial structured outputs through UI adapters
- [provider-mapping-sweep] cohere: chat response `id` is silently dropped — `CohereModel._process_response` does not set `provider_response_id`
- Replay structured citations in message history
- Normalize citations from Bedrock, OpenRouter, and xAI
- Add `DaytonaSandbox` to Harness navigation
- Docs
- Python not yet supported