Brain-inspired long-term memory for AI agents โ zero LLM during ingest or retrieval
Project description
Slowave
One private memory layer across your AI clients.
Slowave gives Claude Code, Cline, Cursor, Claude Desktop, Windsurf, and other MCP-compatible tools access to the same persistent memory.
Instead of each tool forgetting in isolation, Slowave gives them one shared memory layer that:
๐ persists across sessions
๐ follows you across tools
๐ keeps project context outside any single assistant
๐ reduces your token usage
๐ evolves over time
๐ costs $0 โ no LLM in the loop
๐ runs locally on your CPU
Why try Slowave?
Most AI tools have isolated memory.
One assistant may know what happened yesterday, while another starts from zero. Even when a tool remembers something, that memory usually stays trapped inside that tool.
That means you keep repeating the same context every time you switch client, model, workspace, or session:
- how your project is structured;
- how tests and releases work;
- what decisions were already made;
- what preferences you have;
- what previous debugging sessions discovered;
- what should no longer be suggested.
Slowave gives AI tools a centralized memory layer.
The memory is local-first, but the product idea is broader: one memory substrate shared by all your AI tools.
Slowave is useful if you want:
- one memory shared across multiple AI tools;
- persistent memory across sessions;
- context that survives switching clients or models;
- local-first storage;
- no LLM calls in the memory loop;
- scoped project memory;
- adaptive recall with reinforcement, decay, and supersession;
- compact working-memory briefs instead of huge pasted context blocks.
In short:
Slowave helps every AI tool start from the same memory.
The big picture
โโโโโโโโโโโโโโ work with โโโโโโโโโโโโโโโ
โ โ โโโโโโโโโโโโโถ โ Claude Code โ โโโโโ
โ โ โโโโโโโโโโโโโโโ โ (mcp)
โ You โ โโโโโโโโโโโโโโโ โ context โโโโโโโโโโโโโโ
โ (local) โ โโโโโโโโโโโโโถ โ Cline โ โโโโโผโโโถ remember โโโโโถ โ Slowave โโโโโโโโโ
โ โ โโโโโโโโโโโโโโโ โ recall โ (local) โ โ
โ โ โโโโโโโโโโโโโโโ โ procedure โโโโโโโฌโโโโโโโ โ
โ โ โโโโโโโโโโโโโถ โ Cursor โ โโโโโ feedback โ evolves โ
โโโโโโโโโโโโโโ โโโโโโโโฌโโโโโโโ โ decays โ
โ โ reinforces โ
โ โ consolidates โ
โผ โ learns โ
โโโโโโโโโโโโโโ โ workflows โ
โ LLM โ โโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโ
Install
pipx install slowave
slowave setup --dry-run
slowave setup
slowave doctor
slowave setup detects your platform, wires every client it finds, injects lifecycle hooks, and starts the background worker. Idempotent and safe to re-run. See what gets modified โ
[!NOTE] The default text encoder downloads its model from HuggingFace on first use (~45 MB); subsequent runs work fully offline.
[!IMPORTANT] Claude Desktop: after setup, paste the lifecycle block into Settings โ General โ Instructions for Claude. Cursor: after setup, paste the lifecycle block into Settings โ Rules for AI.
slowave setupprints the exact text and location for both. All other clients (Cline, Claude Code, Windsurf) are fully automated.
slowave doctor # verify installation
slowave stats # memory snapshot
Memory is stored at ~/.slowave/slowave.db. No Ollama, no vector database, no cloud service required.
Privacy: Slowave stores all memory (facts, episodes, embeddings, logs) locally in a plain SQLite database file. No memory leaves your machine โ it's never sent to a cloud service, and the database file is unencrypted (you can inspect it with SQLite tools). If you store sensitive information, protect the database file using OS-level permissions or full-disk encryption.
What makes Slowave different?
๐ Central memory across every AI tool.
Claude Code, Cline, Claude Desktop, Cursor, Windsurf, and any MCP-compatible client can read from and write to the same memory store. Fix a bug in Claude Code tonight โ Cline can recall the lesson tomorrow. Decide on an architecture in Claude Desktop โ it can surface in your next coding session. Context follows you across tools instead of dying inside one chat.
๐ง Adaptive memory, not just notes or a vector index.
Slowave memory changes with use: useful memories are reinforced, stale ones decay, and outdated ones can be superseded. Recall is shaped by salience, time, scope, and feedback โ not just raw vector similarity.
โ๏ธ Procedural memory: workflows that stick.
Slowave stores reusable procedures โ "how we do deploys in this repo", "steps to implement a new feature across projects" or simply "how this spaghetti recipe should be cooked". Recall them by goal and situation, not by keyword search. Your agents learn habits, not just facts.
๐ Fully local, zero LLM calls.
Ingestion, consolidation, and recall run on your machine using embeddings, FAISS, and SQLite โ no LLM in the memory loop, no API key, no data sent to a cloud memory backend. Memory operations cost $0 per query.
๐ฐ Compact context instead of history replay.
Slowave injects a small working-memory brief instead of replaying full chat history. In internal tests, this reduced context size by 86% over 20 sessions while preserving high recall quality. See the test โ
What Slowave remembers
Anything that should survive across sessions and tools: preferences, decisions, constraints, lessons learned, open questions, and reusable workflows โ for work, research, or personal use. Each memory carries a timestamp, decays if never recalled, and strengthens when it proves useful. Contradictions are detected geometrically and old facts are superseded automatically โ no LLM required.
Memory is scoped flexibly: project:my-app, domain:cooking, relationship:alex โ or unscoped for universal context.
Benchmarks
Alpha-stage numbers. Internal runs, not independently verified. See docs/benchmarks.md for per-category results, known gaps, and reproducibility.
On fact-recall benchmarks, Slowave reaches scores competitive with LLM-based memory systems โ with zero LLM calls. Gaps remain in implicit preference inference and behavioral style drift, which require LLM reasoning that Slowave deliberately avoids. See known gaps โ
| Benchmark | n | Slowave | Published / reported comparator | Slowave LLM calls |
|---|---|---|---|---|
| LoCoMo (multi-session recall) | 1 986 | 81% | Zep 75.1% ยท LangMem 58.1% ยท GPT-4 fine-tuned ~76% | 0 |
| LongMemEval (full haystack) | 500 | 93.4% | Mem0 94.4%โ | 0 |
| StaleMemory โ concrete preference driftโก | 900 | 86โ89% | no published baseline | 0 |
โ Mem0 uses GPT-5 as judge; Slowave uses keyword-overlap. The 1 pp LME gap falls within the expected difference between these two scoring protocols โ the gap would likely narrow on the same scorer, but this has not been directly measured. The LoCoMo gap is large enough to hold across any reasonable scorer. All Slowave runs: zero LLM calls, fully local. Full methodology โ
โก Concrete-keyword subset of 1,200 total StaleMemory scenarios. Abstract behavioral drift (the remaining 300 scenarios) scores 0โ1% โ a structural limit of retrieval-only systems. See known gaps โ
How Slowave compares
Most agent-memory systems focus on extracting and retrieving memories for one LLM-based agent or application. Slowave takes a different path: it is a centralized, MCP-native memory substrate shared across tools, where the memory lifecycle itself โ recall, reinforcement, decay, supersession, feedback, and procedural reuse โ runs without an LLM in the loop.
| MEMORY.md | Plain RAG | Mem0 / Zep / Graphiti | Letta / LangMem | Slowave | |
|---|---|---|---|---|---|
| Persistent across sessions | โ | โ | โ | โ | โ |
| Shared across MCP tools | โ ๏ธ | โ ๏ธ | โ ๏ธ | โ ๏ธ | โ |
| Local-first by default | โ | โ | โ ๏ธ | โ ๏ธ | โ |
| Adaptive recall over time | โ | โ | โ ๏ธ | โ ๏ธ | โ |
| Reinforcement / decay without LLM calls | โ | โ | โ | โ | โ |
| Supersession / stale-memory handling | โ | โ | โ | โ ๏ธ | โ |
| Procedural memory / workflows | โ ๏ธ | โ | โ ๏ธ | โ | โ |
| Zero memory API cost | โ | โ | โ | โ ๏ธ | โ |
โ = native or central capability.
โ ๏ธ = possible, partial, backend-dependent, or LLM-mediated.
โ = not a primary/default capability.
Dashboard
Keep Slowave always under control through the local dashboard.
You use it, Slowave will start connecting the dots
Documentation
| docs/design | the brain-inspired rationale behind Slowave |
| docs/architecture.md | How memory consolidation works |
| docs/install.md | Install, setup, per-client wiring, troubleshooting |
| docs/slowave_setup.md | slowave setup command help |
| docs/manual_setup.md | Step-by-step manual configuration guide |
| docs/benchmarks.md | Per-category results, strengths, known gaps, reproducibility |
| docs/token_efficiency.md | Token efficiency vs. history replay and static knowledge files |
| docs/limitations.md | Capability gaps, design trade-offs, deployment limits |
| docs/cli.md | CLI reference |
| docs/dashboard.md | Local web UI (slowave dashboard) |
Contributing
Slowave is open source under AGPL-3.0-or-later. Bug reports, install feedback, and focused improvements are welcome โ read CONTRIBUTING.md before opening a PR. Commercial licensing terms may be offered in the future.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file slowave-0.5.8.tar.gz.
File metadata
- Download URL: slowave-0.5.8.tar.gz
- Upload date:
- Size: 206.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4ec339d40e7a7cb6d47d5fe8088f24c0eb98ec3fd6531def2169d7a0d1435173
|
|
| MD5 |
594856d6d542f12a1b79afe7595b9b86
|
|
| BLAKE2b-256 |
75bbb490500bb26610ec5d4b9945cb3d2d4740ceb9174fa1906bda8c41b1ff4b
|
File details
Details for the file slowave-0.5.8-py3-none-any.whl.
File metadata
- Download URL: slowave-0.5.8-py3-none-any.whl
- Upload date:
- Size: 220.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a34bd44e77ef0a033416882cd0916cc9030bb4f23e630bc92026db37ba096e11
|
|
| MD5 |
1de3aeb09b84c7abfe964ea5bb1f7a62
|
|
| BLAKE2b-256 |
8e3318c02f57f9ffce63c54ff6fb81edf71fdfb9867215cc06ea8d8650e4afae
|