Retrieved article excerpt
Open article Ā· Retrieved 2026-10-11T21:42:07.505483+00:00
# tracon
**Air traffic control for parallel Claude Code subagents.** A live terminal and browser monitor
that spots stuck, blocked and drifting agents, and the worktree file conflicts headed for your
merge.
[PyPI](https://pypi.org/project/tracon/)
[Python 3.12+](https://pypi.org/project/tracon/)
[tests](https://github.com/phalladar/tracon/actions/workflows/test.yml)
[MIT](https://github.com/phalladar/tracon/blob/main/LICENSE)
[A terminal split in two. On the left, a Claude Code session is asked to /expedite checkout-v2 and dispatches seven worktree agents. On the right, tracon lists them as they start; over the run one agent is blocked on a permission prompt, one goes idle, one drifts off its brief and one is stuck retrying a failing command. The user selects the stuck agent in tracon, presses n to nudge the lead with a drafted note; it arrives in the Claude Code session, the lead messages the agent, and tracon shows it back on track.](https://raw.githubusercontent.com/phalladar/tracon/main/docs/screenshots/hero.gif)
Left: a Claude Code session orchestrating seven worktree agents. Right: tracon in a split next to it.
A made-up run from `tracon --demo`, sped up.
```
uvx tracon --demo # look around a made-up run; no Claude Code session needed
uvx tracon # watch the Claude Code session in the next split, else your newest with subagents
```
You dispatched six agents an hour ago. One has been waiting 40 minutes on a permission prompt
nobody can see. Two are editing `shop/cart.py` at the same time. One is restyling the admin
pages its brief said to leave alone, and another has run the same failing command six times.
Claude Code's status line shows none of it.
Like a [TRACON](https://en.wikipedia.org/wiki/Terminal_radar_approach_control_facilities)
controller watching every aircraft on one scope, `tracon` shows every agent at once: what it
is doing, whether it is holding, whether it has drifted off its brief, and whether two of them
are on a collision course in the same file. Run it in a split next to your session.
- **Read-only and local.** It reads the transcripts Claude Code already writes to disk and
never writes to your repository. It sends something to a session only when you press `n`.
See [What it touches](https://github.com/phalladar/tracon#what-it-touches).
- **No setup.** No hooks, no config, no account. Start it in a split next to your session
and it finds that session.
- **Optional LLM judge.** A small model checks each busy agent against its brief, for about
a tenth of a cent a check, with a hard per-run budget. `--no-judge` turns it off.
> tracon is an independent project. It is not affiliated with, endorsed by or sponsored by
> Anthropic. "Claude" and "Claude Code" are trademarks of Anthropic.
## What it catches
### Every agent on one scope
Agents waiting on a permission prompt nobody can answer, agents that went quiet, hung test
runs, processes left behind, loops, edits to the wrong checkout or on a stale base, two agents
changing the same file, and (with the optional [judge](https://github.com/phalladar/tracon#the-judge-optional-on-by-default))
agents drifting from their brief. Red needs you now; amber is worth a look.
[tracon's terminal view: a table of agents with states BLOCKED, IDLE, RUNNING and WORKING, judge verdicts on track, drifting and stuck, and flags such as LOOP, COLLIDE and STALE-BASE; below it, the selected agent's feed of repeated connection-refused errors](https://raw.githubusercontent.com/phalladar/tracon/main/docs/screenshots/tui-overview.png)
### Why one is in trouble
`enter` opens an agent: what it is doing, the judge's concern and how the verdict changed,
every flag explained, the files it touched outside its brief, and a live tail of what it said,
in full. The tool calls between two messages fold into one line (`āø 23 tool calls Read 5 Ā· Edit 8 ā¦`); click it to open that run, or press `e` to open them all. The brief and the lead's
messages show three lines; click `āø N more lines` to read the rest.
[tracon's detail view of an agent the judge marks as drifting: it has edited admin files its brief says to leave alone](https://raw.githubusercontent.com/phalladar/tracon/main/docs/screenshots/tui-detail.png)
### Merge conflicts before the merge
`x` shows which agent edited which file. `!` marks a file two agents were editing at the same
time.
[tracon's files heatmap: rows of files, one column per agent, with two agents both editing shop/cart.py marked with an exclamation mark](https://raw.githubusercontent.com/phalladar/tracon/main/docs/screenshots/tui-files.png)
### Nudge the lead in one key
`n` nudges your orchestrating session about the selected agent: tracon drafts a note with
the agent's state, flags, the judge's concern and what to do, and sends it straight away (see
[Nudging the lead](https://github.com/phalladar/tracon#nudging-the-lead)).
### Replay the whole run
`t` is the timeline. `[` and `]` rewind and forward, `space` plays it back, and
`--at "07:20"` opens any past session as it stood at that time.
[tracon's terminal timeline: one row per agent, coloured by edits, shell calls and reads, with silent stretches dotted](https://raw.githubusercontent.com/phalladar/tracon/main/docs/screenshots/tui-timeline.png)
[Reading the screen](https://github.com/phalladar/tracon#reading-the-screen) lists every state and flag, what it means, and what
to do about it.
With `--notify`, a desktop notification fires when an agent needs you. The terminal title is
set to the watched session's name (`ā <name>`, mirroring Claude Code's `ā³ <name>`), so the
split reads as part of that session.
## Install
Requires Python 3.12+, on macOS or Linux.
```
uv tool install tracon # or: pipx install tracon
uv tool install 'tracon[api]' # optional: judge through the Anthropic API instead of `claude -p`
```
Or run it without installing: `uvx tracon`. From source:
```
git clone https://github.com/phalladar/tracon && cd tracon
uv tool install --editable .
```
## Use
```
cd your-project && tracon # the session in the next split, else the newest in this project (or anywhere)
tracon --demo # a made-up run, to look around
tracon web # browser view only
tracon --list # recent sessions that spawned subagents
tracon -s 4f2a # pick a session by id prefix
tracon --at "2026-10-11 07:20" # replay a session as it stood at that time
tracon --once # print one snapshot and exit
tracon --once --json # snapshot as JSON (for scripts and status bars)
```
A good layout: your orchestrating session on one side, `tracon` in a split next to it
(in Ghostty, `cmd+d`).
Without `--session`, tracon picks, in order:
1. the Claude Code session in a split of the same tab (Ghostty 1.3+ on macOS), matched by the
name Claude Code gives its terminal, even before it has started any subagents;
2. the newest session with subagents in this folder's project, or in the nearest parent folder
that has one;
3. the newest session with subagents anywhere.
It keeps checking: when the session in the next split changes, or a new session with subagents
takes the top spot, tracon switches to it. Picking a session with `s` stops that.
### Terminal keys
| Key | |
| --- | --- |
| `enter` | agent detail: state, judge verdict, flags, files, live processes, and what the agent said, with the lead's messages and its tool calls folded between them (`e` or a click unfolds them) |
| `e` | open or fold every run of tool calls and every long brief or lead message, in the pane under the table and in the detail (a click on `āø` does one) |
| `t` | timeline: every agent across the run, coloured by activity, with the lead's merges and messages |
| `x` | files heatmap: which agents edited which files, concurrent edits marked `!` |
| `w` | open the browser view |
| `j` | ask the judge about the selected agent now |
| `d` | dismiss the judge's drifting or stuck verdict on the selected agent (press again to restore) |
| `n` | nudge the lead about the selected agent: sends a note with its state, flags and what to do (live only) |
| `[` `]` / `{` `}` | rewind / forward 5 / 30 min (enters replay) Ā· `space` play Ā· `l` back to live |
| `o` / `c` | open the agent's worktree in a new terminal window (Ghostty if installed) / copy its path |
| `s` | sessions, last active first: pick one to watch (stops following the next split and new sessions) |
| `h` / `q` | hide finished agents / quit |
### Browser view
`w` in the terminal, or `tracon web`, serves a page on `127.0.0.1`:
[The tracon browser timeline replaying a run: seven subagents spawn and work, coloured by edits, shell calls and reads, with judge verdicts per agent and the lead's merges and messages along the top](https://raw.githubusercontent.com/phalladar/tracon/main/docs/screenshots/replay.gif)
- **Timeline**: zoom with the scroll wheel, drag to pan, double-click to fit. Hover any bar
for the calls it covers. Silent stretches past the idle threshold are drawn in orange.
- **Files**: heatmap of edits per file per agent, shared files first.
- **Replay scrubber**: drag through the run, or press ā¶ to play it back.
- Click an agent for its detail drawer and live activity feed.
## Reading the screen
Each agent row has a **state** (what it is doing now), a **JUDGE** column (the LLM's read of
whether it is on brief), and any number of **flags** (things worth a look). Press `enter` on a
row for the detail, which shows the judge's one-line concern and every flag's explanation.
You don't control agents from tracon; it is read-only. When something needs action, you act
in your orchestrating session: answer the prompt there, or ask the lead to message, stop or
re-dispatch the agent.
### Columns
| Column | Shows |
| --- | --- |
| **STATE** | What it is doing now (below) |
| **TASK** | The description the lead gave the agent; the pinned row is the lead itself |
| **MODEL** | The model it runs on |
| **JUDGE** | The judge's latest verdict (below) |
| **NOW** | Its current or latest action |
| **QUIET** | Time since its transcript last moved; red past the 5 min idle threshold |
| **RUN** | Time since it started |
| **CONTEXT** | Context size in tokens; amber above 300k, red above 450k |
| **EDITS** | Files it edited; `(nā)` counts those the brief never names |
| **COMMITS** | `git commit` calls it made |
| **MSGS** | Messages the lead sent it |
| **FLAGS** | Things worth a look (below) |
### Colours
| Colour | Browser label | Means |
| --- | --- | --- |
| red | Needs you | act now: the agent can't continue, or is doing damage |
| amber | Check | have a look when you can; often fine |
| green | Working | nothing to do |
| grey | Done / Note | finished, or history kept for context |
Once an agent has finished, its flags turn grey: they are history, not action. Only
**OUTSIDE** and **ORPHAN** stay loud, because what they describe outlives the agent.
### States
| State | Means | What to do |
| --- | --- | --- |
| **BLOCKED** | An instant call (Edit, Read, `git status`) has been open for 45 s, or a shell call with nothing running: it is waiting on a permission prompt | Answer the prompt if it is showing in your session. If nobody can see it, allow that tool in your permission settings, or have the lead stop and re-dispatch the agent |
| **IDLE** | No transcript activity for 5 min and nothing running | Check the last lines of its feed: it often hit an error or is waiting for input it will never get. Have the lead message it or stop it |
| **STALLED** | A process has run for 20 min with no file change or commit | Usually a hung test or a watcher that never exits. Check the process in the detail; kill it, or have the lead stop the agent |
| **ORPHANED** | Silent, but a detached process it started is still running after its parent died | Kill the process (pid in the detail) |
| **WAITING** | Its turn has ended (or it is quiet)