Code & Scripts
Local Agent Memory Manager Using Claude Dreaming Pattern
A local-first CLI tool that consolidates and compresses agent memories between sessions using Ollama and SQLite — persistent cross-session memory with zero cloud dependencies.
A local-first CLI tool that consolidates and compresses agent memories between sessions using Ollama and SQLite — persistent cross-session memory with zero cloud dependencies.
What's Inside
- 📦lamm/cli.py — CLI entry point: ingest, dream, recall, export, status subcommands
- 📦lamm/store.py — SQLite interface with FTS5 full-text recall across episodes and consolidated memory
- 📦lamm/dreamer.py — Ollama dreaming pass — the core consolidation logic and LLM call
- 📦lamm/config.py — Config loader with lamm.toml support and environment-variable overrides
- 📦lamm/exporter.py — Export consolidated memory to Markdown or JSON for context injection
- 📦schema.sql — SQLite schema reference (auto-applied on first connect)
- 📦lamm.toml.example — Annotated config file — copy and customise in 60 seconds
- 📦setup.sh — One-shot install: creates venv, installs package, initialises database
- 📦Makefile — install, test, demo, clean targets with Ollama preflight check
- 📦README.md — Product overview, quickstart, and full command reference
- 📦GUIDE.md — Conceptual guide: dreaming pattern explainer, local-first rationale, full walkthrough
- 📦tests/test_smoke.py — Smoke test suite with mocked Ollama — no live LLM required to run tests
$19
One-time purchase
⚡Instant download after purchase
📧Download link sent to your email
🔄7-day download access
✅14-day money-back guarantee
View refund policyQuality Score
8/10