Skip to main content
Enable tracing for an agent in AgentOS. Set 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

Your AgentOS will be available at http://localhost:7777. View traces in the AgentOS dashboard.