HivePaaS
An open-source, self-hosted PaaS on Docker Swarm. Deploy apps, databases and functions from one VPS to a whole cluster, with SSL, backups and autoscaling built in.
Multi-Agent Harness for Production AI
Translation pending
Developer toolsPython · TypeScriptGitHub @aden-hiveSelf-installOwner unconfirmed
Paste into Claude or ChatGPT for installation instructions suited to your environment.
Have you tried it? One tap is enough. No sign-in needed.
The maker's introduction consists of the line above. Read the repository README for more details. Repository README ↗
Loading the full README.
Read the full README ↗A growth team preparing a Show HN wants to know how five developer tools' own launches did on Hacker News. Here's what Hive did with that one message:
None of this was wired up in advance. There's no workflow graph to draw: the queen shapes the colony as the work unfolds, and a tracker on disk, not a context window, keeps count of what's done and what's left.
You'll need Python 3.11+, Node.js 20+ and git. The quickstart installs uv and ripgrep if they're missing, and offers to install Node.
And a model. The quickstart sets up any of these:
git clone https://github.com/aden-hive/hive.git
cd hive
./quickstart.sh # macOS / Linux
.\quickstart.ps1 # Windows (PowerShell 5.1+)
The quickstart creates a single Python environment for the workspace, stores your API key encrypted under ~/.hive, asks which model to use, builds the dashboard and opens it at http://127.0.0.1:8787. Next time, run hive open from the repository.
[!NOTE] This repository is a
uvworkspace:pip install -e .at its root installs a placeholder that won't run, so use the quickstart. Without the repository,pip install "aden-hive[tools]"installs Hive from PyPI; then runhive open. To add an optional package (a chat-app channel, for example), see Optional packages. To build your own project on Hive's agent loop and models, depend onaden-hive: see Building on Hive.
Then type a task on the home screen and choose the queen to give it to, or open the Prompt Library and send a ready-made prompt straight to the queen it was written for.
flowchart LR
You(["You"]) -->|"describe the outcome"| Queen["Queen<br/>(persistent agent)"]
Queen -->|"proposes a colony,<br/>you approve"| Pilot["Pilot<br/>(one unit, done by the queen)"]
Pilot -->|"saves the method"| Skill["Skill + playbook"]
Skill -->|"run_worker / run_playbook"| W["Worker clones<br/>in parallel"]
W -->|"tracker_upsert"| T[("Tracker<br/>shared SQLite")]
T -->|"SQL: what's done,<br/>what's left"| Queen
Queen -->|"checked answer"| You
style Queen fill:#ffb100,stroke:#cc5d00,color:#333
style T fill:#fff3d6,stroke:#cc5d00,color:#333
style W fill:#ff9800,stroke:#cc5d00,color:#fff
Hive has one execution primitive: the agent loop. The queen is one, and every worker is a clone of it with its own task, a narrower set of tools and a strict budget. Orchestration is a tool call, not a compiled graph:
run_worker fans tasks out and returns at once, so the queen keeps talking to you while workers run. Four run at a time by default; the rest wait their turn. Each worker's report arrives in the queen's conversation as a new turn.~/.hive/colonies/<name>/tracker/tracker.db.run_playbook runs a proven method over every row, with retries and backoff, rate-limited lanes, and a dead-letter list for rows that keep failing. "What's left" is always a fresh query of the tracker, so re-running a playbook picks up where it stopped.The architecture overview goes deeper: the loop, the tool surface, memory, human oversight, and how state survives a crash.
Queens with a job and a memory. Hive ships thirteen persona queens. Six are active out of the box (Growth, RevOps, Content, Lead Generation, Outbound, and Brand & Design); hire the rest from the Org Chart, or create your own. Each one keeps notes in markdown memory as she works, and relevant past conversations are recalled into her context automatically.
A memory you can measure. A queen remembers you across sessions. She writes notes about you as she works, related past conversations are placed in front of her before each message, and she checks her memory before asking you for something you've already told her. We benchmark it on LongMemEval, run end to end through Hive and graded by the official judge, with gpt-6.1-sol answering:
| LongMemEval-S | LongMemEval-M | |
|---|---|---|
| History per question | ~115k tokens | ~1.1M tokens |
| Hive | 88.4% | 82.0% |
| The same model reading the whole history | 96.8% | doesn't fit |
When a whole history fits in the model's context, reading all of it is still more accurate than Hive's memory. When it doesn't, as on LongMemEval-M, memory is the only option. The benchmark page has the methodology, per-type results, a comparison with other memory systems, and the limitations.
Built-in tools that run in-process. Shell commands and background jobs, file editing, fast code search, PDFs, attachments and images, web scraping, charts (ECharts and Mermaid), CSV files, and image generation through Hive LLM. They run inside Hive itself, with no tool servers to start.
Your browser, driven by your agents. The Hive Browser Bridge extension lets agents work in your own Chrome, where you're already logged in. Each worker gets its own tab group.
Skills. Reusable instructions in the open Agent Skills format. Hive ships with a set, queens write new ones once a method proves out, and you manage them all in the Skills Library.
Any MCP server. Add one with hive mcp add, and its tools join the same allowlists as the built-ins. The full integration catalog in tools/ (GitHub, Gmail, HubSpot, Slack, Notion and many more) runs as one; see docs/tools.md.
Runs while you're away. Colonies can wake themselves on cron, interval or webhook triggers. Sentinel, opt-in per colony, watches a queen whenever she stops: it nudges her on, or escalates to you through the Hive inbox, Telegram or Slack, and she picks up as soon as you reply.
Built to survive. Every agent saves its state to disk and resumes exactly where it stopped after a crash or restart. Large tool results spill to files instead of flooding the context, long sessions compact themselves, stuck or looping turns get caught, and every worker runs under a hard tool-call budget.
Any model. Anything LiteLLM supports, including OpenAI, Anthropic, Gemini, OpenRouter, Hive LLM, any OpenAI-compatible endpoint and local models through Ollama. Workers can run on a different model than their queen, and text-only models still see images through a vision fallback.
Hive earns its keep once the model is no longer the hard part, and everything around it is:
For a single prompt or a one-off script, a plain agent is simpler.
Which models does Hive support? Any provider LiteLLM supports, plus any OpenAI-compatible endpoint. The quickstart sets up the common ones, including coding subscriptions such as Claude Code and OpenAI Codex; docs/configuration.md covers the rest.
Can I run it with local models?
Yes. Choose Ollama in the quickstart, or set a model such as ollama/llama3 with Ollama running locally.
How is this different from other agent frameworks? Most frameworks ask you to design a graph of agents and wire up their inputs and outputs. Hive has one kind of agent: the queen is an agent loop, and every worker is a clone of it. Orchestration happens at runtime through tool calls, and agents coordinate through a shared SQL tracker instead of passing messages along edges. Persistence, resume, budgets, compaction and oversight live in that one loop, so every agent gets them.
Where does my data live?
On your machine. Sessions, colonies, trackers and memory are plain files under ~/.hive (or wherever HIVE_HOME points), and API keys are stored there encrypted.
How do I keep costs under control? Every worker runs under hard limits on turns and tool calls, so a stuck worker stops by itself, and the number of workers running at once is capped. Every model call is metered. There are no spending limits in dollars yet.
Can agents use my own tools and APIs? Yes: through the built-in shell and browser, through any MCP server you add, and through skills that teach them your procedures.
Is Hive open source? Yes, under the Apache License 2.0.
Contributions are welcome, especially tools, integrations and skills (#2805). Read CONTRIBUTING.md first, and get assigned to an issue before you open a pull request: comment on the issue and a maintainer will assign you. Issues with reproduction steps or a concrete proposal get priority.
We're hiring in engineering, research and go-to-market. See open positions.
To report a vulnerability, see SECURITY.md.
Apache License 2.0. See LICENSE.