Skip to main content Switch to mobile version memory-os-ai 4.1.3 Local project memory shared by MCP clients, with dated decisions and work state
pip install memory-os-ai==4.1.3 Copy PIP instructions
One local memory, shared by your AI assistants. Connected assistants — Claude Code, Codex, Cursor, VS Code Copilot, Gemini CLI, Grok, Zed… — can read and update the same project state on your machine: dated decisions, open tasks and verifiable history.
Status: ALPHA. Five platform cells are retained; every other platform is refused. Local clients on the same machine; remote/cloud agents are not qualified. Current release: 4.1.3. Limits and evaluation results: see below.
Repository and release assets. RoaminS/Memory-os-ai is the active repository; it replaces the frozen mirror romainsantoli-web/Memory-os-ai. Each GitHub Release since v4.1.1 carries the wheel and the sdist (same bytes as PyPI), the bootstrap with its release pin filled, the unsigned P9 manifest and SHA256SUMS; from v4.1.3 it also carries install.sh, listed in SHA256SUMS like every other asset. The bootstrap template in the sdist (scripts/memory_os_bootstrap.py) previews and refuses to apply (release_pin_unfilled). Qualification: gates P1–P9, plus P10 for the registry command since 4.1.2; the macOS cells are qualified locally and, since 4.1.3, the two Ubuntu cells on GitHub Actions (how releases are made).
A decision stored in one assistant's native memory is not automatically available to another provider. Shared files help with handoffs, but need upkeep. Memory OS AI is a local MCP server your assistants call:
Resume — at session start, a compact brief (≤ 1,500 tokens): decisions in force, open tasks, next action.
Decide — record a dated decision; a correction explicitly replaces the old one and history is kept ("what was true on 2 October?").
Hand over — shared tasks (open / blocked / done) with compare-and-set: two assistants cannot silently overwrite each other's update (SQLite backend).
No LLM inside: your assistant extracts the facts; search runs locally, with the profile you choose at install time: semantic (hybrid BM25 + a 97M-parameter embedding model), the recommended profile, or lexical (literal BM25, no embedding model, no ML stack), the light profile. A retrospective retrieval comparison did not meet the pre-registered joint parity threshold (numbers and limits). No account, no telemetry, no cloud service of ours.
A cell is a system, an architecture and a Python minor version. 4.1.3 retains five cells: the four of 4.1.1 and 4.1.2, and Ubuntu 24.04 x86_64.
The two Ubuntu cells are qualified on GitHub-hosted runners (maintainer decision D6): gates P1 and P3–P7 passed on both, on the 4.1.3 candidate (commit e858ed7, before the version was frozen at 4.1.3). Like the local macOS gates, they are run on the exact 4.1.3 artifact before its publication. The limits of the Linux qualification are below.
Every other platform is refused before anything is written: macOS on Intel, another Linux distribution or version, another architecture, WSL, Windows, another Python version or a Python that is not CPython. The semantic profile stays limited to macOS arm64 with Python 3.11.
This table is a scope and the means of each cell, not the result for the artifact you install. The proof state of that artifact for each cell (a state and the means used to establish it) is written neither in this README nor in the package. The bootstrap preview reads it only from a local P9 manifest (--p9-manifest), which it never fetches and which is not signed: the preview reports what the file declares, and only when the file names the exact wheel the bootstrap pins, the detected cell and its lock. Without such a manifest it reports non testé ("not tested").
Install on macOS and Ubuntu 24.04
One command (since 4.1.3). It needs uv ≥ 0.13.9 on your PATH, which is never downloaded for you, python3 and bash:
env -u BASH_ENV bash -o pipefail -c "unset SSLKEYLOGFILE; curl -q -fsSL --proto '=https' --proto-redir '=https' https://github.com/RoaminS/Memory-os-ai/releases/download/v4.1.3/install.sh | sh" Why this form: env -u BASH_ENV keeps bash from running a startup file named by BASH_ENV before anything else, unset SSLKEYLOGFILE stops curl from writing a TLS key log (the one environment variable its manual documents as writing a file), -q makes it ignore any curlrc, --proto/--proto-redir allow HTTPS only, for the request and its redirects, and pipefail turns a failed download into a failure (a bare curl … | sh reports success when curl fails). A truncated install.sh runs nothing and exits non-zero: its first lines set a guard that only its last line lifts.
What is written before your answer. Nothing is written in $HOME, in the store or in any client configuration, and no service is installed, before you answer y; in your TMPDIR, nothing but one private temporary directory. The only writes before the answer are the two verified files, memory_os_bootstrap.py and SHA256SUMS of the same release (never "latest"), and the lookup cache that Apple's /usr/bin/python3 launcher (an xcrun shim) may create, redirected with xcrun_db, all in a private temporary directory removed at exit and never under your home, physically (a TMPDIR there, or where a store, the state directory or a client configuration directory of your home really lives through a link, is replaced by /tmp). Python runs with -I -S -B before the answer: no .pth, no sitecustomize, no bytecode. install.sh refuses on any download failure or checksum mismatch, then runs the verified bootstrap with --interactive:
a complete preview: every download with its source and size (a standalone CPython included, see below), the environment, the service (label, port, manager, definition, program), the token file (created or reused), the store (a new install gets ~/.local/share/memory-os/store, as quickstart selects it; an existing ~/.memory-os-v4, even empty, is refused before the question and never touched), and each assistant configuration file it would write, for the assistants found on this machine (their configuration file or their command-line tool);
one question, [y/N], read from the terminal, default No. Without a terminal (CI, a pipe) it stops after the preview;
checked before the question: cell, release pin and lock, uv, an existing Python and the SQLite it loads, the destinations, the clients and their paths, the service manager, an existing installation. Checked only after y, once acquired, before anything else is installed: the SQLite and the build of a downloaded standalone CPython (read back from the new environment), the digest of the installed package, and the quickstart preview of that environment;
after y: the lexical profile (no resource download) is installed; quickstart must see exactly what was announced, and quickstart --apply receives the digest of that plan (--expect-plan) and refuses any other one before writing; then /ready is checked, and the follow-up commands (doctor, quickstart --undo
The interpreter: on Ubuntu 24.04, the standalone CPython 3.11 named for the cell (about 49.5 MB on arm64, 49.2 MB on x86_64); on macOS, your python3 when it is a Python of a cell with SQLite ≥ 3.51.3, otherwise the standalone CPython 3.13 (about 25.6 MB). Either download is announced, with its source and size, before the question, and made only after y. Options go after sh -s --, for example … | sh -s -- --clients codex,cursor or --python /path/to/python3.12. The one command installs the lexical profile only: for the semantic profile, use the "Semantic profile (recommended)" commands of the manual install below.
Docker (since 4.1.3; lexical profile, serve in the foreground). No image is published (that needs a separate decision): build it from a clone of the release tag, with the release wheel, checked against SHA256SUMS, in dist/. The token file is yours (mode 0600, owned by uid 10001, the user of the image); the image holds no secret. By default the service listens on the container's own loopback; --container-listen-all (the explicit opt-in, never the default) lets the port published on the host loopback, with the same number on both sides, reach it.
docker build --build-arg WHEEL=memory_os_ai-4.1.3-py3-none-any.whl -t memory-os-ai:local . && docker run --rm -p 127.0.0.1:8765:8765 -v memory-os-data:/data -v /path/to/http.token:/run/memory-os/http.token:ro memory-os-ai:local --container-listen-all Manual install: checked downloads, the pip route with its constraints, the bootstrap options The bootstrap, downloaded and checked by hand (latest release, against its SHA256SUMS). It needs uv ≥ 0.13.9 and a Python of your cell. The first run is a preview that writes nothing; --apply installs and then prints the quickstart --apply command, which you run yourself.
get() { R=https://github.com/RoaminS/Memory-os-ai/releases/latest/download curl -fsSLO "$R/memory_os_bootstrap.py" && curl -fsSLO "$R/SHA256SUMS" && grep ' memory_os_bootstrap.py











