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 supported2 Subscribers
Add a CodeTriage badge to pydantic-ai
Help out
- Issues
- Add OpenAI Responses API `reasoning.context` support (default `all_turns`) for the `gpt-5.4`/`gpt-5.5`/`gpt-5.6` families
- Fix `CombinedCapability` subclass custom `__init__` crash in `for_run`/`for_agent`
- Support Responses API `reasoning.context` for the GPT-5.6 (luna/terra/sol) models
- fix: preserve TextPart and ToolCallPart metadata across AG-UI dump/load round-trip
- Add Azure AI Voice Live via the `azure_voice_live` setting
- Proactively emit spans for framework-detected issues (cache-prefix collapse first), opt-out via `InstrumentationSettings`
- Realtime: proactively resume Gemini Live sessions on `GoAway` before the connection cap
- Support Inception Labs (Mercury) models
- Clarify schema compatibility expectations for persisted durable workflow payloads
- Add `InceptionProvider` for Inception Labs Mercury models
- Docs
- Python not yet supported