Skip to content
burakilkPublic

About

🐝 Desktop command center for AI coding agents – run Claude Code, Codex & Gemini side by side, each in its own terminal and git worktree. Review, commit and merge in one place, with a Sims-style office, backlog, workflows, plan review and test guard.

Resources

Stars

4 stars

Watchers

0 watching

Forks

Repository files navigation

Hive logo

Hive

A desktop command center for AI coding agents. Run Claude Code, Codex, Gemini or any CLI agent side by side – each in its own real terminal and git worktree – and watch them work together in a little office.

macOS Β· Windows Β· Linux Β Β·Β  Electron + React + TypeScript Β Β·Β  MIT

Hive – the pixel-art office view

Why Hive?

Running several coding agents at once quickly turns into a mess of terminal tabs. Hive gives every agent a seat: you see at a glance who is working, who needs you, and what each one changed – then review, commit and merge without leaving the app. Hive runs the official CLIs you already use, locally. There is no proxy, no cloud relay and no extra account: your Claude / OpenAI subscription or API key stays with the CLI.

Highlights

🏒 Office view Agents sit at desks, type while working, raise a hand when they need you and walk to the review room when done.
🌳 Git worktree per agent Every agent gets its own branch & folder, so nobody overwrites anybody. Review, commit (✨ AI message) and merge in one place.
πŸ‘₯ Teams A lead agent hands out tasks to its team over MCP (send_task, wait_for_agents, report_to_lead…).
πŸ—‚ Backlog, schedules, workflows Kanban cards that hand work to agents, recurring prompts, and pipelines like PM plans β†’ Dev builds β†’ QA tests.
πŸ§ͺ Guard rails Plan review, a test guard that sends failures back, daily budget with auto-pause, overlap warnings between branches.
πŸ’¬ See inside the session Conversation view, live context-window meter, side questions that don't interrupt, fork a conversation.
⌨️ Built-in IDE Monaco editor with IntelliSense, JetBrains or VS Code keymap, auto save, markdown preview, "Open in IDE".
πŸ–₯ Dev servers + preview Detected from package.json, .csproj, Django, Compose – with a live preview at desktop / tablet / mobile width.
Conversation view
Conversation view – a Claude Code, Codex or Gemini session as a chat, with context meter and read-aloud
Review
Vibe review – notes per file, send back or approve (commit + merge)
Backlog
Backlog – cards hand work to agents as they move; auto-pick and tracker imports
Plan review
Plan review – comment, edit, reorder, add or remove steps before any code is written
Split view
Split view – several agents side by side, each with a message queue
Settings
Settings – Dark / Midnight / Light / System themes and accent colours

Download

Grab the latest installer from Releases – .dmg for macOS (Apple Silicon / Intel), -setup.exe for Windows, .AppImage for Linux.

macOS: Hive isn't notarized yet – after moving it to Applications run xattr -cr /Applications/Hive.app once (or right-click β†’ Open).

Build from source

Requirements: Node 20+, git, and at least one agent CLI on your PATH (claude, codex, gemini, aider…). The terminal module (node-pty) is compiled for Electron, so you also need a C++ toolchain:

  • macOS: xcode-select --install
  • Windows: Visual Studio Build Tools with Desktop development with C++
git clone https://github.com/burakilk/hive.git
cd hive
npm install          # also compiles node-pty for Electron

npm run dev          # run in development mode (hot reload)
npm run app          # macOS: build Hive.app and install it to /Applications

Log in to your CLIs once in a normal terminal (claude, codex login, …) – Hive uses their existing sessions. Then open Hive, Add a project folder, and create your first agent (⌘N).

Other build targets
npm run dist:mac     # .dmg in dist/
npm run dist:win     # Windows installer
npm run dist:linux   # AppImage
npm run typecheck    # TypeScript check for main + renderer

The app is not signed with an Apple developer certificate. npm run app signs it ad-hoc and clears the quarantine flag; for a downloaded build use right-click β†’ Open or xattr -cr /Applications/Hive.app.

