Brain-inspired long-term memory for AI agents — zero LLM during ingest or retrieval
Project description
Slowave
A shared local memory layer for your AI tools.
Install once. Every AI client you use can remember your work, decisions, and preferences, across sessions and across tools. Claude Code, Cursor, Cline, Windsurf, Claude Desktop, and any MCP-compatible client all read and write the same local memory. Fully local and at €0 extra token cost.
What it feels like
You use your AI tools normally.
-
Start a session → relevant context is restored
-
Work → decisions and patterns are stored automatically
-
Switch tools → context follows you
-
Resume later → memory is still there
This creates continuity across tools:
You stop re-explaining project conventions, decisions, and past debugging work across tools.
The memory gets better with use
Slowave is not just a note bucket. It consolidates.
A single interaction becomes an episode. Related episodes become prototypes. Repeated prototypes become schemas. Useful memories strengthen; stale ones decay; outdated facts can be superseded. Over time, project-specific lessons can become general concepts your clients surface elsewhere.
That is the compounding loop:
use your AI tools
→ Slowave stores durable signals
→ offline consolidation
→ better context next time
→ your client will remember the relevant context
→ your work becomes more and more efficient
The first day, Slowave may remember a fact. After a month, it starts to feel like your tools know the parts of you that matter for work: your projects, preferences, decisions, conventions, debugging history, and recurring choices.
Why it is different
Slowave is built on one claim:
Memory consolidation does not require language.
The LLM verbalizes retrieved memory; it does not operate on memory itself. Ingestion, consolidation, reinforcement, decay, supersession, and recall run locally at €0 extra tokens as memory mechanisms over embeddings.
Slowave gives you:
- One memory across tools — Claude Code, Cline, Claude Desktop, Cursor, Windsurf, and any MCP-compatible client share the same store.
- Fully local memory — no cloud backend, no external memory service, no Ollama, no vector database to run.
- Zero LLM calls for memory operations — consolidation and recall run locally, at €0 per query.
- Compact context instead of history replay — internal tests showed 86% smaller context over 20 sessions while preserving expected recall quality. See the token-efficiency test →
- Feedback-shaped recall — useful memories strengthen; irrelevant, stale, or wrong memories can be suppressed.
- Scoped memory — project, domain, relationship, or universal context. Cross-project bleed is prevented by default.
Design rationale → · Architecture →
Install
pipx install slowave
# or
brew tap mrsalty/slowave https://github.com/mrsalty/slowave && brew install slowave
Then wire every client Slowave can find:
slowave setup --dry-run # see what will change
slowave setup # configure clients, lifecycle hooks, and worker
slowave doctor # verify installation
slowave setup is idempotent and safe to re-run. Claude Desktop and Cursor need one manual paste because their instruction surfaces are not programmatically editable; slowave setup prints the exact text and path. Full install guide →
The default text encoder downloads its model from HuggingFace on first use (~45 MB); later runs work offline.
Memory lives at ~/.slowave/slowave.db, a plain SQLite file. It is local and inspectable, but unencrypted by default. If you store sensitive information, protect it with OS-level permissions or full-disk encryption.
Benchmarks
All Slowave runs: zero LLM calls, local CPU, no API key.
| Benchmark | What it tests | Slowave |
|---|---|---|
| LongMemEval | Facts, updates, preferences across many sessions with realistic distractors | 87.8% |
| LoCoMo | Cross-session recall across real conversations, 5 categories | 76% |
| StaleMemory | Detecting when a stored preference has silently changed | 86–89% |
Beta-stage results. Internal runs, not independently verified. Slowave scores with keyword-overlap; most competitors use an LLM-as-judge, so numbers are not directly comparable. Full benchmarks →
Honest limits
Slowave is beta software. It is useful today, but it is deliberately not an LLM-based reasoning layer.
- It recalls what was stored; it does not infer unstated preferences.
- It retrieves individual memories; it does not do cross-session counting or arithmetic.
- Contradiction detection is heuristic, not guaranteed.
- It is not safety-critical memory infrastructure.
These are trade-offs of the zero-LLM design, not hidden features. Known limitations →
What it is not
Slowave is not a language model, reasoning engine, or agent framework. Your AI client still plans, reasons, writes code, executes tools, and answers you. Slowave is the memory layer underneath it.
It is also not a markdown file manager, static RAG system, or LLM wrapper over a vector database. Memory changes through reinforcement, decay, supersession, consolidation, and feedback before it is rendered back into language.
Dashboard
Watch memory compound through a local web UI: inspect what Slowave has learned, search recall, and see the memory graph grow as sessions consolidate.
Documentation
- design.md — the brain-inspired rationale. Read this first if you want to understand why.
- architecture.md — how consolidation works.
- install.md — install, setup, per-client wiring, troubleshooting.
- benchmarks.md — per-category results, strengths, known gaps, reproducibility.
- limitations.md — capability gaps and design trade-offs.
- token_efficiency.md — context size vs. history replay and static knowledge files.
- slowave_setup.md · manual_setup.md · cli.md · dashboard.md — reference.
Contributing
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.9.1.tar.gz.
File metadata
- Download URL: slowave-0.9.1.tar.gz
- Upload date:
- Size: 329.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
120087240105a595636b4d0f7952c531e99bdc04d9b15ec39ce254af7bc32df8
|
|
| MD5 |
aff2ed5b3d37e5351ec07d9d75526ed7
|
|
| BLAKE2b-256 |
9d96ded008e9c5fcc6c638d2fc080c60c6e6ff0112e62e0195f7d09bb1eda568
|
File details
Details for the file slowave-0.9.1-py3-none-any.whl.
File metadata
- Download URL: slowave-0.9.1-py3-none-any.whl
- Upload date:
- Size: 346.0 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 |
67f0ffc328d6bb97b3df2a5d7610d7b87ed6dabee2f6fda72e590dbd2c208420
|
|
| MD5 |
31e5cbfd29e4428f83eff2a3e2906f25
|
|
| BLAKE2b-256 |
64ba5a9b36aeb6103e046aa93a405f23ceca0fdd3269842a292328c749b127a8
|