native macOS · libghostty

A simply good terminal. Full control API.

agterm organizes sessions into named workspaces. The bundled agtermctl drives all of it over a local socket: build layouts, type into any pane and read its text back, open overlays, dashboards, native pickers, and question dialogs. Running many AI coding agents at once is the obvious use, and far from the only one.

$ brew install --cask umputun/apps/agterm
or build from source →

Apple Silicon · macOS 14+ · signed & notarized · embeds Ghostty's engine

companions Claude Code working in a session whose companions are a test log, its copy and a docs page.

active
agent working
blocked
waiting on you
completed
done, clears when seen
idle
nothing to show
// features

A small structure, and a command for every part of it.

Workspaces and sessions are the whole model, and there is nothing to learn beyond them. Everything they hold is also an object the control API can create, move, inspect, and read back. Running several coding agents means many long-lived sessions, each progressing on its own. A tabbed terminal loses track of them quickly. agterm doesn't.

Workspace organization

A vertical, two-level sidebar groups sessions under named workspaces like "work" and "personal". Drag between them, split into two shells, and reach any session by name, recency, or keyboard.

Programmatic control

A bundled CLI, agtermctl, drives almost everything over a local socket: create sessions, type into them, run overlays, move windows, or post a notification tied to a specific session.

Agent status at a glance

Each agent reports its state onto its sidebar row as a tinted glyph — active, blocked, or completed — so a screen of concurrent agents shows which one needs you. Wiring is automatic for Claude Code, Codex, Pi, OpenCode, Antigravity CLI, and GitHub Copilot CLI.

A surface built for flow

Split a session, pin companions under it, drop a scratch terminal over it, or run a program in a floating overlay without disturbing the session beneath. Jump anywhere with a fuzzy palette; flip through recents with Ctrl-Tab.

Agents drive it too

An installable skill teaches Claude Code or Codex the control model and the full agtermctl command set, so an agent running inside agterm builds its own layout, runs overlays, and manages windows without you explaining the API.

A terminal first

With nothing scripted at all it handles everyday multi-project work: 512 bundled themes, a live-preview theme picker, and custom key mappings. Rebuild the layout with one of three restore modes: fresh shells, re-run captured commands, or primary and split processes kept alive across launches.

// sessions that survive

Close the app, keep the work.

A pane's process does not have to live inside agterm. Live sessions keep it running while the app restarts, the same sessions can be opened from another Mac, and a Linux host can run them for you.

live

Live sessions

Quit, update, or relaunch agterm while your primary and split panes keep running, an agent mid-turn included. The next launch reattaches to those processes with their text and TUI state. Choose it under Settings ▸ General ▸ Restore sessions; it takes effect after restarting agterm and needs zsh or fish as the macOS login shell or as the ghostty command. Restore modes

ssh

Remote sessions

Open a session running on another Mac as a row in this sidebar, split included, with agtermctl zmx attach HOST ID. Its status glyph, notifications, HUD and title-bar context follow it here, and its panes take this Mac's size. The other Mac runs agterm in Live sessions mode and is reached over key-based ssh. A Linux host can run your sessions too: under agterm-server every shell keeps running when the Mac sleeps, the network drops or the window closes, and a remote window on the Mac shows them with splits, companions, the scratch, overlays, asks, pages and agent status. Remote sessions · Remote server

// surfaces

One session, many surfaces.

A session is never just one shell. Split it, pin companions under it, drop a terminal over it, or float a program on top — every extra surface is always a keystroke away and stays alive when hidden, so nothing you started ever gets lost.

⌘D

Split panes

Two shells side by side or top and bottom in one session. Run the agent in one pane and watch logs in the other; the inactive pane dims toward the background so the focused one is always obvious.

⌘J

Scratch terminal

A per-session third shell that covers the session full-screen. Opens in its directory, always available, and just hidden — toggle it back and the same shell is waiting.

