Add agent monitoring support for `pydantic-ai`
antonpirker opened this issue · 1 comments
antonpirker commented
Problem Statement
Similar to what we do for openai-agents add support for pydantic-ai.
(PyPI: https://pypi.org/project/pydantic-ai/)
Solution Brainstorm
The instrumentation should match what we need for agents monitoring:
- Agent spans
- Tool execution spans
- AI client spans (if applicable)
- Token usage on all spans
- Sentry Conventions attributes on all span types
- Capturing errors in all spans
If you would like to see this get supported, please leave a react on the issue and a comment. This helps us prioritize this internally. Thanks!