Flight recorder · local-first · MIT

Every AI coding
session, on the
record.

AgentDX records what your AI coding agents actually do — tokens burned, models called, tools fired, costs incurred. Across Claude Code, Cursor, Codex, Aider, and Cline. All on your machine. None of it leaves.

Star on GitHub

Zero config. Detects your agents automatically. Free forever.

SESSION RECORDER LIVE
TOTAL TOKENS 0
SESSIONS 0
EST. COST 0
claude-code68%
cursor22%
aider7%
codex3%
◈ stored locally sqlite · ~/.agentdx
RECORDS 5 agents · 1 ledger · 0 config
§01

Three commands. One ledger.

No agents to install, no accounts to create, no data to upload. AgentDX reads the session logs your tools already write to disk.

01

Detect

AgentDX scans for local session data from every supported agent — no setup, no config files.

$ npx agentdx
02

Record

Every session is parsed into a local SQLite ledger: tokens, models, tools, timings, errors.

→ 1,247 sessions recorded
03

Read

A local dashboard opens in your browser. Inspect, filter, drill down to any single turn.

→ localhost:3002
§02

A black box for your
coding agents.

When something works — or doesn't — you have the full record.

EVIDENCE

Drill down to a single turn

Forensic timeline of every message, tool call, and token spend. Reconstruct exactly what the agent did, in order, with timing.

Readconfig.ts · 1,204 tok+0.4s
Editauth.ts · 2,891 tok+1.2s
Bashnpm test · exit 1+3.8s
Editauth.ts · 942 tok+5.1s
Bashnpm test · exit 0+7.6s
TOKENS

Where it all goes

Input, output, cache reads, cache writes — broken down per model, per session, per repo.

0 tokens recorded
MODELS

Which model, when

See which models you reach for, how they perform, and what they cost you over time.

4
models
PRIVACY

Counts, never content

No code, prompts, file paths, or repo names. Ever. AgentDX records the shape of your work, not the substance.

✕ code ✕ prompts ✕ paths ✓ counts
LOCAL

It never leaves

One SQLite file in your home directory. No cloud, no account, no telemetry you didn't opt into.

~/.agentdx/agentdx.db
§03

For teams who spend
real money on tokens.

Devs run AgentDX locally. Managers and CTOs see the aggregate — anonymous, opt-in, never the code. Cost, adoption, and usage patterns across the whole org.

  • Cost visibilityWhat your team actually spends on AI, per agent and model.
  • Model adoptionWhich models the team reaches for, and how that shifts over time.
  • Usage patternsWho's getting leverage from AI — and who could use a hand.
Create an organization
Acme Engineering 12 members · 4 groups
8.4Mtokens / mo
$312est. cost
3.2×est. ROI
Backend3.2M
Platform2.8M
Frontend1.4M
Ungrouped1.0M
§04

Start recording.

One command. It finds your agents and opens the dashboard.

npm
homebrew soon

Requires Node 18+. Reads from ~/.claude, ~/.codex, ~/.cursor, and more.