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
- fix(openrouter): map `thinking=False` to `reasoning_effort="none"`
- Capability `for_run` implicit per-run state behavior is a footgun
- Unified `thinking=False` is ignored by `OpenRouterModel`
- feat: add `DeferredToolCallEvent` and `DeferredToolResultEvent` to `AgentStreamEvent`
- feat: Adds `ToolFailed` next to `ModelRetry` to show tool failures but not trigger retries by default
- Missing `DeferredToolCallEvent` / `DeferredToolResultEvent` in `AgentStreamEvent`
- feat: emit events for delivered enqueued messages
- Add fail-fast sequential tool barriers
- Fail-fast option for sequential tool execution (abort downstream tools on upstream failure)
- Make retry-after transport test deterministic
- Docs
- Python not yet supported