This is the first practical Mneme playbook for building a reviewed memory pack with agent help.
Turn raw OpenClaw memory into a reviewed compiled pack through a repeatable flow:
- ingest raw evidence
- prepare category bundles
- send a bundle to an agent
- receive candidate JSON
- validate the evidence refs
- materialize category outputs
- merge category outputs into one reviewed pack
Mneme already provides the deterministic shell:
scripts/mneme_ingest_memory.pyscripts/mneme_llm_compile.pyscripts/mneme_materialize_candidates.pyscripts/mneme_llm_roundtrip.pyscripts/mneme_merge_pack.pyscripts/mneme_runtime_orchestrate.py
The architecture is now split cleanly like this:
- repo scripts = ingest, prep, validate, materialize, merge, runtime bridge
- runtime tools = send bundle to agent, receive JSON back
That is deliberate. It avoids pretending a standalone repo script can summon agents without the runtime.
./scripts/mneme_llm_roundtrip.py \
--root /path/to/workspace \
--category projects \
--jsonUse the prepared bundle as input to an agent and ask for candidate JSON only.
./scripts/mneme_llm_compile.py validate \
--raw /path/to/output/raw \
--input ./candidate-projects.json
./scripts/mneme_materialize_candidates.py \
--category projects \
--input ./candidate-projects.json \
--out /path/to/output/materialized-projects./scripts/mneme_merge_pack.py \
--inputs /path/to/output/materialized-projects /path/to/output/materialized-systems \
/path/to/output/materialized-decisions /path/to/output/materialized-incidents \
--out /path/to/output/reviewed-packThe agent-connected loop has already been proven for:
projectssystemsdecisionsincidents
That is the first serious Mneme memory pack.
The runtime bridge is also proven now:
- prepare-task generated a real category task
- the runtime dispatched it to an agent automatically
- the agent returned candidate JSON
- apply-result validated and materialized it
- the reviewed pack merged successfully
So Mneme has now proven both:
- category-by-category agent compilation
- automatic runtime dispatch through the bridge layer
The next work is not basic capability. It is refinement:
- multi-category automatic runs
- result normalization to reduce manual cleanup
- better merge quality and review summaries
- a first-class runtime command for full Mneme compile jobs