The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the MemCell listing page.
Persistent, adaptive memory engine for AI agents.
Stop your agents from repeating the same mistakes across sessions.
Run it in any project. memcell connect automatically:
memcell mcp)..memcell: Adds a clean, git-safe project descriptor to your repo root.Verify anytime:
Every time you start a new session with an AI agent, it starts with complete amnesia. It falls into the same traps, repeats outdated assumptions, and recreates issues you already resolved yesterday.
Static instruction files and monolithic system prompts don't solve this:
MemCell gives your agents closed-loop memory:
MemCell pairs two lightweight layers so agents stay aligned without getting in your way:
memcell mcp): Provides interactive tools (recall, remember, report, ingest) when agents need to search memory or record discoveries mid-turn.Once connected, agents recall and report memory automatically. You can also interact with memory directly from your terminal:
Memories sharpen when told what happened. When an approach succeeds or fails, report the outcome:
Displays statements followed, errors avoided, estimated tokens saved from prevented error loops, and 30-day activity sparklines.
| Agent / Harness | Integration | How It Runs |
|---|---|---|
| Claude Code | Hooks + MCP + Plugin | Automatic lifecycle hooks or marketplace plugin (/plugin marketplace add memcell-ai/cli) |
| Cursor | Hooks + MCP Bridge | Native lifecycle hooks in .cursor/hooks.json and stdio bridge in .cursor/mcp.json |
| Gemini CLI | Hooks + MCP | Session and prompt hooks via native CLI harness |
| GitHub Copilot CLI | Lifecycle Hooks | Pre-command validation hooks |
| OpenAI Codex / OpenCode | Hooks + MCP | Project descriptor hooks and stdio tools |
| Cline & Windsurf | MCP Bridge | Native editor MCP client configuration |
| Factory Droid, Devin, Kiro, Goose | Hooks + MCP | Workspace adapters and tool harnesses |
| Command | Description |
|---|---|
memcell connect | Connect this directory to MemCell, install hooks, and configure MCP |
memcell status | Check authentication standing, active project, and connection health |
memcell stats | Show statements followed, errors avoided, and token savings |
memcell recall <intent> | Query memory for verified statements and past outcomes before acting |
memcell remember <text> | File a project convention or directive (--at for lifecycle triggers) |
memcell report <id> <outcome> | Report worked, failed, or avoided to update confidence |
memcell ingest <file> | Distill a document or specification into atomic memories |
memcell import [files...] | Import existing guideline files (CLAUDE.md, etc.) |
memcell export | Export project memories as a portable document (--format json|md) |
memcell orgs | List or switch active organization (memcell orgs switch <slug>) |
memcell projects | List or switch active project (memcell projects use <slug>) |
memcell hook remove | Cleanly remove all MemCell hooks from this directory |
memcell reset | Clear all cached credentials, keys, and tokens on this machine |
Run memcell --help or memcell <command> --help for full flag details.
To remove MemCell hooks from a repository without touching your code:
To remove all stored keys and credentials from your local machine:
Apache License 2.0 · © 2026 OpenOri