Small by design
One fact is one assertion: a key, up to 600 characters, a source. The agent writes it the moment it is confirmed.
Fact memory for Pi, Claude Code and cli2027
Short facts about your projects, with a source and a revision. Fast lexical search from every machine. No background models, no harvesting, no conversation uploads.
One fact is one assertion: a key, up to 600 characters, a source. The agent writes it the moment it is confirmed.
One personal memory across machines and projects, with origin labels. Other projects are examples, never rules.
Revisions, history and conflicts stay visible. Facts whose source changed are flagged for a check.
Writes are queued durably and retried. Searches fall back to a labelled local cache.
One bearer token, credentials refused in every field, nothing sent that the agent did not choose to write.
Lexical search with stems and bilingual tags. No vectors, no embeddings, no daemon.
Requires Node.js 22.13+ and Pi, Claude Code or cli2027. The installer first shows a plan: it removes old smem integrations without touching the rest of your agent settings.
curl -fsSL https://smem.dev/install.sh | bash
irm https://smem.dev/install.ps1 | iex
A saved token is used automatically. On a new machine the wizard asks for it with hidden input, shows the plan and asks for confirmation.
Where to get the token: the token field of ~/.config/smem/config.json on an already configured machine. On Windows: $HOME\.config\smem\config.json. Never send it in a chat. After installing for Pi: /reload, then /memory. For Claude Code, restart the session.
The one-line command runs code from smem.dev. To review it first, download install.sh or install.ps1 separately. The loader verifies the installer's SHA-256; this is an integrity check, not an independent signature. Target: --agent pi|claude|cli2027|all|auto. By default auto picks Pi, Claude Code and/or cli2027 based on which of ~/.pi/agent, ~/.claude and ~/.config/cli2027 exist, and Pi if none do. For cli2027, an HTTP smem server with token_file is added to ~/.config/cli2027/mcp.toml (needs a cli2027 build no older than cf94321); an existing smem entry is left unchanged. For Claude Code: curl -fsSL https://smem.dev/install.sh | bash -s -- --agent claude. Other options: --dry-run, --apply --token-file PATH, --project PATH.