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
- OpenAIJsonSchemaTransformer doesn't detect items: {} as strict-incompatible, causing API errors with bare list type
- fix: mark array schemas with empty `items` as not strict-compatible
- Add tool calls streams to `agent.to_cli()` interface
- Integrate OpenAI newly `WebSocket` mode in `ResponsesApi`
- Support for Google Maps Built-In Tools
- feat: Expose A2A execution context via ContextVars and make `a2a` module public
- fix: use non-greedy regex in `strip_markdown_fences` to respect fence boundaries
- Support CachePoint for OpenRouter models (Anthropic/Gemini prompt caching)
- Add OpenTelemetry instrumentation to realtime models
- ToolReturnPart drops error status — is_error hardcoded to False for Anthropic/Bedrock, AG-UI ToolMessage.error not mapped
- Docs
- Python not yet supported