Default
Start on SQLite.
One user, one machine, one file. The eleven core MCP tools run against it, and there is nothing else to operate. In this mode, memory review happens through the tools themselves.
alice_memory_reviewalice_memory_correct
Open source · MIT · local-first
Alice is an open-source, local-first memory and continuity layer for AI agents. One command, one SQLite file, eleven MCP tools. No account, no API key, no server.
$ uvx alice-memory mcp --data-dir ~/.alice
Python 3.12+ and nothing else. Roughly 7 seconds cold, under a second warm.
Alice gives an AI agent a memory that survives the session: what it learned, what was decided, what is still open.
It runs on your machine as an MCP server over stdio, reading and writing one local SQLite file.
When a memory is corrected, later recall reflects the correction and can explain why it changed.
An agent connected to Alice records what it learns during a session and recalls it in a later one, unprompted. This loop is verified end to end on the published artifact, not on a development branch.
Full-text and vector search run together, fused by reciprocal rank. If no embeddings endpoint is configured, Alice drops to full-text alone rather than failing.
When a memory is superseded, later recall reflects the correction and can explain why. Memories carry provenance and an audit chain, so an agent can say where a belief came from instead of just asserting it.
Alice tracks open loops (blockers, waiting-fors) and writes resumption briefs: here is where work stopped, and what should happen next. The next session starts from there, not from a transcript.
81.2%
mean over three independent full runs
LongMemEval_s · 500 questions · zero errors · tag v0.12.0
We ran it three times because running it once is a screenshot.
Per-question evidence for all three runs is committed to the repo, alongside the reader,
judge and embedding configuration and a script to reproduce the result.
It measures the published v0.12.0 tag, not the current release.
The weakest category and the noisiest subset are printed in the limits section below, not in a footnote.
One claim on this page, corrected in place
v0.15.1 ships with artifact digests
verified from independent sources.
why The wider claim covered historical releases nobody had re-verified. Narrowed rather than deleted, and left visible — the same rule the release notes follow, and the same thing Alice does to a memory when it is superseded.
You run agents in an MCP-capable host: Claude Desktop, an IDE, Hermes (Nous Research), or OpenClaw. You want them to stop starting from zero, and you want the memory to live in a file you own rather than in someone else’s database.
Default
One user, one machine, one file. The eleven core MCP tools run against it, and there is nothing else to operate. In this mode, memory review happens through the tools themselves.
alice_memory_reviewalice_memory_correctWhen you outgrow it
Postgres with pgvector adds a web review console, a place to approve, correct and forget memories at a desk rather than through tool calls.
If you are one person with one machine, you do not need it yet.
Our release notes print limitations at the top, not the bottom. When one of them turned out to be false, it was struck through and withdrawn in place, with the evidence, rather than quietly deleted. The same rule applies to this page, so here is the list.
01
If your workload leans hard on stitching facts together across many sessions, that is the number to look at, not the headline mean.
02
The 30-question abstention subset moves between runs, so we do not quote it to one decimal place.
03
/v1 surface is loopback-only.It authenticates but does not yet authorize, so it is documented as loopback-only. Keep it on your local machine; do not put it on a network.
04
OpenClaw does not support MCP. Connecting Alice would need a plugin built against
their SDK.
why
Wrong. This was written from OpenClaw’s published docs without running OpenClaw.
It ships an MCP client, and Alice connects over stdio with one config entry and no
plugin: openclaw mcp probe reports alice: 11 tools. Withdrawn
in place rather than deleted, under the same rule as the claim in section 03.
05
Automated scanning plus internal adversarial review, with findings triaged and fixed. No third-party audit has been performed, and we will not use the word until one has.
The full list lives in the known-limitations doc in the repo.
$ uvx alice-memory mcp --data-dir ~/.alice
Or, without uv:
$ pip install alice-memory && alice-memory mcp --data-dir ~/.alice
Python 3.12+ is the only requirement. No Docker, no Node, no Postgres, no account, no API key. It serves eleven MCP tools over stdio against a single SQLite file in the directory you chose.
Add to your MCP client config:
{
"mcpServers": {
"alice": {
"command": "uvx",
"args": ["alice-memory", "mcp", "--data-dir", "/ABSOLUTE/PATH/TO/.alice"]
}
}
}
Hermes reads ~/.hermes/config.yaml, YAML under mcp_servers:
mcp_servers:
alice:
command: "uvx"
args: ["alice-memory", "mcp", "--data-dir", "~/.alice"]
Note
Hermes does not pass your shell environment to MCP servers, so anything Alice needs
(an embeddings endpoint, for example) must go in an env block rather than
an export in your shell.
OpenClaw reads ~/.openclaw/openclaw.json. The servers live under
mcp.servers, nested, unlike Hermes’ flat mcp_servers:
{
"mcp": {
"servers": {
"alice": {
"command": "uvx",
"args": ["alice-memory", "mcp", "--data-dir", "~/.alice"]
}
}
}
}
Or from the command line, which probes the server before saving:
$ openclaw mcp add alice \
--command uvx \
--arg alice-memory --arg mcp \
--arg --data-dir --arg ~/.alice
$ openclaw mcp probe
- alice: 11 tools
Note
OpenClaw prefixes MCP tool names with the server name, so alice_recall
reaches the model as alice__alice_recall.
That is the whole setup. Configure an embeddings endpoint if you want vector search; without one, retrieval runs on full-text alone.
The difference between an agent that can use memory and one that does. The repo ships a skill pack per host, telling the agent when to reach for memory instead of leaving it to guess. Copy the directory, not the file:
$ cp -R agent-skills/openclaw/alice-project-memory ~/.openclaw/skills/
$ cp -R agent-skills/hermes/alice-memory ~/.hermes/skills/
A skill grants no tools on its own. It tells the agent how to use the ones the MCP server already provides.
Small print
the PyPI package is alice-memory. The name alice-core on PyPI
belongs to an unrelated project.