Quick Start
Install TraceLLM and capture a first trace.
Quick Start
Get from zero to your first trace in under two minutes. You only need a terminal and Python 3.10+.
Tracey Tip
Step 1 — Installation
Install TraceLLM via pip. The package includes the CLI, SDK, and all runtime dependencies.
pip install tracellm-cli
Tip
python -m venv .venv && source .venv/bin/activateStep 2 — Start TraceLLM
Start the entire TraceLLM stack with a single command:
tracellm start
This automatically starts the backend, launches the dashboard, and opens your browser. The SQLite database is auto-created at ~/.tracellm/traces.db on first run.
Note
Step 3 — Run AI Agent
Run a trace against any prompt. TraceLLM captures the full execution — prompts, responses, latency, token usage, and tool calls.
tracellm trace "Explain transformers"
You will see the trace ID, model response, latency, and token usage printed to the terminal.
Step 4 — View Dashboard
Your browser opened automatically when you ran tracellm start. Navigate to http://localhost:3000 if it did not. Your trace appears in the trace list as soon as it completes.
Dashboard screenshot placeholder
Click on the trace to inspect the full detail: prompt, response, timing breakdown, and every span that was created during execution.