Home > Memory
Memory¶
Home > Memory
This is the landing page for the current memory documentation.
Start Here¶
- Agent Memory Quickstart - fast path for
memory tree,memory export,memory import, and generated memory-enabled agents - Memory-enabled agents architecture - explanation of the current top-level SQLite graph view and agent-local Kuzu stores
- Memory tutorial - step-by-step walkthrough for generating and running a memory-enabled goal agent
- How to integrate memory into agents - practical guide for adding memory helpers to generated agent code
- Memory CLI reference - exact top-level command syntax and caveats
- Kuzu code schema - schema details for the lower-level Kuzu-backed graph store
- Ladybug Graph Store API - API reference for
KuzuGraphStore(ladybug-backed) - Ladybug Migration Guide - migrating from
kuzu_storetoladybug_store - Memory diagrams - presentation-friendly architecture diagrams
What "Memory" Means in This Repo¶
There are three related but distinct memory stories:
- the top-level CLI graph view under
src/amplihack/memory, which powersamplihack memory treeand stores session data in~/.amplihack/memory.db - the agent-local hierarchical store used by
amplihack memory exportandamplihack memory import - the generated goal-agent scaffold from
amplihack new --enable-memory, which packagesamplihack_memoryhelpers,memory_config.yaml, and a local./memory/directory
The docs above keep those surfaces separate on purpose.
Verified CLI Surface¶
The top-level commands verified in this checkout are:
amplihack memory treeamplihack memory exportamplihack memory importamplihack new --enable-memory
See the CLI reference for the exact syntax and the caveats around JSON merge versus raw Kuzu replacement.
Historical Material¶
Older docs in this area sometimes described removed top-level CLI commands or treated lower-level Kuzu/SQLite experiments as if they were the current default user surface. Treat those as historical context, not as the primary how-to story for the current checkout.