What is Hivemind?
Hivemind is Activeloop's shared memory layer for coding agents. It sits in the Agent Memory category of the Agents & Automation tools and is open-source, written in TypeScript and licensed Apache-2.0. To get started: install for every detected assistant.
Overview
Hivemind is Activeloop's shared memory layer for coding agents. It hooks into Claude Code, OpenClaw, Codex, Cursor, Hermes Agent, pi and (in alpha) Claude Cowork, and captures every session's prompts, tool calls and responses as structured traces stored in Deeplake, Activeloop's database. Because the traces live in a shared workspace rather than on one laptop, what one engineer's agent works out becomes searchable recall for every other agent on the team, across sessions, machines and assistants.
Memory is only half of it. The project describes its loop as capture, codify, propagate: a background worker fires at the end of a session, mines recent traces in scope, asks a model whether the activity contains something worth keeping, and writes it out as a reusable `SKILL.md` under the project's `.claude/skills/` folder. Teammates can pull those skills locally with `hivemind skillify pull`. Alongside skills, Hivemind writes an AI-generated wiki summary of each session, shares team rules that are injected at session start, and tracks goals through a virtual filesystem mounted at `~/.deeplake/memory/`, where file operations are intercepted and backed by SQL.
Hivemind also builds a live graph of the codebase from the same traces — files, symbols, imports and the edges agents actually traverse — so recall can walk the graph rather than match plain text, and it can generate per-file and per-subsystem documentation from that graph and keep it fresh on each commit. Summaries and docs are written by shelling out to the host agent's own CLI (`claude -p`, `codex exec` and so on), so no separate API key is needed. Search is lexical by default; an optional local embedding daemon (nomic-embed-text-v1.5, about 600 MB) adds hybrid semantic retrieval. The data is readable by everyone in the Deeplake workspace by design, with per-directory opt-outs and a bring-your-own-cloud option for GCS and Azure storage.

What it does
- Auto-capture of prompts, tool calls, responses and subagent activity from seven coding assistants into a shared Deeplake workspace
- Skillify: a background worker that mines recurring patterns from recent sessions into `SKILL.md` files teammates can pull
- Recall through natural-language search over traces, summaries and skills, with optional hybrid lexical + semantic retrieval
- A codebase graph built from real agent traversals, plus generated per-file and wiki docs kept in sync on each commit
- Team rules injected at session start and goals tracked as files in the `~/.deeplake/memory/` virtual filesystem
- Per-directory `.hivemind` files that route a repo to another org or workspace, or switch capture off entirely
Getting started
The installer detects every supported assistant on the machine, wires up its hooks, and opens a browser to sign in to Deeplake. The npm route needs Node 22 or newer. Restart your assistants after installing.
Install for every detected assistant
On macOS or Linux run the install script. On Windows use `irm https://deeplake.ai/hivemind.ps1 | iex` in PowerShell, or install from npm on any platform.
curl -fsSL https://deeplake.ai/hivemind.sh | sh
# or, via npm
npm i -g @deeplake/hivemind && hivemind installInstall headless or for one assistant only
In CI, pass an API token from your deeplake.ai account settings instead of the browser flow. Each assistant also has its own install subcommand.
HIVEMIND_TOKEN=<your-token> hivemind install
hivemind install --only claude
hivemind codex install
hivemind cursor installCheck what is wired up
hivemind statusMine and share skills
Skill mining runs automatically at the end of sessions; these commands show its state, set who counts as in scope, and install teammates' skills locally.
hivemind skillify
hivemind skillify scope team
hivemind skillify pullAdd team rules and turn on semantic search
Rules are injected at the start of every Claude Code, Cursor and Hermes session. Embeddings are off by default because of their download size; without them search falls back to lexical matching.
hivemind rules add "no DROP TABLE on prod creds"
hivemind embeddings installCommands and code are distilled from the project's own documentation — always check the official repo for the latest.
When to use it
- Let a whole engineering team's agents reuse a migration or debugging pattern one person's agent worked out, instead of re-deriving it every session
- Give Claude Code, Codex and Cursor users on the same team one searchable history of what has been tried and decided
- Turn recurring agent workflows into reviewed, shareable `SKILL.md` files without writing them by hand
- Keep agent-readable docs and a code graph for a repository current as commits land
How Hivemind compares
Hivemind alongside other open-source agent memory tools AI/TLDR tracks, ranked by GitHub stars.
| Tool | Stars | What it does |
|---|---|---|
| Claude-Mem | ★ 121k | Persistent memory layer for coding agents: it captures what an agent does during a session, compresses it into semantic summaries, and injects the relevant parts back into later sessions. |
| Mem0 | ★ 69.7k | A memory layer that you add to existing LLM agents to extract, store, and recall user facts and preferences across sessions using vector, graph, and key-value backends. |
| Hindsight | ★ 64.3k | An agent memory server that stores facts and experiences, consolidates them into observations and mental models, and serves them back through retain, recall, and reflect operations. |
| MemPalace | ★ 60.8k | Local-first agent memory that stores conversations verbatim instead of summarising them, with a structured palace index, pluggable vector backends and an MCP server. |
| OpenViking | ★ 43.1k | A context database that stores an agent's memories, resources, and skills as one browsable viking:// filesystem with three-tier (abstract/overview/details) on-demand loading. |
| Cognee | ★ 33.7k | A graph-native memory engine that turns raw documents and conversations into a queryable knowledge graph for agents that need to build lasting knowledge. |
| Graphiti | ★ 33.2k | A library that builds a temporal knowledge graph from an agent's conversations and data so facts can be tracked and queried as they change over time. |
| Hivemind | ★ 1.7k | One shared, cloud-backed brain for a team's coding agents |
