Skip to content
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 memory

Options 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:

  • human for interactive terminal use
  • json for scripts and other machine-readable consumers
  • jsonl for wait or streaming commands that emit one JSON record per line
  • toon for compact agent-readable summaries

Subcommands

CommandDescription
agh memory consolidateTrigger manual memory consolidation
agh memory deleteDelete a persistent memory file
agh memory healthShow memory health
agh memory historyShow memory operation history
agh memory listList persistent memories
agh memory readRead a persistent memory file
agh memory reindexRebuild the derived memory search catalog
agh memory searchSearch durable memory
agh memory writeWrite or update a persistent memory file

On this page