Hivetty

Hivetty

Every workspace. Its own agent.

Turn folders and Git worktrees into workspaces, one CLI agent each. Terminals, diff review, agent status and notifications live in one native macOS window — and sessions survive after the GUI closes.

The current installer is for Apple silicon (arm64). Intel Macs do not have an installer yet; you can build from source.

Hivetty is a native macOS app. Windows and Linux do not have installers yet; the source and build notes are on GitHub.

This is a macOS desktop app. Open this page on an Apple silicon Mac to download it.

Native macOS · no ElectronAgents in parallelMIT open source

Hivetty workspace: sidebar, agent terminal and a test pane 点击放大
Hivetty workspace: sidebar, agent terminal and a test pane

001 / 006

One workspace, one line of work.

Each workspace binds to a local folder or its own Git worktree. The sidebar shows branch, dirty state, diff count, listening ports and agent status. ⌘P finds workspaces or commands; ⌘D / ⇧⌘D split recursively; ⌘T opens a tab.

Command palette: workspaces, folders, branches and commands 点击放大
Command palette: workspaces, folders, branches and commands

002 / 006

Isolate the work when you need to.

Press ⇧⌘N, pick a base branch, and Hivetty creates an isolated worktree and branch. A repo-level `.hivetty.json` can declare symlinks, copied files and async setup commands. Merge back into the base branch when done; archiving checks for uncommitted work first.

Next: review the diff →
Create a worktree from a base branch 点击放大
Create a worktree from a base branch

003 / 006

Review the diff beside the terminal.

Click the diff count in the sidebar or press ⇧⌘G to open the review drawer. Unified and side-by-side views, file-tree filtering, hunk navigation, an 18px minimap and full-file preview are all here. Write an inline comment and Send Back drops it straight into the agent's terminal.

UnifiedSide by sideMinimapSend Back

Diff drawer: file tree, hunks and Send Back 点击放大
Diff drawer: file tree, hunks and Send Back

004 / 006

Close the window. The session stays.

The `hivettyd` daemon owns every PTY, while a headless libghostty-vt keeps the real screen state on the server. When the GUI quits or restarts, Hivetty replays a full VT snapshot at the exact size and resumes the agent with its Session ID and `--resume` — no garbled screen, no lost output.

01

Quit the GUI

PTYs keep running under hivettyd.

02

Reopen the window

Sync the full VT screen snapshot at the exact size.

03

Resume the agent

Extract the session ID and continue with --resume.

claude --resume <session-id>

005 / 006

Agent status, at a glance.

Hivetty scans your machine for 17 CLI agents including Claude Code, Codex, Gemini CLI, OpenCode and Copilot CLI; pick one when creating a workspace. Hooks and OSC 7501 bring Working, blocked, done and unread notifications back to the sidebar; ⇧⌘U jumps to the next workspace that needs you.

Claude CodeCodexGemini CLIOpenCodeCopilot CLIKimi CodeQwen CodeAiderAmpGoose

See the CLI / MCP control plane →
Notification history and agent status in the sidebar 点击放大
Notification history and agent status in the sidebar

006 / 006

An agent can drive the terminal.

A `hivetty ls / split / run / capture / send / wait` control CLI and a JSON-RPC 2.0 stdio MCP server ship with the app. An agent can open a pane, run a command, read the output, wait on state changes and hand work to another agent.

hivetty CLIJSON-RPC 2.0Stdio MCP

01

Open a pane

Split the current workspace in the direction you choose.

hivetty split -dir horizontal -title tests

02

Run and wait

Run in the new pane and get the exit code and output.

hivetty run -wait -- go test ./...

03

Read back and hand off

Read the terminal tail, or hand the task to another agent over MCP.

hivetty capture --lines 80

Local first, with clear boundaries.

No account and no cloud sync. Workspaces, terminal output and diffs stay on your machine, and the daemon listens only on 127.0.0.1. Hooks and worktree setup are explicit choices.

A local daemon

hivettyd binds only to 127.0.0.1. PTYs, screen state and workspace data stay on your machine, with no cloud sync service.

Hooks are explicit

Claude Code / Codex hooks are installed from the menu or command palette, with the target path shown first. You can use Hivetty without installing them.

Predictable worktrees

Symlinks and copies never overwrite existing files and are path-checked. Archiving a dirty worktree warns first, and merging back into the base branch needs explicit confirmation.

Updates on your terms

The app is Developer ID signed and notarized by Apple, and verifies signatures before updating. Update checks contact GitHub; automatic downloads are opt-in, and checks can be disabled in Settings.

Read the full README Install, CLI, HTTP API and .hivetty.json

Put an agent in a cell.

The DMG is for Apple silicon Macs running macOS 13 or later. After installing, add the `hivetty` CLI from the app menu or ⌘P, then run Claude Code / Codex in any workspace.

Download, open, pick an agent

  1. Download the DMG and drag Hivetty into Applications.
  2. Launch Hivetty; the daemon connects or starts automatically and listens on 127.0.0.1.
  3. Press ⇧⌘N, choose a folder or worktree, pick an agent and open the terminal.
  4. For terminal commands, run “Install CLI command to PATH” from ⌘P.

v0.1.0 is Developer ID signed and notarized by Apple; signatures are verified before updates.

Run the GUI and daemon from source

  1. Install Go 1.27+ and the Xcode Command Line Tools.
  2. Run the go install commands below for the GUI, daemon and CLI.
  3. Run hivetty . in the repo; the GUI connects to or starts the local daemon.
go install github.com/echoVic/hivetty@latest go install github.com/echoVic/hivetty/cmd/hivettyd@latest go install github.com/echoVic/hivetty/cmd/hivettyctl@latest

Requires macOS 13+, Go 1.27+ and the Xcode Command Line Tools; source builds are not signed or notarized.

A few things before you start

Which platforms are supported?

The current installer is for macOS on Apple silicon (arm64), with macOS 13 or later. Windows and Linux do not have installers yet; the source can be built on macOS. Hivetty is free and open source under the MIT license.

Do I have to use Git worktrees?

No. A workspace can bind to any local folder. When you want isolation or parallel changes in the same repo, press ⇧⌘N to create a separate worktree. Each workspace keeps its own terminals, tabs and split layout.

Which agents are supported?

Hivetty scans for Claude Code, Codex, Gemini CLI, OpenCode, Copilot CLI, Pi, Kimi Code, Qwen Code, Aider, Amp, Grok Build, Antigravity CLI, Goose, Hermes Agent, OpenClaw, Cursor Agent and Cline CLI — 17 in total. Any CLI program that runs in a folder can also be registered as a custom agent.

What happens to sessions when I close the window?

They survive. PTYs are owned by hivettyd, and the GUI is just a client. Reopening the GUI replays the full VT screen state at the exact size and resumes the agent with `--resume` where supported; closing the window does not kill the terminal process.

Where does my data live? Do I need an account or internet?

No account and no cloud sync. Workspaces, terminal output and diffs stay on your machine, and the daemon listens only on 127.0.0.1. Day-to-day use works offline; update checks contact GitHub and can be disabled in Settings.

How is this different from tmux or a bunch of terminal windows?

Hivetty treats each folder or worktree as a first-class workspace, bringing native windows, sidebar status, diff review, agent notifications and merge flows into one interface. You can still run tmux or any shell command inside its terminals.

Is it open source?

MIT. Source, issues and releases are on GitHub; the current version is 0.1.0. The app does not automatically install agent skills or change agent settings; hooks are opt-in.

Give the next cell to an agent.

Open Hivetty on an Apple silicon Mac, press ⇧⌘N to create a workspace, pick a CLI agent and get back to the terminal.