An agent-first terminal for macOS, built on Ghostty.
Every tab in a sidebar, optionally grouped, with the state of each Claude Code and Codex session at a glance.
tarn is an unofficial fork of Ghostty and is not affiliated with the Ghostty project; see NOTICE.md.
Ghostty keeps rendering, input, splits and config. tarn adds:
- Sidebar. A vertical tab list in place of the tab bar. Tabs stay ungrouped or sit in groups you
name (a group may be tied to a project folder); a tab running
claude,codexoropencodeshows the agent's icon. - File viewer. A click on a path in the terminal opens the file in a pane beside it: markdown rendered, mermaid diagrams, highlighted code, an editor with save, live reload when an agent rewrites the file. A file it cannot show (an image, a pdf, an archive) opens in its default app.
- Window layout. Drag a terminal or a viewer to a zone: under another pane, beside it, or at the window edge.
- Agent status and card. Claude Code and Codex state shows as a colored dot: working, needs permission, asks a question, done, error. Hover a row: the card shows the request and answers it with one click (Allow, Deny, or a numbered option).
Local only: no account, cloud, telemetry or built-in AI model.
Taken from the browser demo of the tarn window (dark theme).
| Sidebar | File viewer |
|---|---|
![]() |
![]() |
| Window layout | Agent status and card |
![]() |
![]() |
demo/ is a static page that shows the tarn window in a browser: a real terminal emulator per pane,
a simulated shell and a scripted claude session. It is a preview of the interface, not the app;
it also has tarn new, a command of the second wave, marked as planned. Nothing is published or
hosted. Run it locally:
python3 -m http.server 8000 --directory demoOpen http://localhost:8000 in current Chrome or Edge. Details, tests and the list of built and planned parts: demo/README.md.
tarn-v1.4.0. What works:
- a vertical sidebar with optional groups; a tab running
claude,codexoropencodeshows the agent's icon, and Claude Code and Codex state shows as a colored dot with a card that answers a permission request or a question with one click; - a file viewer next to the terminal: markdown with mermaid, source view, editing, a files tree; a path click opens what the viewer cannot show in the default app;
- a settings window with Ghostty options, a Help page of keys and switches for each module;
- one notification per need of an agent, and cmd+U to jump to the session that waits for you;
- the
tarncommand for agents:tarn open,ls,notify,newandrun(a split or a tab beside the agent),wait,read,close,skill,module ls; - its own app,
Tarn.app, next to Ghostty.
Next: see docs/roadmap.md.
curl -fsSL https://raw.githubusercontent.com/daniil4545/tarn/main/install.sh | shThe script downloads the latest release, checks its checksum and puts Tarn.app into
/Applications. The build is ad-hoc signed, not notarized; installing by hand needs one xattr
command, see the guide. Tarn installs next to Ghostty and reads the same config. Full steps, the Claude Code plugin, zsh
setup and upgrades: docs/install.md.
Requirements: macOS, Xcode and Zig as listed in HACKING.md, Nushell for the build script, Claude Code for agent state.
zig build run is not used on macOS (it looks for Ghostty.app).
- Build the app:
macos/build.nu --configuration Debug --action build - Open
macos/build/Debug/Tarn.app. - Add the plugin:
claude plugin marketplace add <path to this repo>/plugin, thenclaude plugin install tarn@tarn. - Start
claudein a tab of the app: its dot turns blue while it works.
Tests: macos/build.nu --action test; hook contract: python3 -I plugin/test/hook_test.py.
Checks: make lint.
| Question | Where |
|---|---|
| how to install, upgrade, add the plugin and set up zsh | docs/install.md |
| what tarn is for and why it is built this way | docs/spec.md |
| how windows, groups, sidebar and layout behave | docs/spec/workspaces.md |
| how the viewer pane behaves | docs/spec/viewer.md |
| agent commands, sessions, modules and settings | docs/spec/: agent-cli.md, sessions.md, modules.md |
| how it is built and where things live | docs/architecture.md |
| how fast it runs against upstream Ghostty | docs/bench.md |
| what is planned | docs/roadmap.md |
| what the browser demo shows, how to run and test it | demo/README.md |
| what changed in each release | CHANGELOG.md |
| ported code and its licenses | THIRD_PARTY.md |
| the Ghostty trademark notice | NOTICE.md |
| building and hacking on the Ghostty base | HACKING.md |
MIT, as Ghostty: LICENSE.



