概要
The open memory layer for collective agent awareness — a vendor-neutral MCP service for shared AI-agent memory.
AI・機械学習計測したスター増加
- 24時間
- +1
- 7日間
- 履歴を収集中
- 15日間
- 履歴を収集中
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルhivemind
A second brain for you, a meta-brain for your teams.
Open-source, self-hosted memory and context for AI agents from any vendor.
Agents notice what others are doing, inherit what others have learned, and understand complex projects together.
Documentation · docs.hivemind.lesur.ai
Français · README.fr.md
What Hivemind is
Hivemind is a memory and context layer for AI agents. It does two things:
- Coordination. Agents driven by Claude, ChatGPT, Mistral, Qwen or other models connect to Hivemind through the Model Context Protocol (MCP). They write down what they learn and decide, and read what the others left, whatever their vendor.
- Long context. Hivemind ingests your document collections and builds connected knowledge from them: the entities and relations they mention, and their passages indexed by meaning. Every agent searches it in its own words for the context it needs.
The memory runs on a machine you control.
Memory is kept in spaces, one per project, team or person. Each space has three levels:
| Level | In plain words | Needs a language model |
|---|---|---|
short |
Notes agents write as they work: observations, decisions with their reason, questions, todos. | No |
mid |
An organised Markdown summary that Hivemind writes from those notes, for the next session to read. | Yes, a chat model |
long |
Connected knowledge built from the documents you ingest and from the summaries, so agents find context by meaning. | Yes, chat and embedding models |
Hivemind uses the chat and embedding models you choose, from frontier models to open-source models you run on your own hardware with Ollama or any OpenAI-compatible server.
What you do with Hivemind
- Record a decision once. Tell your agent what was decided and why. Every other agent on the project reads it in its next session.
- Hand over between tools. A task started in Claude Code continues in Codex, which reads the notes and the summary Claude Code left.
- Give your agents your documents. Every agent searches the specifications, contracts or research notes you ingest, by meaning.
- Keep a private memory. Only you and the agents you allow use your personal space. You publish selected content from it to a team space.
- See what your agents did. The Portal shows each space's notes, summary, documents and activity.
Three short stories
A second brain. On Monday you and your agent settle how invoices are numbered, and why. The agent writes the decision down. On Thursday a new session on the same project reads the summary first and starts from that decision. For a detail of the accounting standard you ingested last month, it searches in its own words and gets the relevant passage.
Agents from different vendors working together. Claude Code refactors the billing module and notes what it changed. Codex, asked to review, reads those notes in the same space before it opens a file, and records its findings there. Each note carries the name of the agent that wrote it.
A team meta-brain. Your team runs one Hivemind server. People sign in with a local account or through your identity provider. Each person, group and agent has access to the spaces they need. A colleague publishes a client decision from their personal space, a manager of the team space approves it, and every agent working for the team reads it there. Members of your Claude organisation connect with Claude Auto-connect.
Follow one of these stories step by step in the tutorial.
Works today · Next · Planned
| ✅ Works today (1.7.0) | 🚧 Next (1.7.1) | 💭 Planned (1.8.0) |
|---|---|---|
Notes, summaries and connected knowledge (short, mid, long) |
Mistral Vibe Work hosted connector, through OAuth dynamic client registration | Projects that people create and manage themselves |
| Document ingestion as background jobs, searched by meaning | ChatGPT connector through dynamic client registration | Agents that resume on their own when an answer lands |
| Claude Code, Codex and other MCP clients, with a token or an OAuth sign-in | Dated facts in long memory, so agents can answer when something happened | Durable job queue and several Core replicas |
| Claude.ai, Claude Desktop and ChatGPT connectors through OAuth | Production upgrades without service interruption | |
| Claude Auto-connect for Claude Team and Enterprise organisations | Live Portal updates pushed by the server | |
| Local profile on one computer: SQLite storage, no S3, no sign-in | Backup and restore with Plakar | |
| Team server: local accounts, OpenID Connect sign-in, rights per space for people, groups and agents | Connection of MCP clients through the organisation's identity provider (MCP Enterprise-Managed Authorization) | |
| Personal spaces and publication to shared spaces | ||
| Portal: spaces, notes, summaries, documents, jobs and access | ||
| S3-compatible object storage and shared-space backups from the Portal |
Getting started
Pick the path that matches you.
I want to try it on my computer
This runs Hivemind on one computer, with SQLite files in Docker volumes for storage and no domain or S3 bucket.
You need Docker Engine 28 or later with Docker Compose 2.30.1 or later, git,
Python 3 and uv, port 8080 free, and time for
the first build. Run every command in the same shell:
git clone https://github.com/Lesur-ai/hivemind.git
cd hivemind
git checkout <release-tag>
# Private .env with generated passwords and SQLite storage, no S3.
python3 scripts/configure_dev_env.py --backend sqlite --local
# The local profile: no sign-in, published on 127.0.0.1 only.
export COMPOSE_FILE=docker-compose.yml:docker-compose.local.yml
# Build, then pin the image you built.
docker compose --profile sqlite-init --profile operational-init build
export HIVEMIND_PULL_POLICY=never
export HIVEMIND_IMAGE_DIGEST=$(docker image inspect hivemind:latest --format '{{.Id}}')
# Initialise the stores once, then start.
docker compose --profile operational-init run --rm --no-deps hivemind-operational-init
docker compose --profile sqlite-init run --rm --no-deps hivemind-sqlite-init
docker compose --profile sqlite-init run --rm --no-deps graph-sqlite-init
docker compose run --rm --no-deps hivemind \
python -m live_mem.auth_install_cli --store-path /data/core/authority.sqlite
docker compose up -d --wait
Then connect a first agent. Each agent gives itself a name, so its notes are labelled. For Claude Code:
claude mcp add --transport http hivemind http://localhost:8080/mcp \
--header "X-Hivemind-Agent: claude-code"
claude mcp list
For Codex, in ~/.codex/config.toml:
[mcp_servers.hivemind]
url = "http://localhost:8080/mcp"
http_headers = { "X-Hivemind-Agent" = "codex" }
Short notes work without a model. For summaries and long memory, set your
chat and embedding models in .env before you start the stack, as
Choose inference providers
explains. The
local quickstart has the checks, a
first note from the command line, what works without a provider, how to stop
and remove everything, and troubleshooting. Every setting of this profile is
in Local mode.
Hivemind Portal (/)
Open http://localhost:8080/ in a browser. The navigation offers Home
(the Dashboard), Spaces, Consolidation, Audit and Analytics.
Each space has tabs for its notes (Short), its summary (Mid), its
connected knowledge (Long), its documents and its activity. On a server
with sign-in, each person sees what their rights allow. A space's Access
section lists the people and agents that can use it, and operators also get
Operator tools. On your computer, the Portal shows that it runs in local
mode.
I want a server for my team
A server for a team uses HTTPS, an external S3-compatible bucket for memory, sign-in for people (local accounts and an OpenID Connect identity provider declared in the server's connections file) and, for hosted assistants, the OAuth connector. Follow Install in production, then the production checklist before handing the instance over. A 1.6 deployment upgrades with the 1.6 to 1.7 upgrade guide.
Documentation
| Need | Start here |
|---|---|
| The product documentation, by reader | docs.hivemind.lesur.ai |
| Connect an assistant | Connect · Agent memory setup |
| Use an instance someone else runs | User guide |
| What Hivemind is for | Why Hivemind |
| Configure chat and embedding providers | Inference providers |
| Run and recover an instance | Operate · Deployment guide |
| Releases, upgrades and known limits | Releases · Hivemind 1.7 |
| Tools and permissions | MCP tools · Permissions |
| Architecture | Positioning · Architecture contracts |
| Security model | Security |
| Questions and help | FAQ · Support |
Contributing and security
Read CONTRIBUTING.md before opening an issue or a pull request. Report a suspected vulnerability privately, as described in SECURITY.md.
License
Apache License 2.0. See LICENSE and THIRD_PARTY_NOTICES.md.
A second brain for you, a meta-brain for your teams.
関連プロジェクトを探す
読み込み中…