cd /news/ai-agents/show-hn-status-pane-steer-your-ai-ag… · home › topics › ai-agents › article
[ARTICLE · art-182568] src=github.com ↗ pub= topic=ai-agents verified=true sentiment=↑ positive

Show HN: Status Pane – steer your AI agent's plan in real-time via terminal pane

Developer Naorlov released Status Pane, an MIT-licensed tool that gives a Claude Code session a live Markdown plan file rendered in a terminal pane beside the agent, letting users type steering requests that are queued and picked up at the end of the current turn or immediately if the session is idle. A Stop hook, hooks/status-gate.py, blocks a turn from ending when the status file is stale after non-reading tool calls, when the inbox holds requests, when nothing will deliver later requests, or when steps contradict themselves. The tool requires Python 3.8 or newer, works in any terminal multiplexer such as tmux or Rex, and adapters for pi, opencode and Codex are listed as planned.

key takeaway

Status Pane's Stop hook blocks a Claude Code turn from ending when the status Markdown file wasn't rewritten after the turn's last non-reading tool call, so the agent's plan stays current.

read5 min views1 publishedDec 5, 2026
Show HN: Status Pane – steer your AI agent's plan in real-time via terminal pane
Image: Michielbdejong (auto-discovered)

A coding agent works for minutes at a time, and its plan lives only in a scrolling transcript. You can't see at a glance where it is, what it's waiting on you for, or what comes next, and steering it means interrupting.

status-pane gives an agent session a live plan you can see and talk to. The agent keeps a short Markdown file with the goal, what waits on you, and a checklist of steps. A terminal pane beside the session redraws it whenever it changes. Type a request into the pane and it is queued for the agent: picked up at the end of the current turn, or at once if the session is idle. A hook keeps the agent honest: a turn can't end while the plan is stale or contradicts itself.

<sub>The recording replays a scripted session; run vhs demo/demo.tape (vhs) to regenerate it.</sub>

Works today with Claude Code, in any terminal multiplexer (tmux, Rex, a second terminal window). Needs Python 3.8 or newer, so the python3 that ships with macOS is enough. MIT licensed.

curl -fsSL https://raw.githubusercontent.com/naorlov/status-pane/main/install.sh | sh

The script clones the repo to ~/.local/share/status-pane (set STATUS_PANE_DIR to change that), links the viewer and hook into ~/.claude, registers the hook in ~/.claude/settings.json, appends instructions.md to ~/.claude/CLAUDE.md, and installs the status-pane-inbox plugin. Running it again updates the clone and skips what's already in place.

Then ask the agent to "watch the status" and open the pane beside it, for example tmux split-window -h ~/.claude/bin/status-pane <session id>. With no session ID, the viewer follows the most recently updated status file.

In Rex, rex/claude-with-status.lua defines an action that starts Claude Code in the focused pane and opens its status pane to the right. If the pane already runs a session, for example after you closed its status pane, it only reopens the status pane. Load it in ~/.config/rex/init.lua, bind a key, and run rex config reload:

dofile(os.getenv("HOME") .. "/.local/share/status-pane/rex/claude-with-status.lua")

rex.bind("cmd+u", "claude_with_status")

<sub>A real Claude Code session in Rex, played at 3× speed.</sub>

The viewer and the file format don't depend on the agent. Each agent needs a small adapter for the end-of-turn check and for waking an idle session with a request.

Agent Status End-of-turn check Wakes an idle session
Claude Code works Stop hook status-pane-inbox plugin
pi next extension on agent_before_settle the extension sends the request as a message
opencode after pi no hook can stop a turn ending; the plugin re-prompts the agent on session.idle plugin on session.idle
Codex after opencode Stop hook no way yet
  • bin/status-pane <session id> is the viewer, written with Python's curses. It shows~/.claude/status/<session id>.md and folds finished steps into one line. It scrolls with the mouse wheel and PgUp/PgDn. A line you type is appended to<session id>.inbox , ↑/↓ bring back earlier lines, and a half-typed line survives closing the pane. The viewer takes the mouse to read the wheel, so hold Shift while dragging to select and copy text, as in most terminals.
  • hooks/status-gate.py is a Stop hook. Once a session has a status file, the hook blocks the end of a turn when:
    • the turn did more than read files and the status file wasn't rewritten after the turn's last non-reading tool call;
    • the inbox holds requests, which the hook then hands to the agent and removes from the inbox;
    • nothing will deliver later requests (neither the plugin nor status-pane-inbox-wait is running);
    • the steps contradict themselves: more than one top-level step is [>] , a step isn't[x] although all its substeps are, or a step is[x] while a substep is still[>] . The viewer marks such steps with a red! .
  • plugin/ is thestatus-pane-inbox plugin. It hands what you type in the pane to the session as a prompt the moment the session is idle.
  • bin/status-pane-inbox-wait <session id> does the same without the plugin: it exits as soon as the inbox has something in it, printing the requests. Run as a background command, its exit wakes the session.

tests/test_viewer.py runs the viewer inside tmux as an xterm-256color terminal, sends it keys, wheel turns, clicks and drags, and checks the screen. It needs tmux:

uv run --no-project --with pytest pytest tests
One line.

- A question or decision for you
  - An option, nested under it

- [x] Done
- [>] Current
  - [ ] A substep
- [ ] Planned

Checked on 5 December 2026 with Python as each system packages it. The viewer draws the status, the mouse wheel scrolls it, typing queues a request, and the hook blocks a contradictory plan.

System Version Python ncurses
macOS 27 (built-in python3 ) 3.9.6 6.0
macOS 27 (Homebrew) 3.15.2 6.0
Ubuntu 20.04, 22.04, 24.04, 26.04 3.8.10, 3.10.12, 3.12.3, 3.14.4 6.2, 6.3, 6.4, 6.6
Debian 12, 13 3.11.2, 3.13.5 6.4, 6.5
Fedora 41, 44 3.13.9, 3.14.10 6.5, 6.6
Rocky Linux 8 ( python39 package), 9 3.9.25, 3.9.25 6.1, 6.2
AlmaLinux 10 3.12.16 6.4
Alpine 3.20, 3.22 3.12.13, 3.12.16 6.4, 6.5
Arch Linux rolling 3.14.10 6.6

Not supported: Rocky Linux 8's default python3 (3.6). Not tested: Debian 11 (its packages moved to the archive) and openSUSE Leap 15.6 (installing Python there hung).

── more in #ai-agents 4 stories · sorted by recency
── more on @status pane 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-status-pane-…] indexed:0 read:5min 2026-12-05 · —