SuperAPI AI Directory

hive

Hive orchestrates work of SOTA coding agents (Claude/Codex/Pi), so they run autonomously and asynchronously from idea to…

Open website

About this tool

Hive is an open-source multi-agent harness for letting a cluster of AI agents complete real business work. It is developed by aden-hive, licensed under the Apache License 2.0, and the code is hosted on GitHub.

Purpose

Hive is aimed at scenarios that require parallel processing of large numbers of similar units of work, such as leads, customers, tickets, code repositories, or documents. It is suitable for tasks that run for hours or on a schedule and must be able to survive restarts, as well as work that requires inspecting, querying, and auditing results rather than just reading them in a chat. For a single prompt or a one-off script, an ordinary agent is simpler.

Main capabilities

  • Queen agent (Queen): A long-lived agent with a role (such as head of growth), her own memory, and tools. She first completes the first piece of work herself to learn the method, then distributes it to workers.
  • Worker agents: Parallel executors cloned by the Queen, each with its own task, a narrower toolset, and a strict budget. By default, 4 run at the same time, and the rest queue.
  • Shared tracker (Tracker): SQLite-based shared state. The Queen defines the table schema and writable columns, workers upsert a row each time they complete a unit of work, and the Queen uses SQL to check progress. The file is located at ~/.hive/colonies/<name>/tracker/tracker.db.
  • Playbook: Applies a validated method to every row, supports retries, backoff, rate-limited channels, and a dead-letter list, and can resume from a checkpoint.
  • Memory: The Queen remembers the user across sessions, saved as markdown notes, with relevant historical conversations automatically recalled. Based on the LongMemEval benchmark.
  • Built-in tools: Shell commands and background tasks, file editing, fast code search, PDF, attachments and images, web scraping, charts (ECharts and Mermaid), CSV files, image generation via Hive LLM, all running within the Hive process.
  • Browser bridge: The Hive Browser Bridge extension lets agents work in the user's already logged-in Chrome, with each worker getting its own tab group.
  • Skills: Uses the open Agent Skills format, reusable instructions; the Queen writes new skills after the method is validated, and they can be managed in the skill library.
  • MCP servers: Added via hive mcp add, their tools join the same allowlist as built-in tools. The tools/ directory contains integration catalogs for GitHub, Gmail, HubSpot, Slack, Notion, and more.
  • Autonomous operation: The cluster can be woken by cron, intervals, or Webhook triggers. Sentinel can be enabled per cluster to remind the Queen to continue when she stops, or escalate to the user via the Hive inbox, Telegram, or Slack.
  • Crash recovery: Each agent saves its state to disk and resumes from where it stopped after a crash or restart. Large tool results spill to files, long sessions are automatically compacted, stuck or looping turns are caught, and each worker has a hard tool-call budget.
  • Model support: Supports any model supported by LiteLLM, including OpenAI, Anthropic, Gemini, OpenRouter, Hive LLM, any OpenAI-compatible endpoint, and local models via Ollama. Workers can use a different model from the Queen, and text-only models can view images via a vision fallback.

How to use

Requires Python 3.11+, Node.js 20+, and git. Quick start installs uv and ripgrep (if missing), and optionally installs Node. Model configuration supports: API keys for Anthropic, OpenAI, Google Gemini, Groq, Cerebras, or OpenRouter; a paid coding subscription (Claude Code, OpenAI Codex, Kimi Code, MiniMax, Z.AI, or Antigravity); or local models via Ollama (no key required). Quick start creates a single Python environment for the workspace, stores API keys encrypted under ~/.hive, asks which model to use, builds the dashboard, and in http://127.0.0.1:8787 Open. Afterwards, you can run hive open in the repository.

This repository is a uv workspace: running pip install -e . at the root installs a placeholder that cannot run, so please use Quick Start. If not using the repository, pip install "aden-hive[tools]" can install Hive from PyPI, and then run hive open. To build your own project on Hive's agent loop and models, depend on aden-hive.

Enter a task on the main screen and select the queen to hand it to, or open the Prompt Library to send ready-made prompts directly to the queen for whom they were written.

When to Use

  • Processes with many similar units of work (leads, customers, tickets, repositories, documents) that need to be done in parallel and in the same way each time.
  • Work that runs for hours or on a schedule and must survive restarts.
  • Scenarios where results need to be inspected, queried, and audited, not just read in chat.
  • Scenarios where humans still need to control key decisions.

Limitations

  • For a single prompt or one-off script, a regular agent is simpler.
  • Each worker has hard limits on turns and tool calls, and there is a cap on the number of workers running at the same time; every model call is metered, but there is not yet a dollar spending limit.
  • When the entire history can fit into the model context, reading the full history is still more accurate than Hive's memory; when it cannot fit (such as LongMemEval-M), memory is the only option.
  • Data is stored on the user's machine, in ~/.hive (or wherever HIVE_HOME points), and API keys are stored encrypted.

Other Information

Hive provides thirteen role queens, six of which work out of the box (Growth, RevOps, Content, Lead Generation, Outbound, Brand & Design), and the rest can be hired from the Org Chart or created yourself. Documentation includes an architecture overview, key concepts, tools, configuration and developer guides, memory benchmarks, roadmap, and more, with hosted documentation at docs.adenhq.com. The community provides channels such as Discord, X/Twitter, and LinkedIn. Contributions are welcome, especially tools, integrations, and skills; please read CONTRIBUTING.md first and be assigned an issue before opening a PR. For reporting security vulnerabilities, see SECURITY.md.