activeloopai/hivemind

Hivemind turns your traces into reusable skills across agents

What it solves

Hivemind provides a shared, cloud-backed memory system for AI coding agents. It prevents the "forgetting" problem where every agent session starts from scratch, and ensures that when one agent (or teammate) solves a complex problem, the solution is automatically available to all other agents on the team.

How it works

Hivemind operates through a cycle of capture, codification, and propagation:

  1. Capture: It intercepts prompts, tool calls, and responses from supported agents as structured traces stored in Deeplake.
  2. Codify: Background workers analyze these traces to identify repeated patterns and extract them into reusable SKILL.md files.
  3. Propagate: These codified skills and session summaries are made available to all connected agents via hybrid lexical and semantic search, allowing agents to recall prior work during inference.
  4. Virtual Filesystem: It uses a virtual filesystem backed by SQL to intercept file operations on ~/.deeplake/memory/.

Who it’s for

Developers and engineering teams using AI coding assistants such as Claude Code, Cursor, OpenClaw, Codex, Hermes, or pi who want to share knowledge and reduce token spend and session turns across their team.

Highlights

  • Cross-Agent Memory: Works across different AI assistants on the same team, allowing knowledge to propagate in real time.
  • Pattern Mining: Automatically turns successful agent interactions into codified skills (SKILL.md).
  • Cost Efficiency: Demonstrated reduction in costs (25%), token usage (1.7x fewer), and turns per question (31% fewer) on the LoCoMo benchmark.
  • Broad Integration: Supports a wide range of agents via plugins, hooks, and MCP servers (including an Alpha integration for Claude Cowork).
  • BYOC Storage: Allows users to keep their data in their own GCS, Azure, S3, or on-prem buckets.

Related

  • Project
  • Project
  • Project
  • Project
  • Dispatch