⌃`

Quick terminal

One scratch shell for the whole app, in a floating panel at 90% of whichever screen has focus. Give it a system-wide hotkey and it drops onto the Space you are on from any application, opening in the active session's directory — dismiss it with the same key or by clicking away.

⧉

Overlays

Run any program full-screen, in a centered floating panel, or over a single split pane, without disturbing the shell beneath. When it exits, the overlay vanishes and the session is exactly as you left it.

▦

Dashboard

Watch up to nine sessions' live output in one view-only grid, overlaid on the window. Arrow keys move a highlight, Enter jumps into a session, Esc closes. Driven from the control API with agtermctl dashboard.

↳

Companions

Pin a log tail, a watcher, a second shell or an HTML page under a session in the sidebar. Companions move, fold and close with it; Duplicate as Companion copies its split layout and reruns each pane's program. Remote sessions too.

⌥⌘N

Windows keep contexts apart

A window is a top-level bundle of workspaces and sessions, each in its own on-screen macOS window. Keep a library of them — "work" on one screen, "personal" on another — and open one per display. The set open at quit reopens next launch, frames restored.

work
▸ agterm  ·  radio-t  ·  go-pkgz
personal
▸ dotfiles  ·  notes  ·  scratch
companions Claude Code working in a session whose companions are a test log, its copy and a docs page.
/chat Claude Code and codex settle a question about agterm's code across one split session.
dashboard Six live sessions in one view-only grid: three agents, a test log, the history and the machine's load.
blocked An agent asks you mid-session: a question dialog with choices, its session marked blocked until you answer.
info Info lines, status glyphs in different shapes, tints, a companion with its own status and a top-level session.
--page A web page as a session of its own, its dev server running as the page's companion.
palette The command palette over a split session, filtered to the split actions.
overlay The yazi file manager in a floating panel over the active session, from one command line in keymap.conf. Extend agterm
⌃P Fuzzy session switcher: jump to any session by name or directory.
⌃⇧I The attention list: jump to any session that needs you.
background Backgrounds of your own: a text watermark behind one pane, a solid color behind the other.
tui A full-screen terminal UI, lazygit here, running inside a session.
keymap keymap.conf open in your editor as a floating overlay, from File ▸ Edit Keymap.
/chat Claude Code and agy reach a verdict together, the lower pane on a background of its own.
diff agterm's diff page over a multi-file commit, with its file list open.
--text Highlighted source at a marked line over one pane, a test log following its growing end over the other.
hud A HUD with a spinner naming the test run whose log fills the session beneath it.
hud A frameless HUD pinned to the top edge as an alert that stays until you close it.
pick The native picker listing the repo's release gates, the one that already passed marked done.
notify Programs that called notify, each session carrying its unseen badge.
compact Compact density: twenty sessions across five workspaces in one sidebar.
page A maintainer's own HTML page over its session, listing work that needs attention, each review a companion.
annotate A plan under review with the annotate-document recipe: one saved note and a second being written.
page A custom diff review page over a companion of the session that made the change.
nvim Plain terminal work: neovim beside a shell, lazygit and htop as companions, a docs server in a session of its own.
minimal The least chrome agterm draws: one pane, session names and pill statuses.
remote A remote window of a Linux agterm-server host, its sessions running on the server.
remote A session from a Linux host attached into a local workspace beside local sessions.

// not just for agents

A genuinely good terminal, first.

None of this is limited to agents. agterm is built on Ghostty's engine, the same fast, GPU-accelerated rendering and VT parsing, and handles everyday multi-project work with nothing scripted at all. The workspaces, palettes, and keyboard-first navigation help just as much whether you're running coding agents or juggling a dozen shells.

512 bundled themes

A live-preview picker applies each theme as you browse — Enter commits, Esc reverts.

Fully rebindable

Every action has a shortcut, and a kitty-flavored keymap.conf rebinds any of them.

Session persistence

Tree, names, directories, splits, and windows all restore on the next launch.

Splits, search & scratch

Two shells side by side or top and bottom, in-terminal find, and a scratch overlay on any session.

// agtermctl

Every ability, scriptable.

Almost everything you can do in agterm by hand, agtermctl can do over a local socket — no hidden UI-only actions. That turns the terminal into something you program around your own flow: a script or an agent builds and steers its own layout, and you extend the app's behavior without ever touching its source. What people have built on it lives in the cookbook: complete workflows, each a directory with a README and its scripts, written to be copied into your own setup and edited.

Sessions & workspaces

Create, rename, move, reorder, flag, focus, and step between them.

Input & selection

Type real keystrokes, run programs as the process, read a session's selection.

Overlays & splits

Open full or floating overlays, block on their exit status, split and scratch.

Windows & layout

List, open, rename, and target specific named windows and their trees.

Search, quick & theme

Drive in-terminal search, the quick terminal, font size, and the sidebar mode.

Status & notify

Set a session's agent status and post desktop notifications tied to it.

Capture output

Read back the visible content or scrollback of any session or pane — feed it straight to a script or agent.

Reload config live

Apply keymap.conf, hooks.conf and ghostty.conf changes on the fly — no restart needed.

build a layout from a script
# create a workspace and open a session in it
ws=$(agtermctl workspace new work)
agtermctl session new --workspace "$ws" --cwd ~/src/agterm

# inject a command into a session by id prefix
agtermctl session type --target 9f3c $'make test\n'

# run a diff review in a floating overlay, block for its status
agtermctl session overlay open "revdiff HEAD~3" --block

# flag this session for your attention when it finishes
agtermctl session status completed --auto-reset \
  --target "$AGTERM_SESSION_ID"

Bind any of it to a key or the action palette through keymap.conf — with the focused session's directory and selection passed in as tokens. Between the socket and custom commands, you shape the terminal around your workflow instead of adapting to the app's.

full agtermctl reference →
// install

Get agterm.

Homebrew
$ brew install --cask umputun/apps/agterm

The cask also installs the agtermctl CLI, so cask users shouldn't run the in-app installer too.

Direct download

Grab the latest .dmg from releases, open it, and drag agterm.app into /Applications.

releases page →
Build from source
$ scripts/setup.sh
$ scripts/run.sh

Requires macOS 14+, Xcode 26 with xcodegen, and Homebrew.

Signed and notarized for Apple Silicon (arm64) Macs on macOS 14+ — opens without any Gatekeeper workaround.

A terminal you can pick up and drive.

Open source. Native. Built on Ghostty's terminal engine.

View on GitHub ↗ Read the docs
agterm

Terminal for agentic flow. Embeds libghostty, the terminal engine from Ghostty (MIT).

Product Features Scripting Install
Docs Getting started agtermctl Keymap
Project GitHub Issues Discussions
agterm.com · terminal for agentic flowby Umputun