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
- [provider-mapping-sweep] mistral: `presence_penalty` and `frequency_penalty` silently dropped in non-streaming requests
- [roundtrip-sweep] ModelResponsePart: `ToolReturnPart` with `part_kind='tool-return'` missing from discriminated union — breaks message history round-trip
- Anthropic count_tokens fails when native CodeExecutionTool is enabled
- fix(mistral): preserve extended usage fields from API response
- fix: accept FastMCP HTTP factory kwargs
- fix(mistral): forward penalties in completions
- fix(messages): add InstructionPart to ModelRequestPart discriminated union
- fix: round-trip instruction request parts
- fix: preserve request context when merging history
- Fix duplicate word in `toolsets.md`
- Docs
- Python not yet supported