agentfdr logo

The black box for your coding agent.

When Claude Code loops, drifts off-goal, or quietly burns two million tokens, agentfdr shows you why — turn by turn, after the fact.

$npx agentfdr

Zero instrumentation · zero cloud · zero config — it reads the transcripts Claude Code already writes.

agentfdr timeline of a real 200-turn session with anomaly flags and the turn dissection panel

The evidence is gone by the time you notice.

Autonomous agent failures are hard to debug — unless someone kept the flight recording.

🔁The loop

Edit → test fails → same edit, for 40 minutes.

🧭The drift

You asked for a bugfix; it refactored the router.

🔥The burn

A huge tool result crowds the context, cache stops hitting, every turn re-reads 200k tokens.

🛬The bad landing

“Done!” with failing tests — or no stop at all.

Working with agents is becoming loop engineering — designing and operating the loop your harness runs. You can't engineer a loop you can't see. agentfdr is the instrument panel.

The crash investigator's toolkit.

🛫
Timeline viewer

The whole session on one screen: every turn's tool calls, context-window composition, and output tokens, with prompt and compaction markers.

🚨
Anomaly detection

Tool loops, error streaks, context bloat, token spikes, cache thrash, file churn, and refusals — flagged automatically, one click from the evidence.

🔍
Turn dissection

A resizable side panel with the usage breakdown and every tool call's duration, result size, and snippet. Step through turns with ←/→.

📡
Live watch mode

agentfdr watch follows a session that's still running — watch the context climb in real time.

🚦
CI gate

agentfdr assert --no-loops --max-tokens 2M exits 1 on violation. Put a tripwire on your autonomous pipelines.

📋
Markdown autopsy

agentfdr blame renders the whole analysis as markdown, ready to paste into an issue or a Slack thread.

Know what your plan is really burning.

agentfdr usage aggregates every project's transcripts into the same shape your subscription is metered in: the current 5-hour window, daily history, and the rolling week — with a per-model breakdown and estimated cost.

Your plan tier is auto-detected. Set budgets, calibrate them once against Claude Code's /usage screen, and get warning bars before you hit the wall.

plan usage panel

One command away.

agentfdr                    # open the newest session's timeline
agentfdr list               # all recorded sessions across projects
agentfdr watch              # live: follow the running session
agentfdr blame 35cb18       # markdown autopsy for an issue
agentfdr usage              # plan burn: 5h window / daily / weekly
agentfdr assert --no-loops --max-tokens 2M   # CI gate