Install. Start. Observe.

Open-source observability for AI agents.

Trace prompts, tool calls, errors, latency, and workflows in seconds. No database setup. No cloud account. No configuration.

$pip install tracellm-cli
$tracellm start
✓ SQLite initialized
✓ API ready
✓ Dashboard ready
tracellm monitor
$ tracellm trace agent.py --watch
[trace]agent:start run_7c91 prompt='Explain transformers'
[tool]retrieve.docs completed in 118ms
[llm]gpt-4o-mini latency=842ms tokens=1,284
[retry]schema mismatch detected, replay checkpoint saved
[done]trace exported to ./exports/run_7c91.json
run_7c91 execution tree2.14s
agent:start
├── retrieve.docs       118ms
├── tool:web_search     401ms
├── llm.generate        842ms
└── success             2.14s
listening for spans, tools, retries, and token events

What's New

v0.2.0

Latest improvements to the TraceLLM experience.

SQLite Storage

Automatic local database at ~/.tracellm/traces.db. No setup required.

Auto Dashboard Launch

Browser opens automatically when you run tracellm start.

CLI Themes

Personalize the CLI with Matrix, Dracula, Nord, Retro, and Purple themes.

New

Built for Instant Setup

TraceLLM removes every friction point between install and first trace.

SQLite Storage

Automatically creates ~/.tracellm/traces.db. No setup required.

Auto Dashboard Launch

TraceLLM automatically launches the dashboard and opens your browser.

CLI Themes

Personalize the CLI experience with Matrix, Dracula, Nord, Retro, Light, Dark, and Purple themes.

Why TraceLLM

Zero Config. Instant Observability.

No database setup. No cloud account. No configuration. Just install and start tracing.

Zero Configuration

Works out of the box. No env files, no connection strings.

Local-First

All data stays on your machine. No external servers.

Open Source

Fully open-source under the MIT license.

SQLite Included

Automatically creates a local database at ~/.tracellm/traces.db.

Browser Auto-Launch

Dashboard opens automatically when you start.

Themeable CLI

Matrix, Dracula, Nord, Retro, Light, Dark, and Purple.

Product demo

See TraceLLM in Action

Watch TraceLLM trace, replay, and debug a real LLM workflow from the terminal.

Trace

Capture prompts, latency, token usage, retries, and tool calls.

Replay

Replay complete execution flows step-by-step.

Monitor

Watch traces arrive live through the terminal and dashboard.

$pip install tracellm-cli
$tracellm start
$tracellm trace "Explain transformers"

Installation

Four Steps. Zero Config.

Install the CLI, run it once, and TraceLLM handles the rest automatically.

Step 11

Install

Install the TraceLLM CLI package from PyPI.

pip install tracellm-cli
Step 22

Start

Launch the backend, API, and dashboard.

tracellm start
Step 33

SQLite Ready

SQLite initialized
Local database created
Step 44

Dashboard

Dashboard opens automatically
Browser launches automatically

Install. Start. Observe.

Works in seconds, not hours

Zero configuration
Local-first
Open source
SQLite included
Browser auto-launch
Themeable CLI
Works in seconds

Features

Everything You Need to Debug AI Applications

TraceLLM gives you full visibility into every LLM call, tool invocation, and agent decision.

Prompt Tracing

Capture full prompt inputs, model responses, parameters, and metadata for every LLM call.

Replay Sessions

Replay execution chains step-by-step to inspect inputs, outputs, retries, and intermediate state at any point.

Live Monitoring

Stream execution events in real time as your agent runs. See latency spikes, tool failures, and status changes instantly.

Tool Call Visibility

Every tool invocation — inputs, outputs, duration, and nested calls — is captured as a first-class event in the trace.

Token Usage Tracking

Track token consumption per model call, per session, and across your entire application.

Session Export

Export traces as structured JSON files for debugging, sharing, CI pipelines, or offline analysis.

Local First Architecture

All trace data stays on your machine. No external servers, no data leaving your environment.

Open Source

Fully open-source under the MIT license. Inspect, modify, and self-host without restrictions.

Architecture

How TraceLLM Works

From your application code to the dashboard — trace data flows through a simple, local pipeline.

Developer App
TraceLLM SDK
TraceLLM Backend
SQLite
Dashboard

FAQ

Frequently Asked Questions

Common questions about TraceLLM, its requirements, and architecture.

Do I need a database?

No. TraceLLM automatically creates a local SQLite database. No setup required.

Is TraceLLM open source?

Yes. TraceLLM is fully open source under the MIT license.

Does data leave my machine?

No. TraceLLM is local-first. All trace data stays on your machine.

Do I need an API key?

No. TraceLLM does not require any API key or external service registration.

CLI

Built for the Terminal

The CLI is the primary interface. Start tracing where the bug appears, copy the command, and keep moving.

$pip install tracellm-cli
$tracellm start
$tracellm trace
$tracellm replay
$tracellm monitor
Replay tree
agent:start
├── retrieve
├── tool:web_search
├── llm.generate
└── success
Replay

Replay turns “why did it do that?” into a timeline

Instead of reading logs backwards, replay shows the execution tree in order. You can inspect the prompt, tool input, tool output, retry reason, latency, and final response at the exact point where behavior changed.

Dashboard second

A visual layer on top of TraceLLM

The dashboard is secondary by design. Use it when you want to scan runs, compare trace timelines, inspect token usage, or share a visual debugging session. The terminal remains the default workflow.

Recent traces

Dashboard placeholder for future screenshot.

Latency view

Dashboard placeholder for future screenshot.

Token usage

Dashboard placeholder for future screenshot.

Replay detail

Dashboard placeholder for future screenshot.

Mascot

Meet Tracey

A tiny dinosaur that follows every prompt, tool call, retry, and model response so you never lose track of what your AI system is doing.

PromptLatencyTokensRetriesTool CallsReplay
Terminal explorer

Never Debug Blind Again

TraceLLM records the full execution path of LLM applications and agents.

prompts
responses
token usage
retries
tool execution
latency
failures
replay timeline

All locally.

All open source.

All from the terminal.

Trace

Capture every request and response.

Replay

Step through execution history.

Monitor

Watch traces arrive in real time.