cd /news/developer-tools/show-hn-rungraph-see-your-ai-coding-… · home topics developer-tools article
[ARTICLE · art-98888] src=github.com ↗ pub= topic=developer-tools verified=true sentiment=· neutral

Show HN: Rungraph – See your AI coding-agent runs as a graph

Rungraph, a new open-source tool, converts AI coding-agent transcripts into interactive directed graphs, allowing developers to visualize agent runs retroactively without hooks or setup. The tool, launched on Hacker News, scans ~/.claude/projects, starts a local server, and displays live-updating graphs of orchestrator, subagents, and tool nodes, with signals for retry storms, unresolved errors, interventions, outliers, and course changes. It aims to make 4,000-line transcripts readable by showing time flow, tool details, human interventions, and workflow runs.

read11 min views1 publishedAug 16, 2026
Show HN: Rungraph – See your AI coding-agent runs as a graph
Image: Michielbdejong (auto-discovered)

See your agent runs as a graph.

That's rungraph watching the live session that built this feature — the strip says what went wrong, and one click lights up the nodes it means.

Your coding agent already wrote down everything it did. rungraph

turns those transcripts into an interactive directed agentic graph — orchestrator, subagents, and tools as nodes; spawn/return relationships as edges; the course-change moments (denials, answers, retries) marked on the path. It works retroactively on every session you've ever run: no hooks, no wrappers, no setup, no telemetry.

npx rungraph

That's the whole quickstart. It scans ~/.claude/projects

, starts a local server, and opens your browser. Pick a run — including one that's running right now: the graph grows live as the agent works (file watching only).

New here? docs/GUIDE.md walks through the whole thing — reading the graph, what each signal means, wiring it to your own agent, and what to do when something looks broken.

Agent sessions stopped being conversations a while ago. They're runs: an orchestrator spawning subagents, workflows fanning out reviewers, tools failing and retrying, a human occasionally saying no. rungraph draws that structure so a 4,000-line transcript becomes something you can actually read:

Time flows down. Your prompts are the backbone; parallel agents fan out into side-by-side lanes and return to the turn that collected their result.Tool nodes say what ran, not just which tool:Bash · npm test ×12

,Edit · canvas.jsx

,Grep · waitForURL

. Consecutive calls of the same tool collapse into one node so a test-fix loop doesn't become a hairball.Click any node for the full story: prompt and response for turns; every call's inputs, outputs, errors, and timing for tools; the complete transcript for subagents. Tool nodes also show thewhy— the agent's own narration from just before the call ("Now I'll rerun the tests to check…").** Human interventions are first-class nodes.**A denied permission, an answered question, a mid-turn interrupt — these are the moments a run changes direction, and the edges that follow them carry the reason (after permission denial

,retry after failure

,after Bash error

).Workflow runs(multi-agent orchestrations) appear as single nodes you can drill into: their own graph, phase boxes and all, retries linked to the attempts they replaced.Tokens, durations, and models annotate nodes; whole-run totals in the header.

A graph that renders everything with equal weight points at nothing: a two-second file read and a forty-minute retry spiral look identical. So rungraph has an opinion. It derives signals from the run and puts them in a strip above the canvas — and on a clean run that strip costs zero height, because a marker you can't trust is worse than no marker.

fires when
⟳ retry storm
the same tool kept failing in one place — Edit fails, the agent reads the file, Edit fails again
⚠ unresolved error
something failed and nothing ever came back to fix it
✋ intervention
you denied a permission, interrupted a turn, or answered a question
◆ outlier
a step that cost far more tokens or wall-clock than the rest of the run
⚑ course change
the run's own recorded lineage for why it changed direction

Click a signal and the graph focuses: those nodes light up, everything else dims to a quarter — dimmed, never hidden, so the shape you already memorized stays put. Esc

or a click on empty canvas clears it.

The same focus mechanism backs everything else that points at nodes:

