Skip to main content

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.

PyPI Python PyPI Status License: AGPL-3.0-or-later Downloads

Slowave gives every MCP-compatible tool a shared, persistent memory. No LLM in the loop, fully local, $0 per query.

Demo

See Slowave in action:

Demo

Cold start discovers project facts. Rule stored in Claude. Recalled days later in Cline — same memory, different sessions, different tools.

What makes Slowave different?

👊 Central memory across every AI tool.
Claude Code, Cline, Claude Desktop, Cursor, Windsurf, and any MCP-compatible client read from and write to the same memory store. Fix a bug in Claude Code tonight — Cline recalls the lesson tomorrow. Context follows you across tools instead of dying inside one chat.

🧠 Memory that learns from use.
Slowave runs a 5-verb cognitive cycle: activaterememberrecallreinforcecommit. Useful memories get stronger, stale ones decay, and outdated facts are superseded automatically. Recall is shaped by salience, time, scope, and feedback — not just raw vector similarity.

🔮 Zero-config cold start.
Drop Slowave into a new project and it auto-discovers key facts from CLAUDE.md, README.md, and other knowledge files. Your agents walk into context without you writing a single prompt.

⚙️ Procedural memory: workflows that stick.
Store reusable procedures — "how we do deploys in this repo", "steps to implement a new feature across projects". Recalled by goal and situation, not keyword search. Your agents learn habits, not just facts.

📐 Smart scoping.
Memory is scoped to exactly what matters: project:my-app, domain:cooking, relationship:alex — or unscoped for universal context. Cross-project bleed is prevented by default.

🔒 Fully local, zero LLM calls.
Ingestion, consolidation, and recall run on your machine using embeddings, FAISS, and SQLite — no API key, no cloud 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 is — and isn't

Slowave is not a markdown file manager, not a static RAG system, and not an LLM wrapper over a vector database.

It's built on a single idea:

Memory consolidation does not require language.

Under the hood, Slowave has two layers:

  • Latent layer — pure geometry over embeddings. Consolidation, reinforcement, decay, supersession, and graph-based connections all run here. Zero LLM calls, ever.
  • Symbolic layer — the language interface. Text is stored and retrieved, but only rendered into natural language when an agent asks for it.

The LLM is an output channel — it verbalizes what memory already knows. It never operates on memory itself.

Design rationale →Architecture →

The big picture

Slowave flow

Install

pipx

pipx install slowave

Homebrew

brew tap mrsalty/slowave https://github.com/mrsalty/slowave
brew install slowave

Then run setup:

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 setup prints 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.

Full install guide →

Benchmarks

93.4% LongMemEval · 81% LoCoMo · 86–89% stale-memory detection — all with zero LLM calls, fully local. Full benchmarks →

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.

Dashboard

Keep Slowave always under control through the local dashboard.

dashboard.png

Use it, and Slowave starts connecting the dots.

dashboard_graph.png

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

slowave-0.5.10.tar.gz (215.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

slowave-0.5.10-py3-none-any.whl (231.4 kB view details)

Uploaded Python 3

File details

Details for the file slowave-0.5.10.tar.gz.

File metadata

  • Download URL: slowave-0.5.10.tar.gz
  • Upload date:
  • Size: 215.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for slowave-0.5.10.tar.gz
Algorithm Hash digest
SHA256 c694a2e5eda23d6631c49b4a9b82073e353ec7a461ef347035265d04e78d1bda
MD5 5c4d49808efedf9cf879c84bc9b4eb3f
BLAKE2b-256 ae10d549744c2e9af7fd22db47b457f9ff4ec404339b5f14a4315b954e9903d8

See more details on using hashes here.

File details

Details for the file slowave-0.5.10-py3-none-any.whl.

File metadata

  • Download URL: slowave-0.5.10-py3-none-any.whl
  • Upload date:
  • Size: 231.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for slowave-0.5.10-py3-none-any.whl
Algorithm Hash digest
SHA256 6751249458452306810877ca799f01096f230446e254aea59bb4ce8dcf6b00a4
MD5 a170e94ae2cfeed8aa0f6f7aa158b6d0
BLAKE2b-256 28f6eadc4864f2076881c81ebd96cdb8213dedb8255c97c5cb737ef0795a7eb2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page