Features

Agents & projects

  • Projects are folders on your disk – link more folders to a project when the work spans several repos (Settings β†’ Projects); create as many agents per project as you like (name, role, colour, CLI, first task).
  • Supported CLIs: Claude Code, Codex CLI, Gemini CLI, plain shell – add any other CLI in Settings β†’ Agents & CLIs (with a PATH check).
  • Git worktree isolation: each agent works in ../.hive-worktrees/<project>/<agent> on branch hive/<agent>.
  • Precise status for Claude Code via hooks (working / needs you / done); Codex reports turn ends through its notify hook, Codex and Gemini are also read from the screen ("esc to interrupt").
  • Sign in from Hive: Settings β†’ Agents & CLIs has a Sign in button per CLI that opens its login in a terminal and shows who is signed in.
  • Multiple accounts: add extra Claude Code / Codex accounts (each gets its own config folder); choose one per project or per agent.
    1. Settings β†’ Agents & CLIs β†’ Add another Claude Code account, then Sign in (log in with the second account in the browser).
    2. Pick it per agent (New agent / Edit β†’ Account) or as the project default (Workspace β†’ Automation β†’ Accounts for this project).
    3. Your CLAUDE.md, settings, agents, commands, skills and plugins are shared with every account (linked from ~/.claude); only the login differs.
    4. With Switch automatically on, an agent that hits its limit continues the same conversation on the next account.
  • Quota switch: when an account hits its usage limit, the conversation continues on the next account of that CLI – or is handed to another CLI.
  • Per-CLI defaults: model and reasoning effort for each CLI, overridable per agent; optional answer language for agents.
  • Clone from Git: project menu β†’ Clone from Git… lists your GitHub / GitLab repos (gh / glab) or takes any URL and adds the clone as a project.
  • Menu bar icon: Hive sits next to Wi-Fi and volume – how many agents need you, every agent with its status (click to open), pause all, quit.
  • Default account: pick which Claude / Codex account every agent uses (Settings β†’ Agents & CLIs); projects and agents can still override it.
  • Updates: Hive checks GitHub Releases and installs new versions itself (Install & restart); Settings β†’ About & data β†’ Updates.
  • Restore on launch: agents and dev servers that were running when you quit come back, with their conversations resumed.
  • Remote agents over SSH: run the CLI on a server (user@host + folder); hooks and Hive's MCP tools travel back through an SSH reverse tunnel.
  • Resume the last conversation, restart, interrupt, duplicate, pause after this turn – from the right-click menu anywhere.
  • Teams: set Reports to; Claude leads get MCP tools to delegate, wait for and read reports from their team.
  • Fork a Claude conversation into a new agent (own branch), change role mid-session (PM β†’ Dev β†’ QA) or ask a side question to a read-only copy without interrupting.
  • Prompt & role library with placeholders ({{agent}}, {{branch}}…); roles become Claude's appended system prompt.

Working with agents

  • Sidebar dock: live preview link, automations, new agent (also: continue a terminal session, paste a shared agent), tools and knowledge shortcuts with counters.
  • QA browser: agents open your dev server in a real Chromium, click, type, read console errors and take screenshots (right-click β†’ Show QA browser to watch).
  • Message box with prompt library, screenshots (βŒ˜β‡§2, paste or drop images) you can draw on (circle, arrow, box, pen), voice dictation 🎀 and a ✨ prompt enhancer.
  • Pick an element in the dev-server preview and send its selector, text, styles and HTML to an agent with your note.
  • Message queue: while an agent works, Enter queues messages (reorder, send now, remove); ⌘Enter sends immediately.
  • Conversation view and a context meter (ctx 62% Β· 124k/200k) for Claude Code, Codex and Gemini sessions.
  • Clickable questions: when Claude asks a multiple-choice question, the options appear as buttons (multi-select and your own answer work too).
  • Figma: the 🎨 button in the message box attaches a frame from a Figma link (image + frame name, size and texts; needs a FIGMA_TOKEN secret).
  • ⌘K command palette: agents, files, prompts, skills, cards, dev servers, views and actions.
  • Views: office room, terminal grid, split view (2–4 agents), full agent view with changes panel.

