Documentation · Quickstart · Agent integrations · Benchmarks · Discussions
- MCP Registry name:
mcp-name: io.github.RooAGI/membrick
Membrick: persistent memory for AI coding agents
One memory for every agent. 75% fewer tokens.
8 agent harnesses. 1 shared project memory. No embedding, database, or server setup.
Membrick is open-source, local-first AI agent memory for Claude Code, Codex, Gemini CLI, Antigravity, Muse Code, OpenClaw, Hermes, and RooAGI AgentFlow. It remembers your project's decisions, sessions, docs, and code across sessions, and gives your agent the current answer instead of a stale one. One memory, shared by every agent, stored locally in your project. No hosted cloud, no data leaves your machine.
The problem: your project changes its mind
Monday's doc says gateway timeout retries are 5. Friday's says 2. Both are still in the repo, and a normal search returns either one and leaves the model to guess.
Membrick keeps 2 as the current answer and 5 as history. That is the
whole point: memory that knows what is still true.
It works anywhere project truth changes over time: architecture decisions, API contracts, config values, runbooks, ownership, terminology, plans.
What it does
- Remembers sessions, decisions, docs, and code across sessions
- Ranks current evidence ahead of superseded guidance, with sources
- Answers "is this still true?" instead of just "is this similar?"
- Catches contradictions, stale claims, terminology drift, and orphan pages
- Stays local and inspectable: a dashboard shows what is in memory
Quickstart
cargo install --git https://github.com/RooAGI/Membrick
membrick install claude /path/to/project
membrick query "what is the current retry policy?" /path/to/project
See the CLI reference and full quickstart for Docker, HTTP, Python, Rust, and MCP setup.
Agent integrations
| Integration | Project memory | Lifecycle capture | MCP tools | Replay |
|---|---|---|---|---|
| Claude Code | Yes | Yes | Yes | Yes |
| Codex | Yes | Yes | Yes | Yes |
| Gemini CLI | Yes | Yes | Yes | — |
| Antigravity CLI / AGY | Yes | Yes | Yes | — |
| Muse Code | Yes | Yes | Yes | — |
Plus OpenClaw, Hermes, and
RooAGI AgentFlow: all eight share the same
.membrick/memory/ store, so a decision recorded by one agent is visible to
the others.
Lifecycle capture saves every transcript message into searchable turn
documents (Claude Code and Codex; other agents save what their payloads
provide), plus the session summary. Capture is verbatim: no observer LLM
compresses your sessions. record_session is separate, an opt-in replay log.
membrick install also installs 20 skills (.claude/skills/,
.agents/skills/), including membrick-search and membrick-memory, which
enforces MCP-first search. They wrap the MCP tools; they do not learn new
skills on their own. The learning signal that exists is the search-feedback
loop, reviewed in the dashboard.
All agents share one project store: /path/to/project/.membrick/memory/.
Legacy per-provider stores are migrated on first run.
Dashboard
The local server serves a read-only dashboard at /dashboard. Find its URL in
.membrick/server.toml (dashboard_url). Four views: Overview, Index,
Providers, Search reviews. Data refreshes every five seconds.
See observability.
Benchmarks
LongMemEval-S, 500 questions, 2026-10-16, heuristic backend, no embeddings: any-hit Recall@5 / @10 / @20 96.6% / 98.8% / 100.0%, MRR 88.85%, NDCG@10 87.91%, mean search 3.48 ms. Details
LoCoMo agentic evaluation, 1,540 questions, reader and judge both Muse, up to 5 search rounds: 78.5% overall (single-hop 86.4%, multi-hop 60.6%, temporal 80.7%, open-domain 54.2%). Not directly comparable to Letta's 74.0% or Mem0's 92.5%, which use different readers, judges, and protocols. BEAM has not been run. Details
Retrieval cost, same 1,540 questions, k=3: about 1,196 tokens per search (chars/4 estimate; median 1,198, p95 1,647), about 6,948 per question at ~5.8 searches each. Mem0 reports ~6,956 tokens per query on LoCoMo, so per search we run ~6x lighter; per question it comes out about even.
Token savings, same routing-decision-supersession scenario, diagnostics not
guarantees: Claude, 3 runs per setup, fresh input tokens 128 → 32 (-75.0%),
overall tokens 2,884,478 → 605,686 (-79.0%), tool calls 65 → 14, recall 9/9.
Codex, 1 run per setup, overall tokens 313,066 → 196,102 (-37.4%), tool calls
7 → 4, recall 3/3. No single token-savings headline: the figures differ by
provider and run count.
Claude ·
Codex
How it works
Sessions, docs, code, and traces go in. Facts, entities, symbols, and time come out. Links, ownership, and supersession connect them. Search returns ranked, sourced, current context.
Search is keyword-based plus entity and graph signals. No embeddings, no vector database, no neural reranker. Follow-up questions inside a session get reranked by default. Chunking is heading / line based, with a symbol index; not AST-aware. Details
Use it from your stack
# CLI
membrick query "what is the current retry policy?" /path/to/repo
# Docker / HTTP (team server: self-hosted, token or JWT auth)
export SERVER_TOKEN=local-dev-token
docker compose up --build -d
curl http://127.0.0.1:8080/health
import membrick
memory = membrick.Memory(path=".") # this project's resident
memory.add([{"role": "user", "content": "Docker runs on Ubuntu hosts"}], user_id="user-1")
print(memory.search("docker ubuntu", user_id="user-1", top_k=5))
# Remote server: membrick.Memory(base_url="http://127.0.0.1:8080", api_key="local-token")
use membrick::{MemoryService, PipelineOptions};
let mut memory = MemoryService::in_memory(PipelineOptions::default());
// upsert documents, refresh, search_with_filters — see docs/memory-service-api.md
See the HTTP server guide and full quickstart.
Project status
Current release: v0.10.1, published on crates.io, npm, and PyPI. Apache-2.0.
Membrick is under active development. The release query path uses the heuristic backend; experimental model-backed query semantics stay separate.
License
Apache-2.0
Metadata
Release files for membrick 0.10.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| membrick-0.10.3.tar.gz | 4.2 MB | With provenance | Details for membrick-0.10.3.tar.gz |
Built distributions (wheels)
| File | Actions Reset | |||
|---|---|---|---|---|
| membrick-0.10.3-cp38-abi3-win_amd64.whl | CPython 3.8 | abi3 | Windows x86-64 | Details for membrick-0.10.3-cp38-abi3-win_amd64.whl |
| membrick-0.10.3-cp38-abi3-manylinux_2_39_x86_64.whl | CPython 3.8 | abi3 | Linux glibc 2.39+ x86-64 | Details for membrick-0.10.3-cp38-abi3-manylinux_2_39_x86_64.whl |
| membrick-0.10.3-cp38-abi3-manylinux_2_39_aarch64.whl | CPython 3.8 | abi3 | Linux glibc 2.39+ ARM64 | Details for membrick-0.10.3-cp38-abi3-manylinux_2_39_aarch64.whl |
| membrick-0.10.3-cp38-abi3-macosx_11_0_arm64.whl | CPython 3.8 | abi3 | macOS 11.0+ ARM64 | Details for membrick-0.10.3-cp38-abi3-macosx_11_0_arm64.whl |
| membrick-0.10.3-cp38-abi3-macosx_10_12_x86_64.whl | CPython 3.8 | abi3 | macOS 10.12+ x86-64 | Details for membrick-0.10.3-cp38-abi3-macosx_10_12_x86_64.whl |
Total release size: 101.1 MB
Release files / membrick-0.10.3.tar.gz
| Download URL | membrick-0.10.3.tar.gz |
|---|---|
| Size | 4.2 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2bd0379dcbf6651a664a53873c816e939455f5f698e004e40b3510914e1eaf47
|
|
BLAKE2b-256 checksum How to use checksums |
937b84d9eb3b9a5f8a13b5a117472109ae2b3bbc380c72ca2f0b6c2c8308a9a3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.
Transparency logRelease files / membrick-0.10.3-cp38-abi3-win_amd64.whl
| Download URL | membrick-0.10.3-cp38-abi3-win_amd64.whl |
|---|---|
| Size | 18.3 MB |
| Tags | CPython 3.8 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
ac2a38a38247491fcd264e3dd402bb774dce622c405d9a0b2c7a760cdf66b1dd
|
|
BLAKE2b-256 checksum How to use checksums |
39e76a075941299c1693aeb5b42b17aa8be1a5f6a396efd9ef8899478b783e84
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.
Transparency logRelease files / membrick-0.10.3-cp38-abi3-manylinux_2_39_x86_64.whl
| Download URL | membrick-0.10.3-cp38-abi3-manylinux_2_39_x86_64.whl |
|---|---|
| Size | 20.4 MB |
| Tags | CPython 3.8 Linux glibc 2.39+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
93eb53b0b2e8d9a13c05281cfab97ab04043ad354ae7c2700b8d16466b2808a5
|
|
BLAKE2b-256 checksum How to use checksums |
7948f568f2c8e50b13863a37748fdb700405483c62a30c9fbc5073efbf17b440
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.
Transparency logRelease files / membrick-0.10.3-cp38-abi3-manylinux_2_39_aarch64.whl
| Download URL | membrick-0.10.3-cp38-abi3-manylinux_2_39_aarch64.whl |
|---|---|
| Size | 20.1 MB |
| Tags | CPython 3.8 Linux glibc 2.39+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
45af0f722c451369e25eee4e9a9776eab136d8a3b591c2f27921d56b8db53518
|
|
BLAKE2b-256 checksum How to use checksums |
b80252e7f44e25c319060ac44b3e007d5b66b557455a7d904785933f15f53676
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.
Transparency logRelease files / membrick-0.10.3-cp38-abi3-macosx_11_0_arm64.whl
| Download URL | membrick-0.10.3-cp38-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 18.5 MB |
| Tags | CPython 3.8 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
390706f25a764eb626407ad79d4deee790d3462d52197638b1ffccf7ea818b9c
|
|
BLAKE2b-256 checksum How to use checksums |
d03fca885e7a4520ffd5d8236da435bca638fc51a00804a72a9015052b97bb4c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.
Transparency logRelease files / membrick-0.10.3-cp38-abi3-macosx_10_12_x86_64.whl
| Download URL | membrick-0.10.3-cp38-abi3-macosx_10_12_x86_64.whl |
|---|---|
| Size | 19.6 MB |
| Tags | CPython 3.8 abi3 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
2d64c7b110ca690855cd93f00150e170d3bd83f00f4b43bf6ad278a827e58084
|
|
BLAKE2b-256 checksum How to use checksums |
3abceb4b0aafdc2a4c22c74257b17f5815ddba88bf429ffaa2b28fa5ae0a66b9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.
Transparency logSecurity for membrick 0.10.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 6 files in this release have been uploaded with provenance metadata.
Attestation for membrick-0.10.3.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.