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 retried tool call with an empty `tool_call_id` is answered under a generated id, leaving the call unanswered
- Answer a retried call with an empty `tool_call_id` under that same id
- Open-source MCP runtime behavior security tools - RFC 9334 aligned
- Prefect tests fail on Windows: BlockBuster flags `os.getcwd` / `os.stat` in `LocalFileSystem._resolve_path`
- Nested `FallbackModel` loses rejected-response usage when the outer fallback handles an exception
- Close the event loop `run_sync` leaves on a worker thread, so its `__del__` cannot fail an unrelated test
- Docs/example proposal: physics/bounds output_validators (deterministic, no-LLM)
- run_stream(): capture_run_messages() and after_run hooks see a history that ends on an unanswered tool call
- Pydantic AI + PostgreSQL: Chat history and summarization best practice
- `ConversationStore.save` re-stores the history as a new branch every turn when a serialized conversation used an output tool
- Docs
- Python not yet supported