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
- The `innermost` ordering tier is overloaded, and members cannot order themselves within it
- `AgentSpec` schema generation silently publishes an empty capability in two distinct ways
- ToolOutput validation retries duplicate the full input once per error, causing multiplicative context growth
- Add `run_stream_messages()` and model message boundary events
- `output_reasoning_tokens` is an undeclared usage attribute, so it can't round-trip or compare cleanly
- Emit `ModelResponse` start/end events instead of making consumers infer message boundaries
- `MistralModel` sends malformed tool-call args verbatim, bypassing both `args_as_dict` and `args_as_json_str`
- Realtime: separate the codec and session event vocabularies
- Durable-exec leaf-toolset `id` error never mentions the capability `id` that would fix it
- `Agent.run()` fails under Trio when creating capability wrapper task
- Docs
- Python not yet supported