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
- Run `PromptInjectionDefender` semantic classification as durable operations so it works on Temporal
- Drop the unified settings Claude, Gemini and Grok models reject instead of sending them
- Let `fallback_on` take `UnsupportedSettingWarning` to skip a model that would ignore a setting the request relies on
- Run harness `FileSystem` and `Shell` tools on Azure Durable Task and Render
- harness: align sub-agent task-control CapabilityEvent names (Event suffix, tense, agent_name, parent_task_id)
- Verify Claude Platform on AWS and Foundry accept `allowed_callers=['direct']` with citations, so `Citations()` can call web tools directly there
- Streamed failures, `Hooks`, and retry errors still keep `deps` alive until cyclic GC
- Price OpenAI 12-hour prompt cache writes with a `cache_write_12h_tokens` usage field
- Support the `'12h'` prompt cache retention on Azure OpenAI Responses, which accepts it despite the docs
- Load Harness `Skills` from a database, with an official Postgres source
- Docs
- Python not yet supported