Hive for agent builders
Hive runs coding agents (Claude Code, Codex, Copilot CLI) as threads in your projects, on your computer and on other machines, and gives them tools to work with each other and with you. If you build agents, or agents that direct other agents, this is what Hive adds and where it's documented.
What an agent gets
- A place to run. Each thread is a real agent session in a project folder (often its own worktree), hosted by herdr-core so it outlives the window, on this computer or another machine in the pool.
- Tools. Hive serves an MCP server to every thread it runs. Through it a thread declares its tasks, asks you questions on the deck, shows finished work, opens previews, and (for a Lead) starts, queues, messages and reads other threads.
- A way to reach you. Agents reach you only through cards they put up themselves: an
askwith two to four answers, or apresent_proofwith what changed. You answer from the deck; the answer arrives as a message. - Events. Thread and task changes, CI, changes and anything a script posts go into one log per project. Hooks, queue conditions and automations act on them: an automation tells a thread or the Lead what passed a filter, so no agent polls.
- Extensions. New tools, views and cards come from extensions: a manifest and a program that speaks JSON-RPC. Only a person installs one.
Read next
- Events and automationHooks, queue conditions, the event bus, and automations.
- Threads, Leads and the queueWhat a thread is, how a Lead steers them, where they run, the limits.
- ExtensionsBuild personal software: the manifest, contributes, trust, events, download consent, hive.js, and a worked example.
Words used here
| Word | Means |
|---|---|
| Thread | One agent session working in a project |
| Lead | A project's own thread that steers its other threads |
| Task | A piece of work a thread declares with task_start and ends with task_done |
| Deck | Where cards from every thread wait for you |
| Node | Hive's small background process on each machine: it hosts threads, runs hooks and keeps the event log |
| Lane | A branch in its own worktree, made with lane. Many conditions wait on a lane merging |
| Pool | The machines that queued threads may be placed on |
This page's source is pages/index.md in hive/docs.