Review & ship

  • Changes panel: per-file diffs (unified / side by side), uncommitted or whole branch, discard per file, open in editor.
  • Vibe review: notes per file + overall feedback β†’ Send back to the agent, or Approve = commit + merge.
  • AI commit messages from the real diff (Conventional Commits, your own rules) using your Claude Code.
  • Plan review: start an agent in plan mode, then comment / edit / remove plan steps and approve or send back.
  • Overlap warnings when two agents change the same file on their branches.
  • Commit context: commits made in Hive carry the agent's conversation as a git note (git log --notes=hive, or the πŸ•˜ history in the Changes panel).

Automation

  • Backlog board (Todo / In progress / Done) with per-column prompts and read-only imports from GitHub Issues, Linear, Jira, Notion and Azure DevOps (tokens are kept as secrets).
  • Auto-pick: idle agents take the next Todo card themselves (only their assigned cards, or any card) and mark it done when their turn ends.
  • Advisor: Suggest agent on a card picks the best-fitting agent for the task (role, status) with a one-line reason.
  • Idea radar: paste raw feedback (reviews, support mails, Slack) – it's grouped into themes with counts and quotes; one click turns a theme into a card.
  • Webhooks: a local URL per trigger (POST /trigger/<id>?token=…) that starts or messages an agent – for CI, scripts or GitHub / Slack via a tunnel; optional HMAC signing (GitHub Secret) and event / text filters.
  • Schedules: once, hourly, daily, weekdays, weekly, monthly – typed into the running session or a fresh one; missed runs catch up when Hive opens.
  • Workflows: chain agents step by step; each step gets the previous agent's reply as {{previous}}. Templates included.
  • Test guard: after a turn that changed files, run the tests; failures go back to the agent (with a retry limit).
  • Daily budget per project: alerts at 50 % / 75 %, automatic pause at 100 %.
  • Pause project: every agent stops after its current turn – safe to close the lid; Resume continues the conversations.
  • Keep awake while agents work, auto-pause idle agents, process watchdog for leftovers of agent tool calls.

Knowledge & tools

  • Project memory shared by all Claude agents (they can add to it with remember).
  • Skills: reusable procedures agents fetch with get_skill (or you insert from ⌘K); export them as SKILL.md files for Claude Code (project or user), Codex or as Cursor rules, and import existing SKILL.md folders.
  • Shared MCP servers: define once, every Claude agent gets them.
  • Databases: PostgreSQL, MySQL, MongoDB – agents query with db_list / db_query, one statement per call, read-only by default (read-only transactions), credentials encrypted and never shown to the agent.
  • Secrets: API keys stored with the system keychain, given to agents as environment variables, masked (β€’β€’β€’β€’β€’β€’) in every terminal view; Claude agents see only the names (list_secrets).

Built-in tools

  • Code editor (Monaco): explorer with git colours, tabs, quick open, IntelliSense with auto-import, markdown preview, auto save, VS Code / JetBrains keymaps, Open in IDE (VS Code, Cursor, JetBrains IDEs, Zed…).
  • Mock APIs (Dev servers β†’ Mock APIs): local fake backends with routes (/users/:id), templated JSON answers ({{params.id}}, {{body.name}}, {{uuid}}), status, headers and delays, CORS included; fall back to the real API and record its answers; generate routes from a description with Claude or import an OpenAPI file; live request log. Agents add routes with mock_route and check calls with mock_logs.
  • Dev servers with detected commands and a live preview (device widths, auto-reload).
  • Share a dev server – or the webhook port – on a public HTTPS URL (Cloudflare quick tunnel via cloudflared, falls back to localtunnel).
  • Usage & cost: tokens and estimated cost per agent and per day from Claude Code, Codex and Gemini session logs.
  • Weekly report (Usage β†’ Weekly report): commits, lines, finished cards and cost per agent for 7 / 14 / 30 days – copy as Markdown.
  • Session replay (right-click β†’ Session replay): step through a session turn by turn and see which tool calls filled the context window.

