Connect your agents
One switch, then your agents can use Termary
Turn on Agent tools once and Claude Code and Codex can use Termary: open panes, drive the browser and the Simulator, and start or wait on other agents.
Termary MCP is an MCP server that ships inside the app, termary-mcp.
Claude Code and Codex start it like any MCP server, and through it they see your
panes, open a browser or the Simulator, and start, message and wait on other
agents. It talks only to the Termary on your Mac.
Connect it
- Open Settings → AI Agents and turn on Agent tools. It is off until you do.
- Termary registers its server with every agent CLI it finds, Claude Code and Codex, for all your projects. A CLI you don't have is skipped.
- Restart your agent sessions. Tools load when a session starts.
To register it yourself instead, this is what the switch runs:
claude mcp add --scope user termary -- /Applications/Termary.app/Contents/MacOS/termary-mcp
codex mcp add termary -- /Applications/Termary.app/Contents/MacOS/termary-mcp
Status hooks
The same switch installs the hooks that let each agent say what it's doing:
working, needs you, or done. Claude Code's go in ~/.claude/settings.json;
Codex gets its notify program in ~/.codex/config.toml and
hooks in ~/.codex/hooks.json. Other hooks you have are kept. If Codex's
one notify slot already belongs to another tool, Termary leaves it and says so.
Termary also puts its hooks back at launch if something removed them. See
Who needs you for what they light up.
What agents can do
- Panes — see every pane and tab, open terminals, editors, browsers, the Simulator or an app window, split, move, resize, float and close them, and wait for a command's output.
- Browser — click, type, read the console and network, take screenshots, read your notes. See Browser, Simulator & app windows.
- Simulator — boot, install, launch, tap, swipe, type and take screenshots.
- Agents — see what every agent is doing and which files two of them both claim, start workers, send them prompts and wait for them.
- Fan-out — race one task across several agents in their own worktrees, then merge the winner. See Fan-out runs.
- Schedules and tickets — run an agent every few minutes, daily or weekly, and share a work list agents claim and finish.
Every tool sits in an agent's context for the whole session, so the browser and Simulator tools stay folded until an agent first opens a browser or looks for a simulator. Then they load by themselves.
The termary command
The same binary is a command line, and every tool is a subcommand. Install it once,
with no sudo; it links termary into ~/.local/bin:
/Applications/Termary.app/Contents/MacOS/termary-mcp install-cli
termary tools— every tool, one line each.termary help <tool>— one tool's flags, such astermary help panes_open.termary panes_tree— run any tool, with its parameters as--flags.termary notify --state done --message "Build finished"— from a script running in a pane, set that pane's state. States are working, needs-input, done and idle.
Security
The bridge listens on 127.0.0.1 only, on a random port, and every call
needs a token Termary makes fresh at each launch. The port and token are in a file
only your user can read, which is how termary-mcp finds them. Your
network can reach the bridge only after you turn on phone access, and then only
phones you paired, each with its own token. See Remote
access.
Check that it works
- Under Agent tools, a green dot reads Running on 127.0.0.1 with its port. The Claude alerts and Codex alerts chips show a check when their hooks are in place.
- Re-run setup registers the server and the hooks again, and lists what it did.
claude mcp listshould listtermary. From a terminal,termary panes_treeshould print your panes.- Ask an agent something only Termary knows, such as which panes are open.
If an agent says the bridge isn't running, Agent tools is off or Termary isn't open. Turn it on, then restart the agent.
Not what you were after? Browse the manual or email us.