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
- A history rewrite in the middle of a run drops that run's messages from the ConversationStore
- fix(graph): avoid stringifying callables that already have a name
- fix(utils): ignore empty split parts in estimate_string_tokens
- FunctionSignature: names from get_conflicting_type_names leak into later renders with a different set
- Durable runs: allow per-run capabilities that add no durable work, and a public way to swap the model in tests
- Send Ollama `max_tokens` setting as `max_tokens`, not `max_completion_tokens`
- Capability: let the model prune a junk tool result it just received (model-judged ClearToolResults)
- Include docstring admonition sections and whole annotated Returns sections in tool descriptions
- Add default SSE keepalive comments to UI event streams
- Add `DenyUnanswered` harness capability to answer deferred calls
- Docs
- Python not yet supported