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.

LICENSE

Shown as plain text.

                                 Apache License
                           Version 2.0, January 2004
                        http://www.apache.org/licenses/

   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

   1. Definitions.

      "License" shall mean the terms and conditions for use, reproduction,
      and distribution as defined by Sections 1 through 9 of this document.

      "Licensor" shall mean the copyright owner or entity authorized by
      the copyright owner that is granting the License.

      "Legal Entity" shall mean the union of the acting entity and all
      other entities that control, are controlled by, or are under common
      control with that entity. For the purposes of this definition,
      "control" means (i) the power, direct or indirect, to cause the
      direction or management of such entity, whether by contract or
      otherwise, or (ii) ownership of fifty percent (50%) or more of the
      outstanding shares, or (iii) beneficial ownership of such entity.

      "You" (or "Your") shall mean an individual or Legal Entity
      exercising permissions granted by this License.

      "Source" form shall mean the preferred form for making modifications,
      including but not limited to software source code, documentation
      source, and configuration files.

      "Object" form shall mean any form resulting from mechanical
      transformation or translation of a Source form, including but
      not limited to compiled object code, generated documentation,
      and conversions to other media types.

      "Work" shall mean the work of authorship, whether in Source or
      Object form, made available under the License, as indicated by a
      copyright notice that is included in or attached to the work
      (an example is provided in the Appendix below).

      "Derivative Works" shall mean any work, whether in Source or Object
      form, that is based on (or derived from) the Work and for which the
      editorial revisions, annotations, elaborations, or other modifications
      represent, as a whole, an original work of authorship. For the purposes
      of this License, Derivative Works shall not include works that remain
      separable from, or merely link (or bind by name) to the interfaces of,
      the Work and Derivative Works thereof.

      "Contribution" shall mean any work of authorship, including
      the original version of the Work and any modifications or additions
      to that Work or Derivative Works thereof, that is intentionally
      submitted to Licensor for inclusion in the Work by the copyright owner
      or by an individual or Legal Entity authorized to submit on behalf of
      the copyright owner. For the purposes of this definition, "submitted"
      means any form of electronic, verbal, or written communication sent
      to the Licensor or its representatives, including but not limited to
      communication on electronic mailing lists, source code control systems,
      and issue tracking systems that are managed by, or on behalf of, the
      Licensor for the purpose of discussing and improving the Work, but
      excluding communication that is conspicuously marked or otherwise
      designated in writing by the copyright owner as "Not a Contribution."

      "Contributor" shall mean Licensor and any individual or Legal Entity
      on behalf of whom a Contribution has been received by Licensor and
      subsequently incorporated within the Work.

   2. Grant of Copyright License. Subject to the terms and conditions of
      this License, each Contributor hereby grants to You a perpetual,
      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
      copyright license to reproduce, prepare Derivative Works of,
      publicly display, publicly perform, sublicense, and distribute the
      Work and such Derivative Works in Source or Object form.

   3. Grant of Patent License. Subject to the terms and conditions of
      this License, each Contributor hereby grants to You a perpetual,
      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
      (except as stated in this section) patent license to make, have made,
      use, offer to sell, sell, import, and otherwise transfer the Work,
      where such license applies only to those patent claims licensable
      by such Contributor that are necessarily infringed by their
      Contribution(s) alone or by combination of their Contribution(s)
      with the Work to which such Contribution(s) was submitted. If You
      institute patent litigation against any entity (including a
      cross-claim or counterclaim in a lawsuit) alleging that the Work
      or a Contribution incorporated within the Work constitutes direct
      or contributory patent infringement, then any patent licenses
      granted to You under this License for that Work shall terminate
      as of the date such litigation is filed.

   4. Redistribution. You may reproduce and distribute copies of the
      Work or Derivative Works thereof in any medium, with or without
      modifications, and in Source or Object form, provided that You
      meet the following conditions:

      (a) You must give any other recipients of the Work or
          Derivative Works a copy of this License; and

      (b) You must cause any modified files to carry prominent notices
          stating that You changed the files; and

      (c) You must retain, in the Source form of any Derivative Works
          that You distribute, all copyright, patent, trademark, and
          attribution notices from the Source form of the Work,
          excluding those notices that do not pertain to any part of
          the Derivative Works; and

      (d) If the Work includes a "NOTICE" text file as part of its
          distribution, then any Derivative Works that You distribute must
          include a readable copy of the attribution notices contained
          within such NOTICE file, excluding those notices that do not
          pertain to any part of the Derivative Works, in at least one
          of the following places: within a NOTICE text file distributed
          as part of the Derivative Works; within the Source form or
          documentation, if provided along with the Derivative Works; or,
          within a display generated by the Derivative Works, if and
          wherever such third-party notices normally appear. The contents
          of the NOTICE file are for informational purposes only and
          do not modify the License. You may add Your own attribution
          notices within Derivative Works that You distribute, alongside
          or as an addendum to the NOTICE text from the Work, provided
          that such additional attribution notices cannot be construed
          as modifying the License.

      You may add Your own copyright statement to Your modifications and
      may provide additional or different license terms and conditions
      for use, reproduction, or distribution of Your modifications, or
      for any such Derivative Works as a whole, provided Your use,
      reproduction, and distribution of the Work otherwise complies with
      the conditions stated in this License.

   5. Submission of Contributions. Unless You explicitly state otherwise,
      any Contribution intentionally submitted for inclusion in the Work
      by You to the Licensor shall be under the terms and conditions of
      this License, without any additional terms or conditions.
      Notwithstanding the above, nothing herein shall supersede or modify
      the terms of any separate license agreement you may have executed
      with Licensor regarding such Contributions.

   6. Trademarks. This License does not grant permission to use the trade
      names, trademarks, service marks, or product names of the Licensor,
      except as required for reasonable and customary use in describing the
      origin of the Work and reproducing the content of the NOTICE file.

   7. Disclaimer of Warranty. Unless required by applicable law or
      agreed to in writing, Licensor provides the Work (and each
      Contributor provides its Contributions) on an "AS IS" BASIS,
      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
      implied, including, without limitation, any warranties or conditions
      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
      PARTICULAR PURPOSE. You are solely responsible for determining the
      appropriateness of using or redistributing the Work and assume any
      risks associated with Your exercise of permissions under this License.

   8. Limitation of Liability. In no event and under no legal theory,
      whether in tort (including negligence), contract, or otherwise,
      unless required by applicable law (such as deliberate and grossly
      negligent acts) or agreed to in writing, shall any Contributor be
      liable to You for damages, including any direct, indirect, special,
      incidental, or consequential damages of any character arising as a
      result of this License or out of the use or inability to use the
      Work (including but not limited to damages for loss of goodwill,
      work stoppage, computer failure or malfunction, or any and all
      other commercial damages or losses), even if such Contributor
      has been advised of the possibility of such damages.

   9. Accepting Warranty or Additional Liability. While redistributing
      the Work or Derivative Works thereof, You may choose to offer,
      and charge a fee for, acceptance of support, warranty, indemnity,
      or other liability obligations and/or rights consistent with this
      License. However, in accepting such obligations, You may act only
      on Your own behalf and on Your sole responsibility, not on behalf
      of any other Contributor, and only if You agree to indemnify,
      defend, and hold each Contributor harmless for any liability
      incurred by, or claims asserted against, such Contributor by reason
      of your accepting any such warranty or additional liability.

   END OF TERMS AND CONDITIONS

   APPENDIX: How to apply the Apache License to your work.

      To apply the Apache License to your work, attach the following
      boilerplate notice, with the fields enclosed by brackets "[]"
      replaced with your own identifying information. (Don't include
      the brackets!)  The text should be enclosed in the appropriate
      comment syntax for the file format. We also recommend that a
      file or class name and description of purpose be included on the
      same "printed page" as the copyright notice for easier
      identification within third-party archives.

   Copyright [yyyy] [name of copyright owner]

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
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