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.
- ▸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
## goes-well-with
From the same shelf
Homelab Beginner Starter Kit
Your first homelab in a weekend — no rabbit holes required.
Homelab DR Kit v2 — Advanced Edition
Expand beyond the published v1 with automated backup validation scripts, tested restoration runbooks, and a DR drill scoring rubric for homelabs running Proxmox, TrueNAS, and containerized services.
Build 5 Real Infrastructure Projects from Zero
Escape tutorial hell for sysadmins — five hands-on homelab projects (monitoring, automation, DR, networking, security) with guided specs, code stubs, and a 30-day progress tracker.
## not-ready-to-buy
Take the field notes instead
One practical write-up a week from the same workbench these kits come from — plus reader pricing when new kits ship.