Get going with Termary

A native macOS terminal with split panes, named projects, SSH, and an in-app browser your coding agent can drive, plus an iPhone app to watch and answer your agents from anywhere. Here's everything you need to start.

Install

Termary needs macOS 14 (Sonoma) or later. It runs natively on Apple Silicon and Intel.

Get it from the Download page: sign in once (free during the beta), open the .dmg and drag Termary to Applications. It updates itself.

The iPhone app needs iOS 17 or later. It's free and is on its way to the App Store.

Panes, tabs & projects

Termary's layout is one tree: Project → Pane → Tab. A tab is exactly one live shell. A pane is a slot in the split layout and has its own tab strip. A project is a named, colored container holding a whole split layout — keep an api project, an infra project, a scratch project.

The key idea: a shell lives in exactly one place, so when you split a pane, move it, or move it to another project, the process never restarts and never loses scrollback. Drag a tab to a pane's edge to split there; drag to its center to move it in.

Splitting & layouts

Splitting is the heart of Termary. Every split keeps the live process running — you're rearranging windows onto shells, not restarting them.

Split with the keyboard

⌘DSplit right. With several tabs in the pane, the active one moves into the new pane; with one, a new terminal opens there
⌘⇧DSplit down
⌘⇧WClose the pane and every tab in it

Split by dragging

  • Drag a tab to a pane's edge (top, bottom, left, right) to split there — the tab lands on that side.
  • Drag a tab to a pane's center to move it into that pane's tab strip instead.

Layout presets

Pick a ready-made arrangement from the layout button in the pane header: Single, Two Columns, Two Rows, Main + Two, a 2×2 Grid or a 2×4 Grid of eight. A single layout can mix terminals and browser panes side by side.

Broadcast input

Press ⌘⇧B to pick a set of tabs and type once into all of them — handy for running the same command across several SSH hosts at once.

Keyboard shortcuts

⌘TNew tab in the focused pane
⌘WClose tab (collapses the pane if it was the last)
⌘⇧WClose the pane and every tab in it
⌘DSplit right (the active tab moves over if the pane has others)
⌘⇧DSplit down
⌘1–9Switch to tab 1–9 in the focused pane
⌃⌥TabNext project (⌃⌥⇧Tab: previous)
⌘PCommand-history picker
⌘FFind in terminal
⌘⇧BBroadcast input to selected tabs
⌃↑Window overview grid

Double-click a tab title to rename it; double-click a project name to rename the project.

SSH & the vault

Add a saved SSH host from the sidebar's SAVED SSH section. Click a row to connect it into the focused pane; hover to edit or delete.

Saved hosts are stored in an encrypted vault, never in plaintext: a device-only key in the macOS Keychain seals the host list with AES-GCM. Only metadata is kept — host, user, port, key-file path. No passwords are collected and private keys never leave ~/.ssh.

Browser panes

A pane can hold a web page instead of a shell. It lives in the same split tree as any terminal — split it, move it, float it — so you can keep your dev server, its logs, and the running site all in one window.

Each browser pane is a real, inspectable browser, not a preview:

  • Network panel — a DevTools-style list of every fetch/XHR with request and response bodies.
  • Console capture — logs and errors, surfaced in the pane and available to your agent.
  • Device mode — render at a phone width with a mobile user-agent; zoom, or "Fit Pane" to resize the split to the device.
  • Web Inspector — Safari's inspector is enabled for deep debugging.
  • Activity — the page's real WebContent CPU/RAM shows in the Activity panel, and you can mute audio per pane.
  • Capture & annotate — screenshot the pane (markers and drawings included) or mark it up — see below.

AI agent bridge (MCP)

Run Claude Code or Codex in a terminal pane and let it observe and drive a browser pane in the same window — open pages, click, type, read the console and network, take screenshots, and rearrange panes. Termary ships a native MCP server inside the app.

