# Hivemind

One brain for every agent on your team.

Persistent, shared memory for Claude Code, OpenClaw, and Codex.

[Try now](https://deeplake.ai/hivemind#get-started) [View on GitHub](https://github.com/activeloopai/hivemind)

0s Setup Time Just Install & Go  
∞ Persistent Memory Across Sessions  
N Agents Sharing One Brain  
BM25 Full-Text Search Built In

## HOW IT WORKS

### Install once, remember forever

One command wires your team into a shared memory layer. Every interaction gets written to a persistent store that any agent can read from. Claude Code, OpenClaw, Codex, your custom agents: one brain, no silos, no RAG pipeline to babysit.

#### Auto-Capture

Every prompt, tool call, and response is captured automatically into your shared Deeplake workspace. No manual saving. No extra commands.

#### Instant Recall

Ask Claude what any team member was working on. Search by keyword, project, or topic. BM25 full-text search with in-memory fallback.

#### Shared Across Agents

Every agent in your org writes to the same memory. One agent's context becomes every agent's context, in real time.

## FOR TEAMS

### Built for teams, isolated by design

Every org gets its own brain. Every workspace, its own room.

Hivemind gives your team shared agent memory without the crosstalk. Org-level isolation keeps your agents' context walled off from everyone else on the planet. Workspace-level isolation keeps your growth team's agents out of your finance team's ledger, and vice versa.

One company, many workspaces, zero leaks.

#### Org Isolation

Your agents' memory lives in a tenant only your org can reach. Not shared. Not co-mingled. Not one misconfigured IAM policy away from a breach.

#### Workspace Isolation

Spin up a workspace per team, per project, or per customer. Each one is its own sealed context, and agents only see what they're invited to.

#### Granular Access

Invite teammates to the workspaces they need. Revoke in one click. Audit everything.

Think of it like Slack: your company has one org, your teams have their own channels, and nothing leaks between them unless you say so.

## GET STARTED

### Pick your agent. Install in seconds.

Hivemind works with Claude Code, OpenClaw, and Codex. Pick your platform and you're live. Authentication happens automatically.

#### Claude Code

```
/plugin marketplace add activeloopai/hivemind
```

```
/plugin install hivemind
```

```
/reload-plugins
```

```
/hivemind:login
```

#### OpenClaw

```
openclaw plugins install clawhub:hivemind
```

```
/hivemind_login
```

#### Codex

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

Tell Codex to fetch the install instructions. It clones the repo and sets up hooks automatically.

## FEATURES

### Everything your agents need to remember

Built for teams that run multiple AI agents and need them to share context without manual wiring.

#### Auto Session Summaries

At the end of every session, Hivemind generates an AI-written summary and indexes it. Browse summaries like wiki pages.

#### Org-Level Access Control

Invite team members with ADMIN, WRITE, or READ permissions. Switch between orgs and workspaces on the fly.

#### Virtual Filesystem

Memory looks like a folder. Use cat, ls, grep. The same commands you already know. No new APIs to learn.

#### Real-Time Sync

All writes go to Deeplake Cloud and are instantly available to every agent in the org. Sub-second propagation.

#### Zero Infrastructure

No databases to run. No servers to maintain. Deeplake Cloud handles storage, indexing, and search as a managed service.

#### Privacy Controls

Opt out of capture anytime with DEEPLAKE_CAPTURE=false. Credentials stored locally with strict file permissions.

## USE CASES

### Memory that compounds

The more your team uses Hivemind, the smarter every agent gets.

#### TEAM ONBOARDING

##### New engineers get full context on day one

Every architectural decision, debugging session, and code review is captured. New team members can ask their agent about any past decision and get the full story, not just what's in git blame.

```
you: What approach did the team take
     for the auth refactor?

agent: Based on session history, the
  team chose JWT with rotating keys.
  Decision made on March 12, driven
  by compliance requirements flagged
  by legal.
```

#### MULTI-AGENT WORKFLOWS

##### Agents that pick up where others left off

Run a research agent in one session, a coding agent in another. The coding agent already knows what the research agent found. No copy-pasting context between sessions.

```
agent-1: Analyzed 3 API options.
  Recommended Stripe for billing.
  Findings saved to memory.

agent-2: Building billing module.
  Found agent-1's analysis in memory.
  Proceeding with Stripe integration
  using recommended patterns.
```

#### INCIDENT RESPONSE

##### Never debug the same issue twice

When your agent debugs a production issue at 2am, the fix, root cause, and full investigation are captured. Next time, any agent on the team can find it instantly.

```
you: Have we seen this OOM error
     before?

agent: Yes, session from Feb 8.
  Root cause was unbounded query
  results in the analytics pipeline.
  Fix: added LIMIT + pagination.
  PR #847 has the full diff.
```

## Give your agents a shared brain

Install in under 30 seconds. Free for individual developers.

#### Claude Code

```
/plugin marketplace add activeloopai/hivemind
```

#### OpenClaw

```
openclaw plugins install clawhub:hivemind
```

#### Codex

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