Setup
Install the Braintrust Python SDK with OpenTelemetry support and the Braintrust Pydantic AI integration:.env
Trace with Pydantic AI
Configure OpenTelemetry with Braintrust’s span processor and enable instrumentation on your agents:pydantic-ai-braintrust.py