al-buddy-memory
v0.12.0Governed local memory for AI agents: facts are retired, not overwritten, and every call is audited.
Values you need
| Variable | What it is | |
|---|---|---|
AL_BUDDY_MEMORY_DB | optional | The SQLite memory file. A leading ~ is expanded. Default: ~/.al-buddy-memory/brain.db |
AL_BUDDY_MEMORY_OWNER | optional | Whose memory this is; the owner's policy applies to every call. Default: owner |
AL_BUDDY_MEMORY_AUDIT | optional | Optional JSONL file for the audit chain instead of the database's own table. One writing process per file. |
AL_BUDDY_MEMORY_AUDIT_KEY | optional secret | Optional HMAC key for the audit chain. Keep it away from the trail. |
AL_BUDDY_MEMORY_SEMANTIC | optional | Set to off for keyword-only recall; the on-device embedding model is then never downloaded. Default: on |
AL_BUDDY_MEMORY_MODEL_CACHE | optional | Where the on-device embedding model (about 90 MB, downloaded once) is kept. Default: ~/.al-buddy-memory/models |
AL_BUDDY_MEMORY_INDEX_LIMIT | optional | Most facts embedded in the background per start (0 skips it). Default: 5000 |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add al-buddy-memory -- npx -y al-buddy-memory@0.12.0 mcpAdd to
claude_desktop_config.json{
"mcpServers": {
"al-buddy-memory": {
"args": [
"-y",
"al-buddy-memory@0.12.0",
"mcp"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"al-buddy-memory": {
"args": [
"-y",
"al-buddy-memory@0.12.0",
"mcp"
],
"command": "npx"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"al-buddy-memory": {
"args": [
"-y",
"al-buddy-memory@0.12.0",
"mcp"
],
"command": "npx",
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.al-buddy-memory]
command = "npx"
args = ["-y", "al-buddy-memory@0.12.0", "mcp"]For AI agents
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: remember, recall, history, explain, mental_model, define_mental_model, invalidate, pin, ….
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json