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 retry mechanism sending minimal correction context instead of full conversation history
- Retry logic incorrectly depends on tool-call protocol, causing failures on non-tool backends
- Add prompt and completions cost fields to OpenRouter
- Plan: Custom events from tool functions
- feat: Add prompt and completions cost fields to OpenRouter
- docs: add Aegis to third-party capabilities
- Need for llama.cpp providers
- `FallbackModel` produces invalid Responses API requests when mixing `OpenAIChatModel` and `OpenAIResponsesModel` during multi-step tool loops
- feat: add pluggable agent memory store
- fix(vercel-ai): strip retry suffix from UI errorText, preserve LLM cache
- Docs
- Python not yet supported