Pydantic AI
Pydantic AI is a Python agent framework.
To configure tracing with Braintrust, first configure the Braintrust Python SDK with OpenTelemetry support.
Then configure OpenTelemetry and enable instrumentation on your agent.
uv add braintrust[otel] pydantic-ai
This will automatically send interactions, tool calls, and performance metrics to Braintrust for monitoring and evaluation.