Make it yours

  • Pixel-art office: agents walk between their desks, the lounge (sofa, coffee bar, arcade) and the review room depending on their status.
  • The office reacts: agents go for a coffee while their tests run, celebrate a merge with confetti, facepalm on red tests and show a πŸ’‘ when a plan is ready.
  • English or TΓΌrkΓ§e interface (Settings β†’ Appearance β†’ Language).
  • Themes (Dark, Midnight, Light, System), six accent colours, interface size, fonts, cursor, keymap, notifications – all in Settings (⌘,).

Keyboard shortcuts

Shortcut Action
⌘K Command palette
⌘N New agent
⌘, Settings
βŒ˜β‡§2 Screenshot β†’ attach to next message
⏎ / β‡§βŽ Send (or queue while busy) / new line
⌘⏎ Send right away, even while the agent is busy
⌘P / ⌘S Quick open / save (editor)

Privacy

Hive runs everything locally. Agents are your own CLI processes; their traffic goes to their providers exactly as in a normal terminal. Hive itself only talks to the network when you ask it to: importing GitHub issues, voice dictation with your OpenAI key (optional), and the AI helpers, which run through your own claude CLI. Costs shown in Hive are estimates at public API list prices – on a Pro / Max plan that is the API-equivalent value, not your bill.

Data lives in the app's data folder (~/Library/Application Support/Hive on macOS – Settings β†’ About & data β†’ Open).

How it works

