Generated banner for hivemind
Generated logo for hivemind

hivemind

Memory serverOfficial Activeloop project

Created by Activeloop

Published in activeloopai/hivemind. Publisher page

1,652 GitHub stars

What it is

Cloud-backed persistent shared memory for AI agents powered by Deeplake
— the description by Activeloop

AutoGineer overview, from the brain’s own files

Hivemind acts as a persistent, cross-agent memory layer powered by Deeplake. It intercepts agent interactions—including prompts, tool calls, and responses—to build a structured knowledge base of team activity. Beyond simple storage, it uses background workers to mine these traces for recurring patterns, automatically codifying them into reusable SKILL.md files. These skills are then propagated across different agents, sessions, and team members, ensuring that knowledge gained by one agent is immediately available to others. It supports a wide range of popular coding agents and provides hybrid lexical and semantic search capabilities to retrieve relevant context, effectively reducing token usage and agent turns by leveraging prior work.

How it works

Memory model: Vector store

AutoGineer overview, from the brain’s own files

Hivemind functions by capturing every agent session's prompts, tool calls, and responses as structured traces stored in Deeplake. A background worker processes these traces to identify patterns and generate reusable skill files. These skills are then made available to connected agents. The system integrates with various agents via hooks, plugins, or MCP servers, allowing it to intercept file operations and provide context during agent execution. It supports hybrid search to find relevant information from past sessions and skills.

Folders
FolderRoleFiles
.githubagent-config6
docsdocs10
scriptsscripts7
srcsource-code296
teststests330
.claude-pluginfolder2
.huskyfolder1
embeddingsfolder1
harnessesfolder36
libraryfolder62

The agent writes

Requirements

Runtimes: Node.js >=22.0.0

API keys (by name): HIVEMIND_TOKEN

Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Google Antigravity, Kiro, OpenCode, Amp, Roo Code, Cline, JetBrains Junie, Devin (ex-Windsurf)

Set it up

  1. This brain runs code automatically: 20 hooks (claude-code, codex), 6 scripts. Review .husky/pre-commit, README.md, harnesses/claude-code/hooks/hooks.json, harnesses/codex/hooks/hooks.json, harnesses/codex/install.sh and 1 more before opening the folder in Claude Code. No step below turns a hook on for you.

    • .husky/pre-commit: runs on git pre-commit
    • README.md: curl -fsSL https://deeplake.ai/hivemind.sh | sh
    • README.md: irm https://deeplake.ai/hivemind.ps1 | iex
    • harnesses/claude-code/hooks/hooks.json: node "${CLAUDE_PLUGIN_ROOT}/bundle/session-start.js"
    • harnesses/claude-code/hooks/hooks.json: node "${CLAUDE_PLUGIN_ROOT}/bundle/session-notifications.js"
    • harnesses/claude-code/hooks/hooks.json: node "${CLAUDE_PLUGIN_ROOT}/bundle/session-start-setup.js"
    • harnesses/claude-code/hooks/hooks.json: node "${CLAUDE_PLUGIN_ROOT}/bundle/capture.js"
    • harnesses/claude-code/hooks/hooks.json: node "${CLAUDE_PLUGIN_ROOT}/bundle/recall-on-prompt.js"
    • harnesses/claude-code/hooks/hooks.json: node "${CLAUDE_PLUGIN_ROOT}/bundle/pre-tool-use.js"
    • harnesses/claude-code/hooks/hooks.json: node "${CLAUDE_PLUGIN_ROOT}/bundle/capture.js"
    • harnesses/claude-code/hooks/hooks.json: node "${CLAUDE_PLUGIN_ROOT}/bundle/recall-on-failure.js"
    • harnesses/claude-code/hooks/hooks.json: node "${CLAUDE_PLUGIN_ROOT}/bundle/capture.js"
    • harnesses/claude-code/hooks/hooks.json: node "${CLAUDE_PLUGIN_ROOT}/bundle/graph-on-stop.js"
    • harnesses/claude-code/hooks/hooks.json: node "${CLAUDE_PLUGIN_ROOT}/bundle/capture.js"
    • harnesses/claude-code/hooks/hooks.json: node "${CLAUDE_PLUGIN_ROOT}/bundle/session-end.js"
    • harnesses/claude-code/hooks/hooks.json: node "${CLAUDE_PLUGIN_ROOT}/bundle/plugin-cache-gc.js"
    • harnesses/claude-code/hooks/hooks.json: node "${CLAUDE_PLUGIN_ROOT}/bundle/graph-on-stop.js"
    • harnesses/codex/hooks/hooks.json: node "$PLUGIN_ROOT/bundle/session-start.js"
    • harnesses/codex/hooks/hooks.json: node "$PLUGIN_ROOT/bundle/capture.js"
    • harnesses/codex/hooks/hooks.json: node "$PLUGIN_ROOT/bundle/pre-tool-use.js"
    • harnesses/codex/hooks/hooks.json: node "$PLUGIN_ROOT/bundle/capture.js"
    • harnesses/codex/hooks/hooks.json: node "$PLUGIN_ROOT/bundle/stop.js"
    • harnesses/codex/hooks/hooks.json: node "$PLUGIN_ROOT/bundle/graph-on-stop.js"
    • harnesses/codex/install.sh: sh harnesses/codex/install.sh
    • package.json: node scripts/ensure-tree-sitter.mjs
    • package.json: husky && npm run build
  2. Not scanned by AutoGineerThe author’s README also describes installing it as a Claude Code plugin marketplace. Read its install section: AutoGineer did not scan that path. https://github.com/activeloopai/hivemind/blob/438796a1f243f075a45cf5ca5f0c19d8cb72432f/README.md#alternative-install-paths
  3. Not scanned by AutoGineerThe author’s README also describes installing it from a clone of its repository. Read its install section: AutoGineer did not scan that path. https://github.com/activeloopai/hivemind/blob/438796a1f243f075a45cf5ca5f0c19d8cb72432f/README.md#alternative-install-paths
  4. Not scanned by AutoGineerIts dependencies are installed by npm when you run it and were not scanned by AutoGineer (18 declared). https://www.npmjs.com/package/@deeplake/hivemind
  5. Created by Activeloop. Published in activeloopai/hivemind. Licence: Apache License 2.0.

Usage

AutoGineer overview, from the brain’s own files

  • Capture agent session traces in a shared Deeplake workspace
  • Automatically generate and update reusable skill files from session patterns
  • Enable cross-agent knowledge propagation across different machines and users
  • Provide hybrid lexical and semantic search for past traces and codified skills
  • Integrate with multiple coding agents including Claude Code, Cursor, and OpenClaw
  • Manage data privacy with per-directory capture controls
“What was Emanuele working on?”
The agent retrieves relevant session traces from the shared memory to summarize the user's recent work.
“Show me skills my team has codified for handling migrations”
The agent searches the shared memory for relevant SKILL.md files and presents the codified migration patterns.

Documentation by Activeloop

