Four agents, one window
Claude Code, Codex, Gemini and tmux are all just programs that run in a terminal. Once you stop letting a desktop app decide what a project is, you can run all four side by side — and then you need one command that tells you what the ninety-seven folders on your disk actually are.
Three separate agent lanes and one human workspace. The index names the work without mixing ownership.
Concept illustrationEvery vendor shipping a coding agent now also ships a place to put it. A pane in a desktop app. An extension in an editor. A cloud workspace with its own idea of what a project is. Each one invents an organizational layer on top of your actual directories, and each one asks you to learn it.
The layer is the problem. A project is a folder with a git history in it. The agent is a program you run inside that folder. Everything between those two facts is someone else's product decision, and you are under no obligation to adopt it.
They are all binaries
Claude Code, OpenAI's Codex and Google's Gemini command line interface (CLI) are three programs that read your files, run commands and edit code in whatever directory you launch them from. There is no project registry, no workspace to configure, no sync. You change directory, you type a word, the agent is in your repository.
brew install --cask claude-code
brew install --cask codex
brew install gemini-cliThese commands are listed by Homebrew for Claude Code, Codex, and Gemini CLI. As checked December 4, 2026, the Gemini formula is deprecated and scheduled for disabling on December 18; consult its replacement guidance before a new install.
If you already installed Codex through npm and it refuses to start with a missing optional dependency, check the installation error and platform package first. The Homebrew cask is an alternative installation route.
Then the whole interface is three words: claude, codex, gemini. Each honours a per-repository instructions file — CLAUDE.md, AGENTS.md and GEMINI.md — so the rules live next to the code rather than in a settings panel you cannot diff.
The window and the session are different problems
In the earlier tmux article, we argued that a three-hour agent run should not depend on a terminal tab staying open, and that the fix is to put every session in tmux. That remains true, and it solves durability: the agent survives the window, and one agent can drive another by session name.
What tmux does not do is make the thing in front of you pleasant to look at. You still need a terminal. For years the honest answer was that your terminal did not matter much, because all it did was draw text. Once you are watching three or four agents work at the same time, it starts to matter a great deal.
Otty is a terminal with split panes, GPU-accelerated rendering and workflows for the coding agents you already run. On macOS it uses Metal. That makes it a window worth trying when you want several sessions visible at once.
Its current site offers free downloads for macOS and Windows with no account required. Keep the distinction clear: a terminal restoring its layout does not prove that a running process survived a reboot. tmux keeps sessions alive when you detach or close a client window; a machine reboot still ends its processes. Otty is the window you look at, tmux is the session behind it.
A layout that holds four agents
One pane per agent, one tmux session per project, named for the repository. Claude Code on the build. Codex on an independent review of the same diff, which is only useful because it has not watched the build happen. Gemini on whatever needs a large context window read in one pass. A fourth pane with no agent at all, for you — git, logs, the thing you need to check without interrupting anyone.
The discipline that makes this work is not the layout. It is refusing to let two agents write to the same files at once. Give each a lane: separate repositories, separate Git worktrees, or builder and reviewer on the same branch where only one of them has write access.
Then the real problem shows up
Four agents across a portfolio of projects surfaces a failure that has nothing to do with agents. You cannot remember what you own.
A folder of ninety-seven projects is not navigable by listing it. ls gives you ninety-seven names, perhaps a third of which mean something to you today. The rest are a client you finished with in March, two folders that turn out to be the same repository under different names, and six that are empty.
So build the index. One command, no dependencies, that reads every folder and tells you what each one is:
CCC() { python3 "$HOME/Code/.ccc/ccc" "$@"; }Ours prints every project newest-commit-first with its stack, branch, an uncommitted marker, the age of the last commit, and a one-line summary. Filtering by a word switches to full detail with remotes. A flag narrows it to repositories with uncommitted work, or to the ones nothing has touched in sixty days. The scan is cached for fifteen minutes, so after the first run it returns instantly.
The whole thing is about 500 lines of Python with no dependencies. Ours is linked at the end of this piece — download it, read it, change the parts you disagree with. It is a starting point, not a product.
Installing it
Save the script, make it executable, and give it a name your fingers will actually reach for. Three capitals are easy to type and collide with nothing:
mkdir -p ~/Code/.ccc
mv ~/Downloads/ccc.py ~/Code/.ccc/ccc
chmod +x ~/Code/.ccc/ccc
cat >> ~/.zshrc <<'SH'
CCC() { python3 "$HOME/Code/.ccc/ccc" "$@"; }
SH
source ~/.zshrc && CCCIt reads the folder at ~/Code by default. Point it somewhere else with CCC_ROOT in your shell profile. Your hand-written summaries live in a tab-separated file beside the script, so an update to the script never touches them.
Where the summaries come from
Resolution order matters more than the code. A manual override file first, then the description field in package.json, then the first real prose line of the README, then CLAUDE.md or AGENTS.md.
Build this and you will discover what your repositories actually say about themselves, which is usually nothing. A dozen of ours opened with the stock text that create-next-app writes, verbatim, months after the project became something real. Others served up a rule from CLAUDE.md — never commit directly to main — as though that were a description of the product.
The fix is not a cleverer parser. It is being strict about what you accept: boilerplate phrases, lines that read as instructions, anything that starts mid-sentence. Reject all of it and print no description instead. A blank is honest and promptable; a wrong summary is worse than none, because you will believe it.
Then write the missing ones by hand, once, into a plain tab-separated file you can edit without touching the script. That file is the asset, not the tool.
Two things the index finds for free
Group the projects by their git remote and duplicates fall out immediately. We found three pairs — two folder names, one repository, both with local changes, neither obviously stale. That is a merge conflict waiting several months to happen, and it was invisible in a directory listing.
Count how many projects have no description and you have a number that tracks a real kind of debt. Ours was thirty-six out of ninety-seven on the first run.
Make it stay true
An index built from repository metadata decays exactly as fast as that metadata does, so put the requirement one level above the repositories. Claude Code reads instruction files from parent directories, which means a single file at the root of your code folder applies to every project under it:
# Portfolio-wide rules for ~/Code
## Every repo describes itself
1. package.json MUST carry a real description — one sentence, under 160
characters, saying what the thing is and who it is for. Not the stack.
2. README.md MUST open with that same sentence as its first line of prose,
before any heading, badge or install instruction. Never ship the stock
create-next-app README text.
3. Not a Node project: the sentence is the first prose line of README.md.Keep a file like this short and absolute. The moment it becomes a wishlist, agents start skipping it. One requirement, stated once, that every session on the machine inherits for free.
What this does not fix
This setup uses macOS and Homebrew. Otty also offers Windows downloads; Linux users need another terminal, and Windows users need a suitable Unix environment for tmux.
The index will mis-read a README eventually. Treat every generated summary as a draft and the override file as the record.
And four agents at once is a cost, not a superpower. Each one you add is another thing to review. The reason to run them side by side is that they are working on genuinely separate problems — not so you can watch four progress bars.
Separate the work. Keep the context. Leave yourself a seat.