Integrations / Pydantic AI
To trace Pydantic AI with Tracify, wrap the agent run in trace_agent and record tools as steps, or send Pydantic AI's OpenTelemetry spans to Tracify over OTLP.
Your code
Pydantic AI
Tracify
One run.
Setup
import tracify
@tracify.trace_agent(name="pydantic-agent")
async def ask(question: str):
with tracify.span("agent-run", type="agent", input=question):
result = await agent.run(question)
return result.outputFull details in the documentation. All integrations are listed on the integrations page.
