Get running in 30 seconds
Install MentisDB
One command installs the daemon. Your AI tools connect to it instantly. Memory runs on your machine. Yours to keep.
Requires Rust. Install Rust โ
๐ macOS users: make sure Xcode Command Line Tools are installed first โ xcode-select --install
Then connect your AI tool:
claude mcp add --transport http mentisdb http://127.0.0.1:9471codex mcp add mentisdb --url http://127.0.0.1:9471Add to ~/.copilot/mcp-config.json:
{ "mentisdb": { "type": "http", "url": "http://127.0.0.1:9471" } }qwen mcp add --transport http mentisdb http://127.0.0.1:9471The Problem with AI Memory Today
Without durable memory, your agents are brilliant in the moment โ and amnesiac by design.
Agents Have Amnesia
Every time an AI agent's context window fills up, it forgets everything. Decisions, lessons, constraints โ gone. Your team keeps re-explaining what took weeks to learn.
Your Memories Are Held Hostage
When you store memory through a vendor's API, they control it. Change providers, hit rate limits, or lose your account โ and the accumulated intelligence of your agent fleet disappears.
Teams of Agents Can't Learn Together
Each agent session is isolated. One agent discovers a critical bug pattern, but the next agent starts from zero. There's no shared brain, no institutional memory, no compounding.
Open Source ยท Self-Hosted ยท Yours
Your agents deserve
a memory.
MentisDB is a durable, self-hosted memory engine for AI agents. Persistent across sessions. Shared across your entire fleet. Owned by you โ not your AI provider.
Free & open source ยท MIT License ยท Runs on your laptop or server
What You Can Do
MentisDB transforms isolated, amnesiac agents into a coordinated, self-improving intelligence network.
Zero Context Loss
When an agent's context window fills, it writes a Summary checkpoint to MentisDB, compacts, reloads, and continues without losing a single decision. Chat history is ephemeral. MentisDB is permanent.
Fleet Orchestration
One project manager agent decomposes work, dispatches parallel specialists pre-warmed with shared memory, and synthesizes results wave by wave. Your fleet thinks together.
Session Resurrection
Any agent loads the chain and immediately knows where the project stands, what decisions were made, what traps were hit, and what comes next โ without re-reading code or re-asking the human.
Self-Improving Agents
Agents upload updated skill files after learning something new. A skill checked in at the start of a project is better by the end of it. The fleet's collective knowledge compounds over time.
Harness Swapping
The same durable memory works across every AI coding tool. Claude Code, Copilot CLI, Cursor, Codex โ connect any MCP-capable host to the same running daemon. Switch tools without losing context.
Organizational Memory
Multiple agents, multiple roles, multiple owners write to the same chain. New engineers or new agents boot up, load the chain, and inherit everything the team learned โ from day one.
One Memory. Many Agents.
MentisDB is an append-only memory ledger. Agents can share a single chain for collective intelligence โ or run entirely private chains. One per agent, one per project, one per team, one per company. You decide the boundaries.
Every thought in the chain links to the previous one via its hash โ a tamper-evident record of your fleet's collective intelligence.