You Claude Code / Codex terminal pane termary-mcp stdio JSON-RPC AgentBridgeServer loopback 127.0.0.1 · bearer token AppState · BrowserRegistry panes · session Browser pane WKWebView you ask JSON-RPC / stdio HTTP + Bearer dispatch drive results
Tools: browser_* · panes_* · session_* · agents_* (81). The agent never touches the app directly — every call hops through the bundled MCP server and the loopback bridge.
  1. Turn on Settings → AI Agents → Agent tools. It's off by default. Turning it on starts the bridge on loopback (127.0.0.1) behind a bearer token, registers Termary's MCP server with Claude Code and Codex, and installs their status hooks. Each step is skipped for a CLI you don't have, and Re-run setup repairs them.
  2. Start a new agent session in a pane and ask away — e.g. "open the login page and tell me what's in the console." The agent uses browser_*, panes_*, session_*, agents_* and sim_* tools (81 in all).

To register it by hand instead:

claude mcp add termary -- /Applications/Termary.app/Contents/MacOS/termary-mcp

The tools

The agent gets 81 tools. To keep every session's context small, the browser_* and sim_* families stay folded until the agent opens a browser pane or the simulator.

  • browser_* — drive a page (open, navigate, click, type, eval, wait, back/forward/reload), read it (snapshot, text, html, console, network, errors, screenshot, cookies), and shape it (viewport, zoom, annotate, annotations).
  • panes_* — arrange the window: tree, open, split, focus, move, swap, resize, float, close, layout (presets incl. 8-up), list_layouts. Placement is position-aware, so the agent reuses panes instead of piling up duplicates.
  • session_* — last and restore the workspace.
  • sim_* — boot, install, launch, tap, type, swipe and screenshot an app in the iOS Simulator pane.
  • agents_* — coordinate multiple agents across panes: agents (see what every agent is doing), report (publish your task), spawn (a controller opens a worker in a new pane — optionally in its own git worktree), send (message a worker by label), cue, and the fan-out set — fanout, run_status, merge (see below).

Closing the loop: when an agent changes UI, it drives the page and reads browser_errors / console / network, fixes, and re-checks until clean — verifiable work instead of guessing.

Multiple agents

Several agents can run in different panes and coordinate through the bridge via the agents_* tools: a controller can agents_spawn workers, watch them with agents, and agents_send follow-ups. To race several agents on the same task in isolated worktrees, use fan-out below.

The bridge is off until you flip the toggle, and agent tools only ever reach it over loopback with its token. It opens to your network only when you turn on Phone access, and then only for phones you paired, each with its own token.

The agent bridge, annotation and remote control from your phone are all free.

Multi-agent fan-out

Fan-out gives one prompt to a squad of agents — mix Claude Code and Codex — and isolates each in its own git worktree on its own branch, so they can't step on each other or on your checkout. Watch live diffstats as they race, review each attempt, and squash-merge the winner.

Start a run

  1. Click the fan-out button (🏁) in the toolbar — its badge counts open runs.
  2. Type the task, set how many of each CLI to race, and confirm the repo and base branch.
  3. Workers open in their own panes and start immediately. Each branches from the repo's fetched default branch — never from your possibly-dirty checkout.

Review & merge

  • Worker cards — live state dot plus a running diffstat against the shared base, uncommitted work included.
  • Per-file diffs — read each attempt in full before choosing.
  • Squash-merge the winner — confirmation-gated; it refuses a dirty checkout, an uncommitted winner, or an empty attempt instead of guessing.
  • Loser cleanup — worktrees removed, branches deleted with git branch -d; unmerged work is never force-deleted.

Scripting & the phone

The bundled binary doubles as a CLI — every tool above is a subcommand. Install it once (no sudo), then fan out from any script:

termary agents_fanout --task "add rate limiting to the API" --agents claude,claude,codex

First time: /Applications/Termary.app/Contents/MacOS/termary-mcp install-cli symlinks termary into ~/.local/bin. Then termary agents_run_status reports live state + diffstats, termary agents_merge merges the winner, and termary tools lists the whole catalog.

