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 supported6 Subscribers
Add a CodeTriage badge to pydantic-ai
Help out
- Issues
- Realtime: expose input transcription language (and prompt) in model settings
- format_as_xml can return malformed XML for invalid mapping keys
- Make `*args` tool parameters optional in the generated JSON schema
- Raw `bytes` in a tool return break storage in any model but `ModelMessagesTypeAdapter`
- Account for duration-billed realtime audio in `RunUsage` and `UsageLimits`
- Add more simple routing strategies
- Vercel AI adapter drops `ToolReturn` metadata chunks after a JSON round-trip (persisted history through `dump_messages`, and durable execution live)
- *args tool parameter is marked required, so a model that omits it gets a Field required retry
- Tolerate a UTF-8 BOM in `Dataset.from_file`
- Support per-tool discovery within on-demand capabilities
- Docs
- Python not yet supported