Find(/

) — plain substring over node labelsand the files each node touched. No model, no network, no subprocess; it filters in the browser.Files— tool and agent nodes carry the paths they touched, including work done** inside subagents**, which is where a lot of real editing happens. The inspector lists every file the run touched with a count; click one to see exactly which steps touched it.Live escalation— signals are re-derived on every live-tail update. Go do something else while the agent works; the strip goes loud only when something new has actually gone wrong.

The dashboard is for you; the MCP server is for your agent. They are two ends of one loop, not two products.

npx rungraph mcp --install     # one time, then restart Claude Code
npx rungraph mcp --check       # is it working? prints exactly what to fix

You don't have to guess what to ask, either: the dashboard writes the questions for you, from the run you're looking at — "why did the Edit on token.js keep failing?" — with a copy button. Paste one into Claude Code.

Then, in Claude Code: "which edits in my last run failed?" Claude calls find_nodes

/ get_graph

/ get_detail

, answers in your terminal — your model, your session, fully inspectable — and then calls focus_nodes

, and the dashboard you have open lights up the nodes it just described.

Nothing is pinned, prompted, or proxied: rungraph contributes the graph, not the conversation. The read-only tools work with no server running at all.

tool does
list_runs
the run index
get_graph
one run's graph, compact by default (signals + files included)
find_nodes
narrow before you pull — a big graph is 20k+ tokens
get_detail
the actual error text behind one node
focus_nodes
light up the open dashboard; returns a pastable deep link
get_current_view
what the dashboard is showing right now
open_visualization
open the browser on a run

With more than one dashboard live — yours, plus a bundle someone sent you (below) — the MCP aggregates them: list_runs

merges every server's runs, tagged with where they came from, and every other tool routes by run id to the dashboard actually showing that run.

A run can leave the machine — as a file, on your terms. Say Bilal's agent went sideways and you could help, or you want to show a colleague where a feature was actually built.

Bilal exports. Either from the dashboard — share… in the runs pane, check off runs, review what's about to leave — or by asking his agent:

rungraph export --last 2 --as Bilal

The inventory prints every time: people don't realize how much lives in a transcript, so the tool shows it before it leaves. And export blocks if it finds a high-confidence secret (AWS keys, GitHub/Slack/API tokens, private-key blocks — anchored patterns, calibrated for near-zero false positives), listing exactly where each one is. Resolve with --redact-secrets

(placeholders, everything else verbatim), --structure-only

(graph shape, tool names, files and timings — no prompts, no outputs), or --allow-secrets

if they're fixture keys you've checked.

The file is the transfer. Send the .rungraph

over whatever you already trust — Slack, AirDrop, a repo. rungraph itself never touches a network.

You open it.

npx rungraph open team-work.rungraph

That serves the bundle on its own ephemeral dashboard — nothing is copied anywhere; close the process and it's gone; keep the file to re-open it any time. Every run wears its provenance ("shared by Bilal · team-work.rungraph"), and the whole loop works on it: signals derive on your rungraph, and your own agent can be pointed at Bilal's runs — "what went wrong in the bundle Bilal sent me?" — right alongside your own.

A bundle carries the vendor-neutral IR, so a Codex run exports and opens identically to a Claude Code one, and opening a bundle needs no adapters at all. sharedBy

is a display string, not an identity — trust a bundle the way you trust the channel it arrived on.

Link to what you see. copy link in the header captures the current view — run, selected node, focus — as a URL; focus_nodes

returns the same kind of link, so your agent can hand you something pastable for a PR or an issue. Links re-execute their query on load (a find link re-finds, a signal link re-derives), and a link that lands on the wrong dashboard offers a one-click jump to the one that has the run.

Navigation is Figma-style, built for the tall, skinny graphs real runs produce:

