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
- Surface the `gh-aw` page from the front pages and lift it above `ACP` in the sidebar
- `Agent.from_spec()` requires a model where `Agent()` does not
- Let `Agent.from_spec()` construct without a model, deferring the requirement to run time
- [aw] CI Review produced no safe outputs
- DeepSeek profile keys thinking on a "deepseek-v4-" name prefix, so deepseek-flash is sent a forced tool choice and 400s
- Make `*args` tool parameters optional in the generated JSON schema
- Raw `bytes` in a tool return break storage in any model but `ModelMessagesTypeAdapter`
- `AgentRunResult` validation JSON schema still advertises the private field names
- Expose the message-history repair pipeline as `repair_messages`
- Account for duration-billed realtime audio in `RunUsage` and `UsageLimits`
- Docs
- Python not yet supported