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 supported6 Subscribers
Add a CodeTriage badge to pydantic-ai
Help out
- Issues
- Use one case-insensitive vendor/org → family profile map for every OpenAI-compatible gateway
- Host profile overlays silently replace family-required profile fields (e.g. GLM-5.3 and Qwen lose `$defs` inlining on Bedrock)
- Add a test that each model family resolves the same family-level profile on every route that serves it
- Raise a clear error when `OpenAIChatModel` sends function tools to GPT-6 Luna with reasoning on
- Forced tool choice with thinking fails on OpenRouter Qwen, Muse Spark and GLM-5.3 routes
- Detect Ollama Cloud context-window overflow errors from their message text
- Stop `SummarizingCompaction` from cutting tool results to 500 characters by default
- Add OpenCode gateway provider support (`opencode:<model>`)
- OpenAIChatModel sends a Responses reasoning item id as a key on the assistant message
- Add Desearch search tools to common tools
- Docs
- Python not yet supported