Global Instrumentation
The easiest way to track Pydantic AI agents is to enable global instrumentation at the start of your application.Context-Aware Agents
If you need to associate traces with specific users or sessions, use thecreate_traced_agent helper or manually set context before running the agent.
