tracing=True and all agent runs, model calls, and tool executions are captured automatically.
1
Create a Python file
basic_agent_tracing.py
2
Set up your virtual environment
3
Install dependencies
4
Export your OpenAI API key
5
Run AgentOS
http://localhost:7777. View traces in the AgentOS dashboard.