Input Action
Two-finger scroll Pan
Pinch / cmd+scroll Zoom at the cursor
Click-drag Pan
Click node / edge Inspect it
Double-click node Zoom to 100%, centered
j / k (or / )
Walk nodes in run order, inspector follows
f
Fit the whole graph
/
Find by label or file
Esc
Deselect and clear the focus

A minimap (bottom-right) shows the whole run as a strip with a draggable viewport — errors glow as red beacons; click one to jump straight to the failure. Runs open at readable zoom: finished runs at the first prompt, live runs at the latest activity, with follow mode sliding the view as new nodes stream in.

Everything the UI can do, a coding agent can do over the CLI — no browser, no prompts, JSON on stdout, logs on stderr, exit codes 0

ok / 1

error / 2

no runs found. Paste this section into a prompt and an agent can self-serve:

npx rungraph list --json

npx rungraph graph 'claude-code:…:5822df8b-…' --json

npx rungraph find 'claude-code:…:5822df8b-…' token.js --json

npx rungraph serve --no-open

The same surface is available as MCP tools — see "Ask your agent about a run" above, or rungraph mcp --install

.

The IR is versioned and documented in SCHEMA.md. It is vendor-neutral, with two adapters: Claude Code (sessions, subagents, and Workflow runs, under ~/.claude/projects

) and Codex CLI (rollout threads and their spawned subagent threads, under ~/.codex/sessions

). Everything downstream — including .rungraph

bundles — carries only the IR.

Everything is local. The server binds 127.0.0.1

only, and every request is Host-header-guarded, so a hostile web page can't DNS-rebind its way into your transcripts. rungraph makes no network requests and phones nothing home.

Nothing leaves your machine unless you run rungraph export

— an explicit command naming explicit runs, which prints an inventory of what's included every time and hard-stops on detected secrets. The transfer channel for the resulting file is yours, not rungraph's.

Claude Code writes JSONL transcripts under ~/.claude/projects

— main session files, per-subagent files, and workflow journals with a manifest per run. rungraph

reconstructs the run graph from those files post-hoc: adapters turn transcript lines into a versioned, vendor-neutral IR, and everything downstream (web UI, CLI, HTTP API) consumes only the IR.

It is built to survive real transcripts:

Never a blank screen. Unknown line types are skipped and counted — if the transcript format is newer than your rungraph, you get a banner and a graph, not a crash. A half-written final line (an agent mid-write) is tolerated and retried on the next tick.Live without hooks. Liveness comes from watching the run's own files; the graph updates over SSE with stable node ids, so deltas merge instead of redrawing.Light on your machine. The backend has zero runtime dependencies (node:http

,fs.watch

and friends). The frontend (Preact + elkjs) ships prebuilt in the package — there is no build step on your machine.

rungraph                       scan, serve, open browser (human default)
rungraph list [--json]         run index, newest first
rungraph graph <runId>         Graph IR for one run (JSON on stdout)
rungraph find <runId> <query>  nodes whose label or files match a substring
rungraph serve [--no-open]     start server; prints {"url": …}
rungraph export <runId…>       write a shareable .rungraph bundle (see --help)
rungraph open <bundle…>        serve bundle files, ephemerally
rungraph mcp [--install]       MCP server on stdio; --install registers it once
rungraph mcp --check           verify the agent side end to end
  --project <path>             only runs for this project directory
  --port <n>                   preferred port (auto-increments if taken)
  --last <n>                   export: the n most recent runs of this project
  --scope <s>                  mcp --install: user (default) | project | local

Requires Node ≥ 20.

Annotations— mark nodes before exporting a bundle ("look here first").** Cross-run questions**— file attribution lives in each run's IR, so asking "what else touched this file?" across runs needs iteration, not a migration.Run comparison— diff two runs of the same task.** Cost estimates**— turn per-node token counts into dollars.

── more in #developer-tools 4 stories · sorted by recency
── more on @rungraph 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/show-hn-rungraph-see…] indexed:0 read:11min 2026-08-16 ·