src/
  shared/            types, prompt & role library, schedule maths, chat / process types
  main/              Electron main process
    index.ts         window, IPC, lifecycle, notifications
    agents.ts        one node-pty per agent, status machine, message queue, pause
    hooks.ts         local HTTP server for Claude Code hooks (status, transcript path, plans)
    team.ts          MCP server: team tools, project memory, skills, shared MCP config
    features.ts      backlog, schedules, fork / morph / ask, review, watchdog, media…
    automation.ts    test guard, budget, overlap warnings, workflows, plan review
    git.ts           worktrees, status, diffs, commit, merge
    usage.ts         token / cost report from Claude Code transcripts
    transcript.ts    transcript β†’ conversation + context usage
    servers.ts       dev servers   Β·   files.ts / ide.ts   editor & IDE integration
  preload/           window.api bridge
  renderer/          React UI (Zustand store, xterm.js terminals, Monaco editor)
  • Claude Code is started with --settings (hooks β†’ Hive's local server), --mcp-config (team / memory / skills / shared MCP) and --append-system-prompt (role instructions).
  • Commands run through your login shell ($SHELL -l -i -c), so PATH from .zshrc (nvm, Homebrew…) works even when Hive is launched from the Dock.
  • State is a single JSON file written atomically; UI preferences live in local storage.

Roadmap

  • Sketch on screenshots Β· pick elements in the preview Β· idea radar Β· webhook triggers Β· commit context
  • Weekly report Β· session replay Β· secrets manager Β· office animations
  • Database connections Β· SSH agents Β· localhost tunnel Β· Turkish UI
  • Codex / Gemini usage, conversation view and context meter Β· backlog auto-pick Β· CLI sign-in Β· Turkish hints
  • Figma frames Β· Linear / Jira / Notion / Azure DevOps import Β· clone from Git Β· SKILL.md export Β· restore on launch
  • Quota switch Β· per-CLI reasoning effort Β· advisor Β· clickable questions Β· multiple accounts

Later (to do)

Teams & delegation

  • Visual team editor (conditional branches, loops, max cycles)
  • Agent mail between agents Β· ticket scoping Β· delegation chains
  • Role gallery (16 more specialists) and sharing roles / agents as copy-paste text

Scheduling & triggers

  • Monthly schedules and catch-up of missed runs
  • Continue "when the quota resets"
  • Webhook signature verification and event / text filters

Sessions & workspace

  • Continue Claude Code / Codex sessions started in a terminal (project menu β†’ Continue a terminal session…)
  • Linked folders: several folders per project (--add-dir)
  • Non-code workspaces / non-developer mode

Prompts & voice

  • Read-aloud replies (πŸ”Š in the conversation view, optional auto-read)
  • Voice mode
  • Per-project prompt folders shared through git
  • Draft persistence (unsent messages survive switching agents and restarts)
  • Prompt chaining ({{prompt:Title}}, {{skill:name}})
  • Obsidian sync: project memory mirrored with a vault folder, both ways

Monitoring

  • Context canary: alerts at 80 % / 90 % context and when a turn stops moving
  • Status island Β· adaptive mode
  • Cache hit rate and unread indicators
  • Pause summaries (where everyone left off, on resume)

Review & QA

  • Per-agent diff on a shared branch Β· "Ask Claude" about a diff
  • Add and reorder plan steps during review
  • QA browser for agents (open, click, type, console, screenshots via Hive's MCP tools)
  • Chrome control (your own Chrome profiles)

Providers & infrastructure

  • More provider presets Β· proxy per CLI Β· tool sets
  • MCP servers for backlog, commands and prompts
  • Saved SSH servers, SSH tunnels, AWS SSM, Cloud SQL
  • CLI doctor (Settings β†’ CLI Doctor)

Usage & accounts

  • Usage alerts when an agent approaches its usage limit
  • Continue (and send the queue) when the usage window resets
  • Claude & Codex together: new agents alternate between the two
  • Multiple accounts for Grok and Cursor
  • Thinking level per card (think hard / ultrathink)
  • Reasoning effort per project

Review & insight

  • Per-task diff (filter changes by card, commit separately)
  • Reorder plan steps
  • Project statistics: prompts, active days, daily activity chart
  • Unread indicators per project and agent
  • Commit context as a private gist (besides the git note)

Tools

  • Shared MCP servers (and Hive's tools) for Codex agents
  • Shared MCP servers for Gemini
  • Saved per-project commands (run with one click or remotely)
  • Figma capture via a Chrome extension
  • Read aloud with AI summaries Β· review dictated text before sending
  • Personal assistant reachable from phone / voice assistants (needs a server)

Every project, every machine, one window (fleet, no server)

  • Each Hive exposes a token-protected endpoint (off by default, allow-list of peers)
  • Connect to other Hives directly over Tailscale / LAN or an SSH tunnel (ssh -L) – no relay server, traffic stays encrypted
  • "Machines" section in the sidebar: projects, agents and status per machine; offline machines greyed out
  • Step 1 – view: live status, agent list, watch a remote terminal
  • Step 2 – control: send messages, start / stop agents, answer questions and plans on remote machines

Needs testing on a real machine

  • Codex notify hook (turn end) and Codex / Gemini session discovery
  • Quota switch: limit detection, next account, hand-over to another CLI
  • Clickable questions: keystrokes for single / multi select and "Other"
  • Figma, Linear, Jira, Notion and Azure DevOps API imports
  • Sign in per account (CLAUDE_CONFIG_DIR / CODEX_HOME), macOS keychain logins
  • Restore on launch, plan approve keystroke, dictation, βŒ˜β‡§2 screenshots
  • SSH agents, tunnels and real database connections

Needs a server

  • Mobile app Β· remote fleet Β· cloud agents Β· machine pool Β· remote control
  • Migration between machines Β· public backlog portal Β· developer email inbox Β· push API

Contributing

Issues and pull requests are welcome. Please run npm run typecheck before opening a PR.

License

MIT Β© Fatih Burak Δ°lk

About

🐝 Desktop command center for AI coding agents – run Claude Code, Codex & Gemini side by side, each in its own terminal and git worktree. Review, commit and merge in one place, with a Sims-style office, backlog, workflows, plan review and test guard.

Resources

Stars

4 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages