rex-agent-kit
Health Warn
- License — License: MIT
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Low visibility — Only 7 GitHub stars
Code Fail
- rm -rf — Recursive force deletion command in demo/start.sh
Permissions Pass
- Permissions — No dangerous permissions requested
No AI report is available for this listing yet.
Agent Wall and New Claude: small Rex tools for running many coding agents, one tab each, with each agent's status on the wall
rex-agent-kit
Small tools for running a lot of coding agents in Rex, one tab each.

- Agent Wall (
Cmd+Shift+A): every tab of the session you're looking at, tiled into one grid tab, so you can
watch all your agents work at once. Press it again and each one goes back to its own tab, named as before. Nothing
restarts: Rex moves the panes, and the programs in them keep running. Each pane's name says what its agent is
doing: ⏳ working, 🔵 waiting on you, ✅ done. The wall's tab counts who's waiting. - New Claude (
Cmd+Shift+C): a new tab with Claude Code started, in the session you're looking at, soCmd+1…9
switches between your agents.
Install
Needs Rex, bash and jq (macOS 15 and later ship jq in /usr/bin).
git clone https://github.com/theJiawen/rex-agent-kit ~/code/rex-agent-kit
ln -s ~/code/rex-agent-kit/lua ~/.config/rex/agent-kit
ln -s ~/code/rex-agent-kit/bin/rex-wall ~/.local/bin/rex-wall # optional: the wall from a shell too
Then add to ~/.config/rex/init.lua:
require("agent-kit.wall"){ key = "cmd+shift+a" }
require("agent-kit.new-claude"){ key = "cmd+shift+c" }
and run rex config check && rex config reload. Both also show in the command palette.
Install with your agent
Paste this to Claude Code, Codex or any agent with a shell:
Install https://github.com/theJiawen/rex-agent-kit for me
Steps for the agent
- Check that
rexandjqrun (rex version,jq --version). Without Rex, stop and say so. - Clone the repo to
~/code/rex-agent-kit, orgit pullif it's already there. - Link
lua/into Rex's config folder ($XDG_CONFIG_HOME/rex, else~/.config/rex) asagent-kit, and, if~/.local/binis onPATH,bin/rex-wallinto it. If either path exists and isn't this link, ask before
replacing it. - Run
rex keymap. Ifshift+cmd+aorshift+cmd+cis already bound, ask which key to use instead. - Add the two
requirelines above toinit.lua(create it if missing). Add only what isn't there, and leave the
rest of the file as it is. - Run
rex config check, thenrex config reload. On an error, show it and take your lines out again. - Confirm with
rex actions | grep -E 'agent_wall|new_claude', and tell the person their keys.
Using it from an agent
rex-walltoggles the wall for the session the agent runs in (REX_SESSION);-s SESSIONpicks another.rex-wall --dry-runshows the grid it would make without moving anything.rex do -s SESSION agent_walldoes the same through Rex, whenrex-wallisn't onPATH.
Agent Wall
The grid is rows of near-equal length, wider than tall: 4 tabs make 2×2, 6 make 2×3, 7 make 4 + 3. Each pane takes
its tab's name while it's on the wall. A tab that was already split comes back split side by side. An agent that
exits while on the wall is skipped on the way back. The tab names and order are kept in ~/.local/state/rex-wall/
while the wall is up.
Rex marks a tab when its program is working or waiting on you, but on the wall every agent shares one tab, so the
wall puts those marks on the panes instead:
| Label | The agent is |
|---|---|
| ⏳ auth-refactor · 40% | working (how far along, when the agent says) |
| 🔵 auth-refactor · permission · 2m | waiting on you: for a permission, a question or a login (auth), and how long it has |
| ✅ auth-refactor | done, and you haven't clicked into its pane yet |
| 🔴 auth-refactor | stopped with an error |
| auth-refactor | idle |
The wall's own tab says how many are waiting, such as 6 agents · 🔵 2 waiting, so you see it from any other tab.
It's what the agent itself tells Rex (Program Status),
which Claude Code does on its own; nothing reads the screen. A small rex do script keeps the labels current while the
wall is up and stops when it comes down. status = false in the require line (or rex-wall --no-status) keeps the
names plain.
To see it without your own agents, demo/try-wall.sh opens four stand-in agents on the wall (no Claude, no usage).
They work, stop to ask and finish, so every mark shows within a minute; Enter in the script closes it all.
From a shell:
rex-wall # toggle
rex-wall on | off
rex-wall -s SESSION # default: the session you're in, or the only one
rex-wall --dry-run # show the grid, change nothing
While the wall is up, Cmd+1…9 has one tab to switch to: click a pane, or zoom one. New tabs you open meanwhile
stay their own tabs.
New Claude
require("agent-kit.new-claude"){
key = "cmd+shift+c",
dir = "~/code/my-project", -- default: where the pane you pressed it in is
session = "work", -- used (or made) when no session is shown; default "claude"
command = "claude", -- typed into a login shell, so aliases work; "codex" works too
label = "claude", -- the new tab's name
}
Call it more than once with a different name (and title) for one key per project.
Record a demo
demo/start.sh opens a Rex session of 6 Claude Code agents, each on a real task in its own copy of a small store
project under /tmp/rex-demo (permission prompts off, on Sonnet), so a recording shows none of your own work. The
tasks go out 15 seconds after it starts, so you can start recording first. demo/start.sh --stand-ins uses
make-believe agents instead (no Claude), and demo/start.sh --stop closes it and puts the app back.
License
MIT
Reviews (0)
Sign in to leave a review.
Leave a reviewNo results found