<h1 align="center"> <br> <a href="https://github.com/activeloopai/hivemind"> <img src="https://raw.githubusercontent.com/activeloopai/hivemind/main/docs/public/hivemind-logo.svg" alt="Hivemind" width="120"> </a> <br> Hivemind <br> </h1>

<h4 align="center">One brain for all your agents</h4>

<p align="center"> <a href="https://www.npmjs.com/package/@deeplake/hivemind"><img src="https://img.shields.io/npm/v/@deeplake/hivemind?color=blue&label=npm&style=for-the-badge" alt="npm"></a> <a href="https://github.com/activeloopai/hivemind/stargazers"><img src="https://img.shields.io/github/stars/activeloopai/hivemind?style=for-the-badge&logo=github" alt="GitHub stars"></a> <a href="LICENSE"><img src="https://img.shields.io/badge/License-Apache%202.0-blue.svg?style=for-the-badge" alt="License"></a> <a href="package.json"><img src="https://img.shields.io/badge/node-%3E%3D22.0.0-brightgreen.svg?style=for-the-badge" alt="Node"></a> <a href="https://deeplake.ai"><img src="https://img.shields.io/badge/Powered%20by-Deeplake-orange.svg?style=for-the-badge" alt="Deeplake"></a> <a href="https://www.ycombinator.com"><img src="https://img.shields.io/badge/Y%20Combinator-backed-ff6600.svg?style=for-the-badge" alt="Y Combinator backed"></a> <a href="https://join.slack.com/t/hubdb/shared_invite/zt-35zr0yil0-lnzJcQhACsBlB7~3lufrCg"><img src="https://img.shields.io/badge/Slack-chat-4A154B?logo=slack&logoColor=white&style=for-the-badge" alt="Join us on Slack"></a> </p>

<p align="center"> Auto-learning, cloud-backed shared brain for <b>Claude Code • OpenClaw • Codex • Cursor • Hermes • pi • Claude Cowork (Alpha)</b> agents.<br> </p>

<p align="center"> <a href="https://trendshift.io/repositories/28172" target="_blank" rel="noopener noreferrer"><img src="https://trendshift.io/api/badge/repositories/28172" alt="activeloopai/hivemind | Trendshift" style="width: 250px; height: 55px;" width="250" height="55"/></a> </p>

One engineer's agent figures out a tricky migration on Monday.

Tuesday, every agent on the team can execute the pattern.

On LoCoMo, the public long-context memory benchmark, Hivemind is 25% cheaper, 1.7× fewer tokens, and 31% fewer turns than running without shared memory. (See the numbers below.)

<p align="center"> <img src="https://raw.githubusercontent.com/activeloopai/hivemind/main/docs/public/hivemind_cursor_readme_banner_dark.png" alt="Cut Cursor spend by 34% with Hivemind" width="100%"> </p>

Beyond memory. Hivemind doesn't just remember. It mines your team's traces for repeated patterns and codifies them into reusable skills that propagate back into every agent on the team. The agent your junior engineer used this morning is sharper because of what your senior engineer's agent figured out last week.

  • 📥 Captures every session's prompts, tool calls, and responses as structured traces in Deeplake

  • 🧠 Codifies patterns into reusable SKILL.md files, available to every agent on your team

  • 🔍 Searches traces and skills with hybrid lexical + semantic retrieval (ILIKE lexical fallback when embeddings off)

  • 🔗 Propagates capability across sessions, agents, teammates, and machines in real time

  • 📁 Intercepts file operations on ~/.deeplake/memory/ through a virtual filesystem backed by SQL

  • 📝 Summarizes sessions into AI-generated wiki pages via a background worker at session end

  • ☁️ BYOC: keep data in your own GCS, Azure, S3, or on-prem bucket. See Security & storage

Benchmarks

On the LoCoMo long-context memory benchmark (100 QA pairs, Claude Haiku via claude -p, hybrid lexical + semantic retrieval), Hivemind cuts cost, tokens, and turns versus a no-memory baseline:

MetricBaselineHivemindImprovement
Cost / 100 QA$8.94$6.6525% cheaper
Tokens / question1,7001,0081.7× fewer
Turns / question8.96.231% fewer

The agent reaches the answer in fewer turns with less context, because the prior work is already in scope at recall time, not re-derived per session.

Quick start

One command, all your agents.

macOS / Linux

curl -fsSL https://deeplake.ai/hivemind.sh | sh

Windows — in PowerShell:

irm https://deeplake.ai/hivemind.ps1 | iex

Any platform, via npm — for CI and Dockerfiles, or where policy blocks piping a downloaded script to a shell. Skips the checks the installers do, so Node 22+ and a writable npm prefix are on you:

npm i -g @deeplake/hivemind && hivemind install

The installer detects every supported assistant on your machine (table below), wires up the hooks, and shows a one-line consent prompt before opening a browser for sign-in. Restart your assistants after install.

Headless / CI installs: pass an API token instead of using the browser flow:

HIVEMIND_TOKEN=<your-token> hivemind install
# or
hivemind install --token <your-token>

Get a token from your account settings on https://deeplake.ai. With no token in a non-interactive shell, the install completes with hooks but skips sign-in; run hivemind login later to enable shared memory.

Install for a specific assistant only:

hivemind install --only claude
hivemind claude install    # equivalent
hivemind codex install
hivemind claw install
hivemind cursor install
hivemind hermes install
hivemind pi install
hivemind claude_cowork install   # Alpha

Check what's wired up:

hivemind status

Supported assistants:

PlatformIntegrationAuto-captureAuto-recall
Claude CodeMarketplace plugin✅✅
OpenClawNative extension✅✅
CodexHooks (hooks.json)✅✅
CursorHooks (hooks.json 1.7+)✅✅
Hermes AgentShell hooks (config.yaml) + skill + MCP server✅✅
piExtension API (pi.on(...)) + skill + AGENTS.md✅✅
Claude Cowork 🅰️MCP server (Claude Desktop)🅰️ Alpha¹✅

🅰️ Claude Cowork is Alpha. Auto-recall (the hivemind_search / read / index tools) is solid. ¹Auto-capture covers Local Agent Mode sessions only — those write a transcript we can tail; plain desktop-chat turns leave no readable local trace and aren't captured (why).

Alternative install paths

<details> <summary><b>Claude Code plugin marketplace</b></summary>

If you prefer Claude Code's native plugin marketplace:

/plugin marketplace add activeloopai/hivemind
/plugin install hivemind
/reload-plugins
/hivemind:login

Auto-updates on each session start. Manual update: /hivemind:update.

</details>

<details> <summary><b>OpenClaw ClawHub</b></summary>

openclaw plugins install clawhub:hivemind

Then type /hivemind_login in chat, click the auth link, and sign in.

Commands
CommandDescription
/hivemind_loginSign in via device flow
/hivemind_captureToggle capture on/off
/hivemind_whoamiShow current org and workspace
/hivemind_orgsList organizations
/hivemind_switch_org <name>Switch organization
/hivemind_workspacesList workspaces
/hivemind_switch_workspace <id>Switch workspace
/hivemind_updateCheck for plugin updates

Auto-recall and auto-capture are enabled by default. Data is stored in the same sessions table as Claude Code and Codex.

Coexistence with memory-core

Hivemind runs alongside OpenClaw's built-in memory-core plugin. It does not claim the memory slot, so memory-core's dreaming cron ("0 3 * * *") and other memory-slot-dependent jobs keep working. Hivemind captures session activity and exposes its own commands; memory-core keeps owning recall/promotion/dreaming.

Troubleshooting
  • Hivemind seems slow or unresponsive. Check the agent model in ~/.openclaw/openclaw.json under agents.defaults.model. Hivemind makes many small tool calls per turn; a large reasoning model like Opus will feel sluggish. Recommended default: anthropic/claude-haiku-4-5-20251001.

  • openclaw model <id> says "plugins.allow excludes model". The model plugin CLI is disabled by default. Edit ~/.openclaw/openclaw.json directly (key agents.defaults.model) and restart the gateway: systemctl --user restart openclaw-gateway.service.

  • Model switch rejected as "not allowed". Use the exact dated provider-prefixed ID (anthropic/claude-haiku-4-5-20251001, anthropic/claude-sonnet-4-6). Legacy IDs like claude-3-5-haiku-latest and unprefixed bare IDs are not on OpenClaw's allowlist.

  • Self-update via Telegram fails with "elevated is not available". tools.elevated.allowFrom must include telegram before elevated commands work from that channel. Safer alternative: run the upgrade in a local shell with openclaw plugins update hivemind.

  • npm error EACCES during self-update. OpenClaw was installed under a root-owned npm prefix (e.g. /usr/lib/node_modules/openclaw). Reinstall under a user-writable prefix, or run the update with appropriate privileges locally, not via a channel.

</details>

<details> <summary><b>Codex (manual)</b></summary>

Tell Codex to fetch and follow the install instructions:

Fetch and follow instructions from https://raw.githubusercontent.com/activeloopai/hivemind/main/harnesses/codex/INSTALL.md

Or run the installer script directly:

git clone https://github.com/activeloopai/hivemind.git ~/.codex/hivemind
~/.codex/hivemind/harnesses/codex/install.sh

Restart Codex to activate.

First launch — trust the hooks. Codex shows a "Hooks need review" prompt before it will run hivemind's hooks:

Hooks need review
2 hooks are new or changed.
Hooks can run outside the sandbox after you trust them.

   1. Review hooks
 › 2. Trust all and continue
   3. Continue without trusting (hooks won't run)

Choose 2. Trust all and continue — otherwise the hooks won't run and hivemind stays inactive.

</details>

<details> <summary><b>Cursor (1.7+)</b></summary>

The unified installer wires six lifecycle events in ~/.cursor/hooks.json: sessionStart, beforeSubmitPrompt, postToolUse, afterAgentResponse, stop, sessionEnd. Hooks fork a Node bundle at ~/.cursor/hivemind/bundle/ per event. Restart Cursor after install to load.

hivemind cursor install

Auto-capture is enabled the same way as Claude Code / Codex / OpenClaw.

</details>

<details> <summary><b>Hermes Agent</b></summary>

Wires shell hooks into ~/.hermes/config.yaml (pre_llm_call / post_tool_call / post_llm_call / on_session_end) for auto-capture, drops the bundle at ~/.hermes/hivemind/bundle/, registers the shared MCP server (~/.hivemind/mcp/server.js) under mcp_servers.hivemind, and installs agentskills.io-compatible skills at ~/.hermes/skills/hivemind-memory/ (recall), hivemind-goals/ and hivemind-graph/. Re-running install (or hivemind update) syncs these directories: files a previous version wrote that the current one no longer ships are removed; anything else under ~/.hermes/skills/ is left untouched.

hivemind hermes install

</details>

<details> <summary><b>pi (badlogic/pi-mono coding-agent)</b></summary>

Upserts an idempotent BEGIN/END marker block into ~/.pi/agent/AGENTS.md (auto-loaded every turn) and drops a TypeScript extension at ~/.pi/agent/extensions/hivemind.ts. The extension subscribes to pi's lifecycle events (session_start / input / tool_result / message_end) for auto-capture and registers hivemind_search, hivemind_read, hivemind_index as first-class pi tools.

hivemind pi install

Note: no per-agent SKILL.md is dropped under ~/.pi/agent/skills/; pi reads skills from both that directory AND the shared ~/.agents/skills/ location. If the codex installer has run on the same machine, pi picks up the hivemind skill from the shared ~/.agents/skills/hivemind-memory symlink automatically. The AGENTS.md block plus the registered tools cover the action surface in either case.

</details>

Claude Cowork (Alpha)

Claude Cowork is Anthropic's agentic assistant inside the Claude Desktop app. It has no hook lifecycle like the other agents — it only talks to Hivemind through MCP — so the integration works differently and ships as Alpha.

hivemind claude_cowork install

This registers the shared MCP server (~/.hivemind/mcp/server.js) under mcpServers.hivemind in Claude Desktop's claude_desktop_config.json. Fully quit and reopen Claude Desktop to load it.

Recall (stable). Cowork gains hivemind_search, hivemind_read, and hivemind_index — the same shared memory every other agent reads. On the first tool use per host, a one-time data-collection notice is prepended to the result.

Auto-capture (Alpha) — how it works. With no SessionStart/Stop hooks to capture from, the MCP server runs a background ingester that tails Cowork's Local Agent Mode transcripts (~/Library/Application Support/Claude/local-agent-mode-sessions/**/.claude/projects/<enc>/<sessionId>.jsonl). For each new line it writes a row to the sessions table with agent="claude_cowork" (user prompts, assistant messages, tool calls + results), de-duplicated by a per-transcript line watermark. When a transcript has been idle for 5 minutes it is treated as finished, and the same wiki-worker / skillify workers every other agent uses run for it (summary tagged claude_cowork → it shows up in hivemind_index).

Known limitation. <a id="claude-cowork-alpha"></a>Only Local Agent Mode sessions (where Cowork opens its sandbox/agent and works) write a transcript we can read. Plain desktop-chat turns are not captured: by MCP design a server never sees the conversation (only the tool calls the model makes), and the chat itself lives in Anthropic's cloud + a compressed claude.ai IndexedDB cache with no supported read surface. Capturing those would need an official Anthropic export/hook.

Uninstall
hivemind uninstall              # remove from every detected assistant
hivemind codex uninstall        # remove from one

How it works

Capture → Codify → Propagate → Compound. Every coding-agent interaction (prompt, tool call, response) is captured as a structured trace in Deeplake. A background worker mines traces for repeated patterns and codifies them into SKILL.md files, scoped to your workspace. Codified skills propagate into every Hivemind-connected agent's context at inference time. The agent your junior engineer used this morning is sharper because of what your senior engineer's agent figured out last week.

Features

Just ask your agent naturally:

"What was Emanuele working on?"
"Search traces for authentication bugs we've solved"
"What did we decide about the API design?"
"Show me skills my team has codified for handling migrations"
🔒 Privacy controls

Disable capture entirely:

HIVEMIND_CAPTURE=false claude

Turn Hivemind off for a specific directory tree (persistent, travels with the repo) by dropping a .hivemind file with { "collect": false }. See Per-directory config.

Enable debug logging:

HIVEMIND_DEBUG=1 claude

⚠️ Data collection notice

This plugin captures session activity and stores it in your Deeplake workspace:

DataWhat's captured
User promptsEvery message you send
Tool callsTool name + full input
Tool responsesFull tool output
Assistant responsesThe agent's final response
Subagent activitySubagent tool calls and responses
Codified skillsPatterns extracted from traces

All users in your Deeplake workspace can read this data. That's the design. Shared capability requires shared substrate. A DATA NOTICE is displayed at the start of every session. Workspace-level isolation prevents data leakage between orgs.

Configuration

VariableDefaultDescription
HIVEMIND_TOKEN(none)API token (auto-set by login)
HIVEMIND_ORG_ID(none)Organization ID (auto-set by login)
HIVEMIND_WORKSPACE_IDdefaultWorkspace name or id (hivemind workspaces)
HIVEMIND_API_URLhttps://api.deeplake.aiAPI endpoint
HIVEMIND_TABLEmemorySQL table for summaries and virtual FS
HIVEMIND_SESSIONS_TABLEsessionsSQL table for per-event session capture
HIVEMIND_MEMORY_PATH~/.deeplake/memoryPath that triggers interception
HIVEMIND_CAPTUREtrueSet to false to disable capture
HIVEMIND_CAPTURE_ONLY_CLI(none)Set to true to capture only interactive CLI sessions. Sessions spawned by the Claude Agent SDK (Python/TypeScript) are skipped; their CLAUDE_CODE_ENTRYPOINT is sdk-py / sdk-ts, so they fail the substring check for cli.
HIVEMIND_SKILLIFY_EVERY_N_TURNS20Assistant turns between auto skill-mining attempts. Lower = more frequent mining (cheaper sessions, noisier output); higher = fewer attempts on longer histories.
HIVEMIND_SUMMARY_EVERY_N_MSGS50Captured events between periodic session summaries. The first summary of a session runs at 10 events regardless. Raise it to cut background summary runs.
HIVEMIND_SUMMARY_EVERY_HOURS2Time-based summary cadence, used when at least one new event has arrived since the last summary.
HIVEMIND_WIKI_WORKER(none)Set to 1 to disable the background session-summary worker entirely (no claude -p summary runs). Also set automatically inside the worker as a recursion guard. Capture and recall keep working.
HIVEMIND_GRAPH_ON_STOP(none)Set to 0 to disable the code-graph rebuild that runs on Stop / SessionEnd.
HIVEMIND_PROACTIVE_RECALL(saved mode; default: failure on, prompt shadow)off / shadow / on for proactive team recall (Claude Code: on failed commands and substantive prompts). Overrides hivemind recall mode. See docs/PROACTIVE_RECALL.md.
HIVEMIND_CAPTURE_RECOVERYtrueClaude Code: when a long-running session's capture hooks fail (e.g. Claude Code removed the plugin version the session was started with), upload the missed prompts, tool calls and replies from its local transcript at the next session start. Only sessions whose capture hook is recorded as failing; directories with collect: false are never uploaded. Set false to disable.
HIVEMIND_EMBEDDINGS(none)Read once, when ~/.deeplake/config.json has no embeddings.enabled yet: unset or false seeds it off, any other value (true, 1, ...) seeds it on. Afterwards only hivemind embeddings install/enable (persist on) and disable/uninstall (persist off) change it.
HIVEMIND_DEBUG(none)Set to 1 for verbose hook debug logs

Per-directory config (.hivemind)

The variables above set one global identity for the whole machine. A .hivemind file lets a specific directory tree override that: either route it to a different org/workspace, or opt out of capture entirely.

Routing is symmetric — a routed directory both writes its traces to that workspace and reads memory from it. Sessions started under it search, recall, and browse ~/.deeplake/memory in the routed workspace, and hivemind whoami reports it.

Drop a .hivemind JSON file at the root of the tree you want to configure:

{
  "orgId": "acme-corp",
  "workspaceId": "client-work",
  "collect": true
}
FieldEffect
orgIdRoute this tree to this org — captured traces and memory reads.
workspaceIdRoute to this workspace.
collectfalse → Hivemind is completely inactive in this tree: no capture, context, memory reads or notifications.

Any field may be omitted; omitted fields fall back to your global identity.

orgId / workspaceId are identity (they apply to reads and writes alike); collect: false switches Hivemind off for the tree.

Common recipes:

// route this repo to a client org/workspace — reads and writes both land there
{ "orgId": "acme-corp", "workspaceId": "client-work" }

// Hivemind fully off in this folder (e.g. a personal or sensitive repo)
{ "collect": false }

Routing never carries a token — auth stays in ~/.deeplake/credentials.json, so a .hivemind only ever takes effect against orgs your existing login already authorizes. An HIVEMIND_ORG_ID / HIVEMIND_WORKSPACE_ID set in your environment wins over a .hivemind for that field; hivemind whoami discloses which one is in effect.

Run Hivemind only in chosen repos. Turn it off for a whole tree and back on per repo (nearest file wins):

echo '{ "collect": false }' > ~/.hivemind.local                 # or at the root of your source tree
echo '{ "collect": true }'  > ~/src/my-repo/.hivemind.local     # repeat per repo
Committed vs local

Two filenames are recognized, mirroring the .env / .env.local convention every dev already knows:

FileCommit it?For
.hivemindYes (like .editorconfig)The repo declaring where its traces belong (or that it's off-limits). Teammates who clone inherit it.
.hivemind.localNo (gitignore it)Your personal override or opt-out, not imposed on teammates. Wins over .hivemind in the same directory.

There's nothing to hide: a .hivemind can't carry a token (see below), so committing one is safe. It just declares intent. Use .hivemind.local only when a choice is yours alone (add it to your repo's .gitignore, like .env.local).

A copy-ready template lives at .hivemind.example. Run cp .hivemind.example .hivemind and edit. (The .example file is inert; Hivemind only reads .hivemind and .hivemind.local.)

How it resolves

When a session starts, Hivemind walks up from the working directory (cwd, its parent, its grandparent, and so on) and uses the first file it finds (a .hivemind.local beats a .hivemind in the same directory). Nearest wins; ancestors above it are ignored. This is the .git/.gitconfig model, not .gitignore-style merging. There is no inheritance: a leaf file that wants both its parent's org and its own workspace must state both.

~/work/.hivemind           { "orgId": "acme-corp" }
~/work/client/.hivemind    { "workspaceId": "sensitive", "collect": false }

session in ~/work/client/svc/  →  uses client/.hivemind ONLY
                                  (collect:false wins; the org above is NOT inherited)
session in ~/work/other/       →  no .hivemind found → global identity

Precedence is the conventional env > file > login: an explicitly-set HIVEMIND_ORG_ID / HIVEMIND_WORKSPACE_ID overrides a .hivemind routing value (that field is left untouched), which in turn overrides your logged-in default. collect: false is a fail-safe opt-out and is always honored.

Safety: routing is disclosed, not hidden

Because a .hivemind travels with a repo, cloning someone's repo could in principle point your traces at a different org. Two things keep that safe, with no approval step or ceremony:

  • .hivemind never contains a token. Auth stays in ~/.deeplake/credentials.json, so a routing override can only ever target orgs your existing login already authorizes; the API rejects anything else. It can't leak your traces to a stranger's org. At worst it misfiles them into another of your own orgs.

  • Every session tells you where its traces go. The session-start banner prints the effective org/workspace after any .hivemind overlay, e.g. org: acme-corp (workspace: client-work) · routed by ./.hivemind, or capture is disabled for this directory when you've opted out. So a redirect is never silent; if it's not what you want, delete the file or add .hivemind.local.

Interaction with org switch / workspace switch

hivemind org switch and hivemind workspace switch change your global default (they write ~/.deeplake/credentials.json). A .hivemind is a pin on top of that default:

LocationWhere traces go
Dir with a routing .hivemindThe pinned org/workspace, unaffected by org switch.
Dir with no .hivemindFollows your current global default (i.e. org switch).
Dir with collect: falseHivemind inactive, regardless of the global default.

So org switch moves everything that isn't explicitly pinned; a pin stays put by design (that's the point of routing a client repo to a fixed org). The session-start banner always shows the effective identity for your current directory, so a pinned tree never silently surprises you.

Semantic search (optional)

Hivemind ships with a local embedding daemon (nomic-embed-text-v1.5) for hybrid semantic + lexical search over ~/.deeplake/memory/. Off by default because the dependency footprint is ~600 MB. Enable with hivemind embeddings install (or hivemind install --with-embeddings). Without it, search degrades silently to ILIKE lexical-only.

Full guide: docs/EMBEDDINGS.md.

Summaries

After each session, a background worker generates an AI-written wiki summary and stores it in the memory table alongside its 768-dim embedding. Long sessions checkpoint mid-session every 50 messages or 2 hours (configurable). The wiki worker shells out to the host agent's own CLI (claude -p, codex exec, pi --print, …) so no separate API key is needed. Browse summaries at ~/.deeplake/memory/summaries/.

Triggers, generation flow, and env-var reference: docs/SUMMARIES.md.

Skills (skillify)

Hivemind codifies recurring patterns from your team's recent sessions into reusable skills that propagate to every agent on your team, automatically. An async background worker fires on Stop / SessionEnd, mines recent sessions in scope, asks Haiku whether the activity contains something worth keeping, and writes a SKILL.md to <project>/.claude/skills/<name>/.

hivemind skillify                            # show current scope, team, install, per-project state
hivemind skillify scope <me|team>            # who counts as "in scope" for mining
hivemind skillify pull                       # install teammates' skills locally
hivemind skillify unpull                     # remove pulled skills

Triggers, generation flow, full pull / unpull semantics, gate-CLI table per agent, env vars, logs: docs/SKILLIFY.md.

Codebase graph

Hivemind builds a live graph of your codebase from the same traces it captures: files, symbols, imports, and the edges your agents actually traverse during real sessions. Search and recall walk this graph, not just plain text, so "where do we handle auth?" lands on the actual files the team's agents have touched, not just every file that mentions "auth".

<p align="center"> <img src="docs/screenshots/codebase-graph.webp" alt="Hivemind codebase graph visualizing the hivemind repo itself" width="800"> </p>

Above: the Hivemind codebase rendered through its own graph feature.

Code docs (wiki)

From that graph, Hivemind can generate natural-language documentation for a repo — one page per file, plus narrative wiki pages per subsystem — and keep it fresh on every commit. Agents read it (~/.deeplake/memory/docs/) to orient before touching code.

hivemind docs sync              # generate/refresh docs for this repo (asks first)
hivemind docs list              # status: enabled? pages? in sync with HEAD?
hivemind docs auto on|off       # keep docs fresh automatically on each commit
hivemind docs agent [name]      # which host CLI writes the docs (claude|codex|pi|cursor)

Generation shells out to a host agent's own CLI (claude -p, codex exec, …) — no separate API key — and runs in the background, so it never blocks. hivemind install inside a git repo offers to set this up for you. The agent is resolved as HIVEMIND_DOCS_LLM_AGENT (env) > docs.llmAgent (config) > auto-detect; per-file docs use a cheap model, wiki pages a stronger one.

Rules (cross-agent team principles)

Hivemind shares team rules across every agent in the org, injected at SessionStart so every claude-code / cursor / hermes session starts knowing them. For personal or team work items with progress tracking, use Goals (VFS-backed) instead.

hivemind rules add "no DROP TABLE on prod creds"
hivemind rules list                          # latest 10 active
hivemind rules edit <rule-id> "<new text>"   # bumps version
hivemind rules done <rule-id>                # mark closed

# Cross-agent diagnostic / harnesses/pi/openclaw fallback
hivemind context                             # print the injection block on demand

What's injected at SessionStart (claude-code, cursor, hermes. Codex is deliberately excluded to keep its user-visible TUI clean; harnesses/pi/openclaw fall back to hivemind context):

=== HIVEMIND RULES (N active) ===
- <rule_id>: <text>
(X more, run 'hivemind rules list' to see all)

=== HIVEMIND HOW-TO ===
- Rules above are team principles. Treat any action that would violate one as a critical error and surface it to the user before proceeding.
- Run 'hivemind rules list' for the full inventory beyond what's shown here.

Env vars:

  • HIVEMIND_RULES_TABLE: table name (default hivemind_rules).

  • HIVEMIND_CAPTURE=false: full read-only mode. Skips placeholder + ensure DDL; renderer still injects.

Goals

Personal / team objectives live in the Deeplake virtual filesystem under ~/.deeplake/memory/goal/<owner>/<status>/<uuid>.md. Path encodes structure (owner, status, goal_id); the file body holds the human-readable description.

# CLI fallback for runtimes that can't route VFS writes (cursor/hermes/pi)
hivemind goal add "ship the search bar"
hivemind goal list [--all|--mine]
hivemind goal done <goal_id>
hivemind goal progress <goal_id> opened|in_progress|closed

For VFS-capable runtimes (claude-code/codex) the hivemind-goals skill creates and edits goals directly via Bash heredoc against the VFS path. mv between opened/, in_progress/, and closed/ is the canonical status transition.

Architecture

Per-agent integration mechanisms (marketplace plugin, hooks, skills, native extension) and monorepo structure: docs/ARCHITECTURE.md.

What each trace row records — model, reasoning effort, stop reason, token usage (incl. cache tokens and cost) and per-harness extras, with the capture matrix per agent: harnesses/TRACE_MODEL_USAGE.md.

Roadmap

  • Trajectory export for fine-tuning. Because traces are stored in Deeplake's tensor format, they're export-ready as PyTorch datasets. Teams running their own open-source models can fine-tune on their org's accumulated trajectories. A handful of advanced customers are already doing this against the trajectories their Claude Code and Codex agents generated.

  • GPU-accelerated dense retrieval at scale. Local CPU embeddings already ship via the optional nomic-embed daemon (see Semantic search). Next: GPU-accelerated vector search over the full trace store, on by default.

  • Skill versioning and review. Pre-release human review for codified skills before they propagate org-wide, for teams that want a curation step.

  • More agents. If your team uses an agent that isn't on the supported-assistants list above, open an issue.

Security & storage

Tenant isolation & encryption
  • TLS between every agent and Deep Lake. AES-256 on the bytes once they land. Your cloud credentials live in Deep Lake's vault, and Hivemind never sees the raw keys.

  • Org and workspace boundaries enforced at the storage layer, not just the API. Sessions never share a row, a partition, or an index with another workspace.

  • Disable capture per session with HIVEMIND_CAPTURE=false. Delete a workspace and the underlying objects go with it.

Code-level controls
  • SQL values escaped with sqlStr(), sqlLike(), sqlIdent()

  • ~70 allowlisted builtins run in the virtual FS; unrecognized commands are denied

  • Credentials stored with mode 0600, config dir with mode 0700

  • Device flow login: no tokens in environment or code

Bring your own cloud (BYOC)

Hivemind Cloud is the default. When that isn't enough, point Hivemind at storage in your own cloud. We handle the orchestration, data never leaves your perimeter.

ProviderStatusSetup
Google Cloud StorageAvailabledocs
Azure Blob StorageAvailabledocs
Amazon S3Availablecontact us
S3-compatible on-premOn requestcontact us

Who builds Hivemind

Hivemind is built and maintained by Activeloop, the open-source team behind Deeplake, backed by Y Combinator.

We run Hivemind ourselves, all day, across Claude Code, OpenClaw, Codex, and Cursor. Every benchmark number above came from our own internal eval against the LoCoMo public benchmark. If you're running coding agents at a team or org and want to talk through your setup, drop us a line: [e-mail address on the upstream page](mailto:e-mail address on the upstream page).

Got questions?

Setup, BYOC, agent integrations, or workflow. Come ask in the community:

<p align="center"> <a href="https://join.slack.com/t/hubdb/shared_invite/zt-35zr0yil0-lnzJcQhACsBlB7~3lufrCg"><img src="https://img.shields.io/badge/Join_us_on-Slack-4A154B?logo=slack&logoColor=white&style=for-the-badge" alt="Join us on Slack"></a> </p>

Development

git clone https://github.com/activeloopai/hivemind.git
cd hivemind
npm install
npm run build     # tsc + esbuild → harnesses/claude-code/bundle/ + harnesses/codex/bundle/ + cursor/bundle/ + harnesses/openclaw/dist/ + mcp/bundle/ + bundle/cli.js
npm test          # vitest

Test locally with Claude Code:

claude --plugin-dir claude-code

Interactive shell against Deeplake:

npm run shell

Star history

<p align="center"> <a href="https://star-history.com/#activeloopai/hivemind&Date"> <img src="https://api.star-history.com/svg?repos=activeloopai/hivemind&type=Date" alt="Star History Chart" width="600"> </a> </p>

License

Apache License 2.0, © Activeloop, Inc. See LICENSE for details.

docs/SUMMARIES.md

Summaries

Hivemind doesn't just capture raw events — it also generates an AI-written wiki summary for each session and stores it in the memory table (alongside its 768-dim summary_embedding). The summary is what shows up when you Grep for past sessions or follow links from ~/.deeplake/memory/index.md.

When summaries are written

Each agent (Claude Code / Codex / Cursor / Hermes / pi) fires a wiki worker on two triggers:

TriggerWhen it fires
FinalAt session end (Stop / SessionEnd / session_shutdown), once.
PeriodicMid-session, when either of two thresholds is hit since the last summary:
• messages-since-last-summary ≥ HIVEMIND_SUMMARY_EVERY_N_MSGS (default 50)
• elapsed time ≥ HIVEMIND_SUMMARY_EVERY_HOURS (default 2)

The first message after a long pause therefore triggers a fresh summary; long sessions naturally checkpoint every ~50 messages.

A per-session JSON sidecar at ~/.claude/hooks/summary-state/<sessionId>.json tracks {lastSummaryAt, lastSummaryCount, totalCount}. The dir is shared across all agents (session ids are UUIDs so no collisions). It is never deleted, so resuming a session via --resume / --continue picks up where it left off.

How a summary is generated

  1. The wiki worker queries the sessions table for every event tied to that session.

  2. It builds a structured prompt asking the host agent's CLI to extract entities, decisions, files modified, open questions, etc.

  3. It shells out to that agent's CLI (claude -p, codex exec, pi --print, …) with the prompt — never a separate API key, the agent's existing credentials are used.

  4. The generated markdown is uploaded to the memory table at /summaries/<user>/<sessionId>.md. The shared embedding daemon produces the 768-dim summary_embedding so the summary is recallable via semantic search.

A lock file at ~/.claude/hooks/summary-state/<sessionId>.lock prevents two workers from running concurrently for the same session.

Configuration

Env varDefaultEffect
HIVEMIND_SUMMARY_EVERY_N_MSGS50Trigger periodic when messages-since-last ≥ this
HIVEMIND_SUMMARY_EVERY_HOURS2Trigger periodic after this many hours, with ≥1 msg
HIVEMIND_CURSOR_MODELauto(cursor only) model passed to cursor-agent --print --model
HIVEMIND_HERMES_PROVIDERopenrouter(hermes only) provider passed to hermes -z --provider
HIVEMIND_HERMES_MODELanthropic/claude-haiku-4-5(hermes only) model passed to hermes -z -m
HIVEMIND_PI_PROVIDERgoogle(pi only) provider passed to pi --print --provider
HIVEMIND_PI_MODELgemini-2.5-flash(pi only) model passed to pi --print --model
HIVEMIND_CAPTURE=falseunsetDisable both capture and summary generation

For pi specifically, the wiki worker is bundled separately at ~/.pi/agent/hivemind/wiki-worker.js (deposited by hivemind pi install). The other agents ship the wiki worker inside their per-agent plugin bundle.

512 files · 501 not served here

Advantages

  • Reduces agent cost, token usage, and turn count by leveraging shared prior work. evidence: README.md
  • Automatically codifies recurring patterns into reusable skills for all team agents. evidence: README.md

Limitations

  • Claude Cowork integration is currently in Alpha and limited to Local Agent Mode sessions. evidence: README.md
  • Requires Node 22+ and a writable npm prefix for installation. evidence: README.md

Security

Risk level: Medium risk

This brain runs

Git hooks (1)

  • .husky/pre-commit (pre-commit): runs on git pre-commit

Install scripts (3)

  • README.md: curl -fsSL https://deeplake.ai/hivemind.sh | sh · uses the network
  • README.md: irm https://deeplake.ai/hivemind.ps1 | iex · uses the network
  • harnesses/codex/install.sh: sh harnesses/codex/install.sh

Hooks (20)

  • harnesses/claude-code/hooks/hooks.json (SessionStart): node "${CLAUDE_PLUGIN_ROOT}/bundle/session-start.js"
  • harnesses/claude-code/hooks/hooks.json (SessionStart): node "${CLAUDE_PLUGIN_ROOT}/bundle/session-notifications.js"
  • harnesses/claude-code/hooks/hooks.json (SessionStart): node "${CLAUDE_PLUGIN_ROOT}/bundle/session-start-setup.js"
  • harnesses/claude-code/hooks/hooks.json (UserPromptSubmit): node "${CLAUDE_PLUGIN_ROOT}/bundle/capture.js"
  • harnesses/claude-code/hooks/hooks.json (UserPromptSubmit): node "${CLAUDE_PLUGIN_ROOT}/bundle/recall-on-prompt.js"
  • harnesses/claude-code/hooks/hooks.json (PreToolUse): node "${CLAUDE_PLUGIN_ROOT}/bundle/pre-tool-use.js"
  • harnesses/claude-code/hooks/hooks.json (PostToolUse): node "${CLAUDE_PLUGIN_ROOT}/bundle/capture.js"
  • harnesses/claude-code/hooks/hooks.json (PostToolUse): node "${CLAUDE_PLUGIN_ROOT}/bundle/recall-on-failure.js"
  • harnesses/claude-code/hooks/hooks.json (Stop): node "${CLAUDE_PLUGIN_ROOT}/bundle/capture.js"
  • harnesses/claude-code/hooks/hooks.json (Stop): node "${CLAUDE_PLUGIN_ROOT}/bundle/graph-on-stop.js"
  • harnesses/claude-code/hooks/hooks.json (SubagentStop): node "${CLAUDE_PLUGIN_ROOT}/bundle/capture.js"
  • harnesses/claude-code/hooks/hooks.json (SessionEnd): node "${CLAUDE_PLUGIN_ROOT}/bundle/session-end.js"
  • harnesses/claude-code/hooks/hooks.json (SessionEnd): node "${CLAUDE_PLUGIN_ROOT}/bundle/plugin-cache-gc.js"
  • harnesses/claude-code/hooks/hooks.json (SessionEnd): node "${CLAUDE_PLUGIN_ROOT}/bundle/graph-on-stop.js"
  • harnesses/codex/hooks/hooks.json (SessionStart): node "$PLUGIN_ROOT/bundle/session-start.js"
  • harnesses/codex/hooks/hooks.json (UserPromptSubmit): node "$PLUGIN_ROOT/bundle/capture.js"
  • harnesses/codex/hooks/hooks.json (PreToolUse): node "$PLUGIN_ROOT/bundle/pre-tool-use.js"
  • harnesses/codex/hooks/hooks.json (PostToolUse): node "$PLUGIN_ROOT/bundle/capture.js"
  • harnesses/codex/hooks/hooks.json (Stop): node "$PLUGIN_ROOT/bundle/stop.js"
  • harnesses/codex/hooks/hooks.json (Stop): node "$PLUGIN_ROOT/bundle/graph-on-stop.js"

Agent instructions that run or fetch something (69)

  • harnesses/claude-code/skills/hivemind-goals/SKILL.md: For "list my goals" → run `ls ~/.deeplake/memory/goal/<userName>/opened/` and `ls ~/.deeplake/memory/goal/<userName>/in_progress/`.
  • harnesses/claude-code/skills/hivemind-goals/SKILL.md: Run: pnpm test webhook
  • harnesses/claude-code/skills/hivemind-goals/SKILL.md: Fill `Start here / Files / Branch / Run / Why` from the live conversation — you already know the files you just touched and the branch.
  • harnesses/claude-code/skills/hivemind-goals/SKILL.md: **Transfer the context:** `hivemind goal get <goal_id>` prints the full package (`Start here / Files / Branch / Run / Why`).
  • harnesses/claude-code/skills/hivemind-memory/SKILL.md: `node "<AUTH_CMD>" login` — SSO login
  • harnesses/claude-code/skills/hivemind-memory/SKILL.md: `node "<AUTH_CMD>" whoami` — show current user/org
  • harnesses/claude-code/skills/hivemind-memory/SKILL.md: `node "<AUTH_CMD>" org list` — list organizations
  • harnesses/claude-code/skills/hivemind-memory/SKILL.md: `node "<AUTH_CMD>" org switch <name-or-id>` — switch organization
  • harnesses/claude-code/skills/hivemind-memory/SKILL.md: `node "<AUTH_CMD>" workspaces` — list workspaces
  • harnesses/claude-code/skills/hivemind-memory/SKILL.md: `node "<AUTH_CMD>" workspace <id>` — switch workspace
  • harnesses/claude-code/skills/hivemind-memory/SKILL.md: `node "<AUTH_CMD>" invite <email> <ADMIN|WRITE|READ>` — invite member (ALWAYS ask user which role first)
  • harnesses/claude-code/skills/hivemind-memory/SKILL.md: `node "<AUTH_CMD>" members` — list members
  • harnesses/claude-code/skills/hivemind-memory/SKILL.md: `node "<AUTH_CMD>" remove <user-id>` — remove member
  • harnesses/claude-code/skills/hivemind-memory/SKILL.md: `node "<AUTH_CMD>" --help` — show all commands
  • harnesses/claude-code/skills/hivemind-memory/SKILL.md: `hivemind skillify` — show current scope, team, install location, per-project state
  • harnesses/claude-code/skills/hivemind-memory/SKILL.md: `hivemind skillify pull --to <project|global>` — install location (project=cwd/.claude/skills, global=~/.claude/skills, linked for Codex/Hermes/pi)
  • harnesses/claude-code/skills/hivemind-memory/SKILL.md: `hivemind skillify pull --dry-run` — preview without touching disk
  • harnesses/claude-code/skills/hivemind-memory/SKILL.md: `hivemind skillify push --dry-run` — preview without writing to the org table
  • harnesses/claude-code/skills/hivemind-memory/SKILL.md: `hivemind skillify unpull --dry-run` — preview without touching disk
  • harnesses/claude-code/skills/hivemind-memory/SKILL.md: `hivemind skillify dedupe --dry-run` — preview without touching the table or disk
  • harnesses/claude-code/skills/hivemind-memory/SKILL.md: `hivemind skillify install <project|global>` — default install location for new skills
  • harnesses/claude-code/skills/hivemind-memory/SKILL.md: `hivemind embeddings install` — download deps (~600MB), symlink agents, set enabled:true
  • harnesses/claude-code/skills/hivemind-memory/SKILL.md: `hivemind embeddings enable` — flip enabled:true (run install first if deps missing)
  • harnesses/claude-code/skills/hivemind-memory/SKILL.md: Run `/hivemind:login` to authenticate
  • harnesses/codex/skills/deeplake-memory/SKILL.md: `node "<path>/auth-login.js" login` — SSO login
  • harnesses/codex/skills/deeplake-memory/SKILL.md: `node "<path>/auth-login.js" whoami` — show current user/org
  • harnesses/codex/skills/deeplake-memory/SKILL.md: `node "<path>/auth-login.js" org list` — list organizations
  • harnesses/codex/skills/deeplake-memory/SKILL.md: `node "<path>/auth-login.js" org switch <name-or-id>` — switch organization
  • harnesses/codex/skills/deeplake-memory/SKILL.md: `node "<path>/auth-login.js" workspaces` — list workspaces
  • harnesses/codex/skills/deeplake-memory/SKILL.md: `node "<path>/auth-login.js" workspace <id>` — switch workspace
  • harnesses/codex/skills/deeplake-memory/SKILL.md: `node "<path>/auth-login.js" invite <email> <ADMIN|WRITE|READ>` — invite member (ALWAYS ask user which role first)
  • harnesses/codex/skills/deeplake-memory/SKILL.md: `node "<path>/auth-login.js" members` — list members
  • harnesses/codex/skills/deeplake-memory/SKILL.md: `node "<path>/auth-login.js" remove <user-id>` — remove member
  • harnesses/codex/skills/deeplake-memory/SKILL.md: `node "<path>/auth-login.js" --help` — show all commands
  • harnesses/codex/skills/deeplake-memory/SKILL.md: `hivemind skillify` — show current scope, team, install location, per-project state
  • harnesses/codex/skills/deeplake-memory/SKILL.md: `hivemind skillify pull --to <project|global>` — install location (project=cwd/.claude/skills, global=~/.claude/skills, linked for Codex/Hermes/pi)
  • harnesses/codex/skills/deeplake-memory/SKILL.md: `hivemind skillify pull --dry-run` — preview without touching disk
  • harnesses/codex/skills/deeplake-memory/SKILL.md: `hivemind skillify push --dry-run` — preview without writing to the org table
  • harnesses/codex/skills/deeplake-memory/SKILL.md: `hivemind skillify unpull --dry-run` — preview without touching disk
  • harnesses/codex/skills/deeplake-memory/SKILL.md: `hivemind skillify dedupe --dry-run` — preview without touching the table or disk
  • harnesses/codex/skills/deeplake-memory/SKILL.md: `hivemind skillify install <project|global>` — default install location for new skills
  • harnesses/codex/skills/deeplake-memory/SKILL.md: `hivemind embeddings install` — download deps (~600MB), symlink agents, set enabled:true
  • harnesses/codex/skills/deeplake-memory/SKILL.md: `hivemind embeddings enable` — flip enabled:true (run install first if deps missing)
  • harnesses/codex/skills/deeplake-memory/SKILL.md: Authenticate with `node "<AUTH_CMD>" login`
  • harnesses/codex/skills/hivemind-goals/SKILL.md: For "list my goals" → run `ls ~/.deeplake/memory/goal/<userName>/opened/` and `ls ~/.deeplake/memory/goal/<userName>/in_progress/`.
  • harnesses/codex/skills/hivemind-goals/SKILL.md: Generate a UUIDv4: `uuidgen` or `node -e 'console.log(crypto.randomUUID())'`.
  • harnesses/codex/skills/hivemind-goals/SKILL.md: Run: pnpm test webhook
  • harnesses/codex/skills/hivemind-goals/SKILL.md: Fill `Start here / Files / Branch / Run / Why` from the live conversation.
  • harnesses/codex/skills/hivemind-goals/SKILL.md: **Transfer the context:** `hivemind goal get <goal_id>` prints the full package (`Start here / Files / Branch / Run / Why`).
  • harnesses/hermes/skills/hivemind-goals/SKILL.md: Run: pnpm test webhook
  • harnesses/hermes/skills/hivemind-goals/SKILL.md: Fill `Start here / Files / Branch / Run / Why` from the conversation;
  • harnesses/hermes/skills/hivemind-goals/SKILL.md: Begin from `Start here:` using the `Files` / `Branch` / `Run` lines.
  • harnesses/hermes/skills/hivemind-goals/SKILL.md: If the user wants to inspect goals you created, run `hivemind goal list --mine` (terminal) and present the output.
  • harnesses/openclaw/skills/SKILL.md: `/hivemind_update` — shows how to install (ask the agent, or run `hivemind update` in your terminal)
  • harnesses/openclaw/skills/SKILL.md: `/hivemind_autoupdate [on|off]` — toggle the agent-facing update nudge (on by default: when a newer version is available, the agent is prompted to install it via `exec` if you ask to update)
  • harnesses/openclaw/skills/SKILL.md: Openclaw itself doesn't run sessions to mine, but you can pull skills others have already mined for the user.
  • harnesses/openclaw/skills/SKILL.md: These run in the user's terminal (the openclaw plugin does not register them as `/hivemind_*` commands):
  • harnesses/openclaw/skills/SKILL.md: `hivemind skillify` — show scope/team/install + per-project state
  • harnesses/openclaw/skills/SKILL.md: `hivemind skillify pull --to project|global` — install location (`<cwd>/.claude/skills/` vs `~/.claude/skills/`)
  • harnesses/openclaw/skills/SKILL.md: `hivemind skillify pull --dry-run` — preview without touching disk
  • harnesses/openclaw/skills/SKILL.md: `hivemind skillify push --dry-run` — preview without writing to the org table
  • harnesses/openclaw/skills/SKILL.md: `hivemind skillify unpull --dry-run` — preview without touching disk
  • harnesses/openclaw/skills/SKILL.md: `hivemind skillify install <project|global>` — default install location
  • harnesses/openclaw/skills/SKILL.md: Run `hivemind skillify --help` for the full reference.
  • harnesses/openclaw/skills/SKILL.md: Run `/hivemind_login` to authenticate
  • harnesses/openclaw/skills/SKILL.md: Run `/hivemind_setup` to enable the memory tools in your openclaw allowlist (one-time, per install)
  • harnesses/openclaw/skills/hivemind-goals/SKILL.md: "Run: pnpm test webhook\n" +
  • harnesses/openclaw/skills/hivemind-goals/SKILL.md: Fill `Start here / Files / Branch / Run / Why` from the conversation;
  • harnesses/openclaw/skills/hivemind-goals/SKILL.md: Read it as your working context and begin from `Start here:` using the `Files` / `Branch` / `Run` lines — continue as if the context was never lost.

Package scripts (2)

  • package.json (postinstall): node scripts/ensure-tree-sitter.mjs
  • package.json (prepare): husky && npm run build
  • Medium risk: runs-install-script-remote-exec (README.md:70)
  • Medium risk: runs-install-script-remote-exec (README.md:76)
  • Low risk: scripts-present (esbuild.config.mjs)
  • Low risk: scripts-present (harnesses/codex/install.sh)
  • Low risk: scripts-present (scripts/ensure-tree-sitter.mjs)

Attribution and licence

Created by
Activeloop
Declared authors
  • Activeloop (declared in .claude-plugin/plugin.json)
Publisher
Activeloop (Official Activeloop project)
Source
activeloopai/hivemind · commit 438796a
Licence
Apache License 2.0 (files served here)
  • ATTRIBUTION.md (written by AutoGineer)
Synced

AutoGineer is not affiliated with or endorsed by Activeloop.

Install from source

501 of its files are not served here, so there is no ZIP. activeloopai/hivemind at 438796a