Runs are visible from the iPhone too — worker rows with live state, Watch (the live mirror), and a Controller-gated Merge. See the manual's Fan-out runs guide.

Annotating a page

Sometimes the fastest way to tell an agent what you mean is to point at it. Open the annotation toolbar on a browser pane and:

  • Pick a single element — drops a numbered marker and a comment popover with its selector and computed CSS.
  • Area select to mark a region of the page.
  • Draw with a pen, arrow, box, or text in your choice of color.

Hit Send and Termary packages the structured element data plus an annotated screenshot, and types a summary into the agent beside it: the only agent in the project, or the pane you click (Termary remembers it), then presses Return.

The iPhone app

Termary for iPhone shows every agent on the Macs you pair and lets you answer them from wherever you are. Your code stays on your Mac: the phone sees the terminal stream and sends your input, nothing more.

  • Sessions — every agent by project, with the one that needs you first. Working, waiting, done.
  • Answer — Allow, Always or Deny a permission prompt with a tap, type a reply, or say it. Nothing sends until you do.
  • Live terminal — open any terminal as it streams, with Esc, Ctrl and the arrow keys a terminal needs.
  • Review changes — the branch, the files and the full diff an agent made, before you tell it to commit.
  • Your Mac's screen — open a display or one app's window live, and click, type and scroll.
  • SSH to your servers — straight from the phone with no Mac in between, with SFTP, port forwards and tmux sessions that survive.
  • At a glance — a Home Screen widget, and a Live Activity on the Lock Screen and in the Dynamic Island.
  • Start and resume agents — a new Claude Code or Codex agent from the phone, or a past session picked up in its own folder.

Pair your Mac

  1. On the Mac, open Settings → Phone & Remote, turn on Phone access, and click Pair a Phone… A QR code and a six-digit code appear.
  2. On the phone, tap Pair a Mac and scan the code, or type the six digits.
  3. Your agents appear on the Sessions tab, and the Mac on Devices.

On the same Wi-Fi it works with nothing else to set up. Away from home, the phone reaches your Mac through a secure tunnel (Termary downloads Cloudflare's cloudflared once) or over Tailscale. Every request carries a token your Mac minted for that phone, and you can revoke any phone from the Mac.

For the "needs you" ping, turn on Agent tools too: its status hooks are how the phone knows an agent is waiting on you. The pairing guide and connection checklist go further.

Account, demo & price

You don't need an account. Tap Continue without an account and pair your Mac by its code, or connect to a server over SSH. Sign in, with Apple or your Termary account, when you want what needs one: notifications, the widget and Live Activities, your account's Macs from anywhere, and handing control between your devices.

Not near your Mac? Tap Try a demo on the Sessions screen (it's also in Settings → About). A sample Mac with agents opens, so you can find your way around before you pair.

It's free. Every feature of the iPhone app is free, on every plan, alerts included, and there is nothing to buy inside it.

More in the manual: Account & demo.

Find, history & ports

⌘F opens find-in-terminal to search the current scrollback. ⌘P opens the command-history picker — fuzzy-search the commands you've typed, scoped to this terminal or shared across all of them.

Termary watches for dev servers: when a process starts listening on a port it surfaces it (via lsof), so you can spot :3000 at a glance and open it straight into a browser pane.

Themes & appearance

Open Settings from the sidebar gear. Pick a terminal palette — Apple Default, Solarized, Dracula, and more — and a code-editor font. The whole app follows the theme, not just the terminal surface.

Appearance can track the system, or be pinned to light or dark independently.

Session restore

Quit and come back to the same workspace. On relaunch Termary restores every project, split, and tab. Local tabs reopen a fresh shell in their last working directory; SSH tabs return idle so a stale connection never silently re-runs ssh — a one-time prompt lets you reconnect them all or pick them off individually.

Where to next

Question not answered here? Email us or check the changelog.