Concepts

Compact memory

Compact memory is the local store of distilled loop outcomes. It lets the next loop retrieve relevant context without re-reading the world.

How it works

After validation passes, the loop summarizes what it learned and writes it to a local SQLite store with 768-dimension embeddings from a local open-source embedding model served by your local runtime. Retrieval is in-memory cosine similarity.

Locality

Memory is local by default. Cloud providers only ever see the prompt content you route through a BYO-key lane — never the memory store itself.

See also: Local-first AI development.