setup().
Install
Python
Structured Agent With Tools
Python
What To Look For
- Agent run spans from Pydantic AI
- Tool spans for
get_weather - Model spans from the provider used by Pydantic AI
- Structured
WeatherReportoutput in the captured span data
Trace Pydantic AI agents, tool calls, and structured outputs through native OpenTelemetry instrumentation.
setup().
get_weatherWeatherReport output in the captured span data