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 supported4 Subscribers
Add a CodeTriage badge to pydantic-ai
Help out
- Issues
- Support `minLength`/`maxLength` in OpenAI strict mode via opt-in `strict_supports_length_constraints`
- V3 design spike: prototype capability lifecycle sequencing
- All `pydantic-ai-runner` agentic workflows fail at startup: harness 0.7.0's `pydantic-ai-slim>=2.1.0` floor is unsatisfiable against the path-sourced workspace member
- Measure whether the `<system>`-tagged degradation causes tag mimicry on Anthropic
- Deliver multimodal tool-return content on Gemini Live realtime sessions
- Add MCP 2026-07-28 transport contract gates
- Render retries that answer no tool call as a new `RetryFeedbackPart` in the system voice
- Add concise `clai` errors with opt-in tracebacks
- Non-JSON-serializable tool return values crash the run late with an unactionable `PydanticSerializationError`
- V3: simplify capability composition and lifecycle dispatch
- Docs
- Python not yet supported