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
- Close the event loop `run_sync` leaves on a worker thread, so its `__del__` cannot fail an unrelated test
- docs: add schemagate to third-party capabilities
- Flaky tests/harness/ipython_code_mode/test_ipython_code_mode.py::TestIPythonCodeModeKernelLifecycle::test_restart_clears_the_state
- Tool return schema describes the ToolReturn envelope when a tool returns ToolReturn[T] | None
- Generate a tool's return schema from `T` when it returns `ToolReturn[T] | None`
- clai2: tint the default theme's prompts from the terminal's background (OSC 11), keeping late replies out of the draft
- FunctionToolset.add_tool() writes the toolset defaults onto a Tool that other toolsets also hold
- Store a toolset copy of a Tool instead of rewriting the one other toolsets hold
- Support batch requests for OpenRouter
- Planning: two `set_dependency` calls in one response can lose a dependency
- Docs
- Python not yet supported