Skip to main content
Enable tracing for an agent to automatically capture all agent runs, model calls, and tool executions in your database.
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 the agent