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
- Re-resolve dynamic instructions during a realtime session
- Drop the fabricated `run_input` stubs from the Vercel AI event stream tests
- Adaptive thinking still blocks Tool Output and forced `tool_choice` on Bedrock and OpenRouter
- feat: Support Temporal continue_as_new in TemporalDurability via continue_as_new_args
- `OpenAIEmbeddingModel.embed()` doesn't preserve batch response order (drops per-item index)
- Allow output tools to be deferred and revealed by capabilities
- Add a part-rewrite helper to `pydantic_ai.messages` for history processors
- Explore cache-stable tool deferral without native support via minimized declarations + `tool_choice`
- Tell the model when `search_tools` results were truncated by `max_results`
- A pre-cancelled \`cancellation_token\` bypasses the durable-context rejection guard
- Docs
- Python not yet supported