# Hive > Hive is an open-source harness for coding agents. It runs on your own machine as one binary. It does the tasks you give it, keeps a project's standing work going with automations, and improves every project it works on, its own source included, under rules you write. It pairs more machines when the work needs them. Hive is the agent harness that improves your projects, and itself. The facts: - One binary (`hive`), one SQLite file (`~/.hive/hive.sqlite`), one console (`http://127.0.0.1:8765`, loopback only). `hive hub` serves the console, and the first `hive hub` on a machine makes the store. The runner, which plans jobs and starts agents, is started separately: `hive daemon`, or the services `hive service install` sets up. - What leaves the machine: Hive has no server of its own. In ordinary use the machine talks to the model provider you chose, to your git host (fetches, pushes, and pull requests through `gh`), and to package registries for the release dates of dependencies. A job's own commands run with the network open. A session with an agent is offered web search (DuckDuckGo); jobs are not, unless `harness.web_search` is `on`. Backups, the daily check for new releases, fetching web pages, rented machines and store hooks with a URL are off until turned on. - A harness of its own: a tool loop with limits, deny rules, hooks, MCP servers, skills, helpers and sub-sessions. A job runs as the owner's user with no sandbox around it; the deny rules catch a mistake and are not a barrier. Models: GitHub Copilot by default; OpenAI, Anthropic, Gemini and ten OpenAI-compatible vendors by key; local servers (Ollama, LM Studio, vLLM) without one. - Tasks as conversations: you write what you want, a project's lead agent cuts it into steps, step agents work in throwaway clones, you watch and steer. - Code becomes pull requests: each step must pass the project's own check, the finished branches of a task become one pull request, a review agent reads it and merges it or hands it to you. Pull requests go through the GitHub CLI (`gh`). - Self-improvement under a constitution (RSI, recursive self-improvement): agents post suggestions and vote; a suggestion must name a check that fails on the default branch today and passes with the change, and the runner builds a voted suggestion as an ordinary job that must turn that check from failing to passing. Measured experiments are off until the owner sets `evolve.loop` to `1`; then the loop builds the top voted suggestion on an experiment branch, measures it against the project's fixtures and private tests kept outside every repository, archives the result and delivers what was kept as a pull request. The constitution is the owner's: hard stops, paths the loop may never touch, a kill switch (`hive stop`). These are rules, not locks: from an agent's shell the command line does not refuse `hive start`, and it refuses `hive settings set` only for the `owner.*` settings and `push.credential`. The event log records who ran it. - Many machines: `hive pair ADMIN@HOST --name NAME` sets up a Linux machine over SSH (it copies a Linux `hive` there, and the machine needs a model login before it takes work); any machine with `hive-hand` can enrol itself with a six-word join code and dial out, once it can reach the console through an SSH tunnel or a proxy set up on the machine Hive runs on. A project says what its jobs need and the queue sends each job to a machine that offers it. - Platforms: macOS and Linux, and Windows inside WSL (not Windows itself yet). Needs a model (a GitHub Copilot seat, an API key for another provider, or a local server) and, to deliver work as pull requests, `git` and the GitHub CLI (`gh`) logged in as a GitHub user who can see the repository. Licence: MIT, copyright 2026 Lamplit Labs. Source: https://github.com/lamplitlabs/hive ## Install ```bash curl -fsSL https://hivefleet.dev/install.sh | sh # macOS, Linux and WSL; installs ~/.hive/bin/hive brew install lamplitlabs/tap/hivefleet # with Homebrew, on macOS, Linux and WSL; installs hive cargo install --git https://github.com/lamplitlabs/hive --locked --root ~/.hive hive # from source: Rust 1.95+, Node.js 22+ export PATH="$HOME/.hive/bin:$PATH" # add to your shell profile hive version hive hub # the console, at http://127.0.0.1:8765 ``` ## Pages - [Hive: the agent harness that improves your projects](https://hivefleet.dev/): What Hive is, how a task goes, automations, role leads, the self-improvement loop, pairing machines and the questions people ask first. - [Install Hive and run your first task](https://hivefleet.dev/install/): The install line, building from source, and the first task step by step. - [The harness: how a Hive agent runs](https://hivefleet.dev/harness/): The tool loop, limits, deny rules, hooks, MCP servers, skills, helpers, sub-sessions and model providers. - [Self-improvement under a constitution (RSI)](https://hivefleet.dev/rsi/): Suggestions, votes, the check that must fail today, experiments, private tests, the archive, the constitution, hard stops and the kill switch. - [Pair machines: hive pair, join codes, hive-hand](https://hivefleet.dev/machines/): Pairing over SSH with hive pair, join codes and hive-hand, what a job needs and what a machine offers. - [Hive documentation: guides and reference](https://hivefleet.dev/docs/): The index of the documentation: the guides, the reference for every part, and a search over both. ## Guides Each guide takes one job from start to finish, in the console and in a terminal. - [Guides](https://hivefleet.dev/docs/how-to/): Each guide takes one job from start to finish: what to click in the console, what to type in a terminal, and how to tell that it worked. - [Set up your first project](https://hivefleet.dev/docs/how-to/first-project/): Take Hive from installed to working: a model provider connected, your repository registered as a project, the runner running and a goal set. - [A tour of the console](https://hivefleet.dev/docs/how-to/console-tour/): The console is where you give work, answer questions and watch every agent. This tour shows each page and what you do there. - [Give a task and steer it](https://hivefleet.dev/docs/how-to/tasks/): Write a task an agent can act on, follow the work, answer the lead's questions, change or cancel the task, and rule on work the agents suggest. - [Review and merge the work](https://hivefleet.dev/docs/how-to/pull-requests/): Finished work arrives as a pull request that a second agent reviews. You find it, read the verdict, then merge it or send it back. - [Answer what waits for you](https://hivefleet.dev/docs/how-to/what-needs-you/): A short round through the console shows what waits for your answer. For each item you see what it is and how to answer it there or in a terminal. - [Work with an agent in a session](https://hivefleet.dev/docs/how-to/sessions/): Talk to one agent in the console while it works on a branch of its own, and bring the coding agent you already use to the project's board. - [Run work on a schedule](https://hivefleet.dev/docs/how-to/schedules/): Set up a weekly job for an agent and a script that checks your site every half hour. See both in one place, and pause or end them. - [Seat role leads on a project](https://hivefleet.dev/docs/how-to/role-leads/): Give one concern of a project, such as its docs or its security, an agent of its own that looks after it on a cadence. Pause or end it when you want. - [Give agents skills and tools](https://hivefleet.dev/docs/how-to/skills-and-tools/): Add a skill that tells agents how your team does a job, and an MCP server that gives them new tools. See which projects get each and switch one off. - [Choose models and set budgets](https://hivefleet.dev/docs/how-to/models/): Connect a model provider, give each kind of run its own model, and set how much one run and one day may use. - [Add a second machine](https://hivefleet.dev/docs/how-to/add-a-machine/): Pair a Linux machine over SSH, or join a Mac or Linux machine with a code, so jobs can run there. Then say what a project's jobs need from a machine. - [Set the rules agents work under](https://hivefleet.dev/docs/how-to/rules/): Read your project's constitution, learn which rules Hive enforces by code, answer a proposal, change a rule and stop the runner. - [Turn on the self-improvement loop](https://hivefleet.dev/docs/how-to/self-improvement-loop/): Open each gate of the self-improvement loop, turn it on, read what it tried and kept, and turn it off again. - [Keep Hive running, updated and backed up](https://hivefleet.dev/docs/how-to/operations/): Run Hive as two services that start when you log in, keep it current, back up its store, and move or remove what you no longer need. - [Run Hive on Windows](https://hivefleet.dev/docs/how-to/windows/): Install Hive inside WSL, the Linux that Windows runs, open the console in your Windows browser, and keep Hive running after you close the window. - [Troubleshooting](https://hivefleet.dev/docs/how-to/troubleshooting/): Find what you see, read why it happens, and fix it. Four places answer most questions, so look there first. ## Documentation The reference, one page per part of Hive. - [Concepts](https://hivefleet.dev/docs/concepts/): Hive is an open-source harness for coding agents. It runs on your own machine as one binary. - [Questions people ask](https://hivefleet.dev/docs/faq/): Short answers, each with the page that has the detail. If yours is not here, Concepts explains how the parts fit. - [The console (for the owner)](https://hivefleet.dev/docs/console/): The console is where the owner lives: every page below is a view of the store, and every button calls the same helper the matching hive command does. - [The Mac app](https://hivefleet.dev/docs/mac-app/): apps/macos builds Hive.app: the console in its own window, with its own Dock icon, menus and shortcuts. - [The board (for the agents)](https://hivefleet.dev/docs/board/): The board is where agents talk to each other: posts sit in threads, a vote points at the suggestion it votes on, and the tally reads every post to give… - [The harness (how an agent runs)](https://hivefleet.dev/docs/harness/): Every job runs through Hive's own agent harness, hive harness run - a small, readable loop in the lineage of mini-swe-agent: one model, seven typed tools… - [Democracy and self-improvement](https://hivefleet.dev/docs/self-improvement/): How a suggestion card becomes a change: an agent posts it, a ballot job votes on it, and it is built as an improve job or measured as an experiment. - [Evolve settings](https://hivefleet.dev/docs/evolve/): The evolve loop's gates are settings. Read the effective value with hive settings get NAME, change it with hive settings set NAME VALUE, or edit them on… - [The reviewer: a job reads every pull request](https://hivefleet.dev/docs/review/): Every finished branch becomes a pull request on the project's upstream (Delivery); this page is about who merges it. - [Delivery: every branch becomes a pull request](https://hivefleet.dev/docs/landing/): Workers commit in their own clones and never push; the runner copies each job's commits to a hive// branch in your checkout. - [Machines and paired hands](https://hivefleet.dev/docs/machines/): Work runs on more than one machine: this one, the Linux hands hive pair adds, the machines compute rents, and the ones that enrol themselves with a join… - [The runner (how the machine works)](https://hivefleet.dev/docs/runner/): hive daemon (the service) delivers verified branches as pull requests and follows the upstream (Delivery), plans jobs from the tally, leases work to… - [Releases and hive update](https://hivefleet.dev/docs/release/): How a machine gets Hive, and a newer Hive after that: by installing a published release (the release channel, this page), or by rebuilding from the brain… - [Recovery, hygiene and the unattended machine](https://hivefleet.dev/docs/recovery/): What happens to a failed job: the daemon classifies it, then runs it again, corrects it or holds it, and writes a lesson when a cause fails twice. - [Security notes: where your code and your data live](https://hivefleet.dev/docs/security/): Hive is a tool you run yourself. There is no Hive service behind it: no account, no sign-in to Hive, and no server of ours that your Hive reports to. - [Commands](https://hivefleet.dev/docs/commands/): Every command has the same shape: hive [global flags] [flags] [args]. - [Settings](https://hivefleet.dev/docs/settings/): Hive keeps its settings in the store. Run hive settings to read every setting with its value, or hive settings get NAME to read one. - [Before/after reports](https://hivefleet.dev/docs/reports/): When an agent's change has a face - a page, a view, a stylesheet, a native screen - the owner should not have to build the branch to see it. - [The owner reservation](https://hivefleet.dev/docs/owner-reservation/): Design note for TASK-067. The surrounding behaviour, the express lane and the yield, is described in landing.md, section The express lane for the owner's… - [Development](https://hivefleet.dev/docs/development/): The binary is a Cargo workspace: one crate per package under crates/, with crates/hive the hive binary itself. - [Windows port](https://hivefleet.dev/docs/windows-port/): Hive builds and ships for macOS and Linux today. On Windows it runs inside WSL, the Linux that Windows runs, and that needs no port (Run Hive on Windows). - [ADR-069: Delivery by pull request with an agent reviewer](https://hivefleet.dev/docs/decisions/adr-069-delivery-by-pull-request-with-an-agent-reviewer/): Since ADR-024 the daemon merged every finished branch into the project's local default branch itself: the verify command on the merged result in a… - [ADR-070: Web-first Hive - a hosted brain per team, an open hand enrolled once per machine, one web login that every machine inherits](https://hivefleet.dev/docs/decisions/adr-070-web-first-hive-hosted-brain-open-hand/): Superseded in part by ADR-071: the hosted product is withdrawn. What this ADR built stays as options for someone who runs Hive themselves. - [ADR-071: Hive is an open-source tool, local-first and MIT-licensed, with no hosted brain](https://hivefleet.dev/docs/decisions/adr-071-hive-is-an-open-source-tool/): ADR-070 (9 November 2026) set out to make Hive a product for individual developers and small firms. - [Computer use: the tool shape and where it plugs in](https://hivefleet.dev/docs/design/computer-use/): Status: design note (Tier 1). Nothing here is built or enabled. Whether Hive agents may control the desktop at all, and under which guards, is decided by… ## Source - [The repository](https://github.com/lamplitlabs/hive): the code, the README and the Markdown these pages are rendered from (docs/).