cd /news/ai-agents/plannotator-reviews-in-a-rex-split-v… Β· home β€Ί topics β€Ί ai-agents β€Ί article
[ARTICLE Β· art-183061] src=gist.github.com β†— pub= topic=ai-agents verified=true sentiment=↑ positive

Plannotator reviews in a Rex split via terminal-browser

A developer published plannotator-rex-browser, a roughly 30-line script that acts as a PLANNOTATOR_BROWSER target, opening Plannotator agent review pages in a Rex terminal split beside the agent pane instead of a system browser. The script uses the REX_BLOCK environment variable Rex sets in every pane to place the split next to the requesting agent, falling back to 'rex open' on remote hosts without terminal-browser and to the system browser outside Rex.

key takeaway

Setting PLANNOTATOR_BROWSER to a small wrapper script lets Plannotator reviews open in a Rex split beside the agent pane, using REX_BLOCK to target the requesting agent's block.

by read2 min views4 publishedDec 6, 2026

plannotator-rex-browser is a tiny PLANNOTATOR_BROWSER target that opens agent reviews in a Rex split right next to the agent.

Component Role
Plannotator (GitHub ) Review UI for agent plans, diffs and replies; sends the feedback back to the agent
Rex by Superlogical Terminal and multiplexer; hosts the agent and the review split
terminal-browser (GitHub ) by Zenbu Labs Chromium rendered inside a terminal pane
plannotator-rex-browser (this gist) Decides where the review page opens
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”                        β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ Agent                β”‚  1. /plannotator-last  β”‚ Plannotator plugin             β”‚
β”‚ e.g. Claude Code     │───────────────────────►│ + review server                β”‚
β”‚ in a Rex pane        │◄───────────────────────│ (localhost)                    β”‚
β”‚                      β”‚  5. feedback in chat   β”‚                                β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜                        β””β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”˜
                                                     β”‚ 2. runs               β–²
                                                     β”‚ $PLANNOTATOR_BROWSER  β”‚
                                                     β–Ό                       β”‚
                                                β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚
                                                β”‚ plannotator-rex-browser  β”‚ β”‚ 4.
                                                β”‚ (this gist)              β”‚ β”‚ Send
                                                β””β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚
                                                     β”‚ 3. rex split          β”‚
                                                     β”‚ -b $REX_BLOCK         β”‚
                                                     β–Ό                       β”‚
                                                β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”
                                                β”‚ terminal-browser               β”‚
                                                β”‚ split next to the agent        β”‚
                                                β”‚ you annotate, press Send       β”‚
                                                β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

The result in Rex:

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€ Rex window ───────────────┐
β”‚ agent pane         β”‚ terminal-browser    β”‚
β”‚ (e.g. Claude Code) β”‚ Plannotator review  β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Rex sets REX_BLOCK in every pane, so the split opens next to the agent that asked, and focus stays there. The page sends your feedback to the review server directly; Plannotator's auto-close after Send closes the page, and with it the split.

Where the page opens:

Where it runs What it does
In Rex, with terminal-browser installed Split to the right of the agent's pane
In Rex on a remote host, without terminal-browser rex open : the Rex app forwards the port and opens the review in your local default browser
Outside Rex System browser ( open on macOS,xdg-open on Linux)
mkdir -p ~/.local/bin
curl -fsSLo ~/.local/bin/plannotator-rex-browser https://gist.githubusercontent.com/iliferov/bd6e55a4ee3c48ad4ac0bd5f8e130f2f/raw/plannotator-rex-browser
chmod +x ~/.local/bin/plannotator-rex-browser

Read the script before you run it; it is about 30 lines.

Then set the variable once for every shell, so every agent picks it up:

export PLANNOTATOR_BROWSER="$HOME/.local/bin/plannotator-rex-browser"

Restart your agent from a new shell, then start a review, for example /plannotator-last in Claude Code.

── more in #ai-agents 4 stories Β· sorted by recency
── more on @plannotator 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/plannotator-reviews-…] indexed:0 read:2min 2026-12-06 Β· β€”