Memory
AGH RuntimeMemory
agh memory
Manage persistent cross-session memories
- Audience
- Operators running durable agent work
- Focus
- Memory guidance shaped for scanability, day-two clarity, and operator context.
agh memory
Manage persistent cross-session memories
Options
-h, --help help for memoryOptions inherited from parent commands
--json Emit JSON output
-o, --output string Output format: human, json, jsonl, or toon (default "human")Output Formats
Every AGH command supports -o, --output:
humanfor interactive terminal usejsonfor scripts and other machine-readable consumersjsonlfor wait or streaming commands that emit one JSON record per linetoonfor compact agent-readable summaries
Subcommands
| Command | Description |
|---|---|
| agh memory consolidate | Trigger manual memory consolidation |
| agh memory delete | Delete a persistent memory file |
| agh memory health | Show memory health |
| agh memory history | Show memory operation history |
| agh memory list | List persistent memories |
| agh memory read | Read a persistent memory file |
| agh memory reindex | Rebuild the derived memory search catalog |
| agh memory search | Search durable memory |
| agh memory write | Write or update a persistent memory file |