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
- Support GPT-5 Freeform Function Calling and Context Free Grammar for tool args and output
- Add OpenRouter image generation support
- Azure OpenAI API Streaming Response Causes AttributeError in pydantic-ai
- Allow raw tool call arguments to be pre-processed in case schema validation fails
- Replace `asyncio` to `anyio`
- feat: Add unified thinking settings across all model providers
- Fix builtin tool availability checking when using `TemporalAgent` with multiple models
- Add `examples` field to `ToolDefinition` and send it to Anthropic
- Add Cloudflare AI Gateway provider
- Exclude `run_id` from cache key computation in `PrefectAgentInputs`
- Docs
- Python not yet supported