Memory
agh memory search
Search deterministic Memory v2 recall
- Audience
- Operators running durable agent work
- Focus
- Memory guidance shaped for scanability, day-two clarity, and operator context.
agh memory search
Search deterministic Memory v2 recall
agh memory search <query> [flags]Examples
# Search global and current-workspace memories
agh memory search "auth sessions"
# Search agent memory with system entries included
agh memory search "review tone" --scope agent --agent reviewer --agent-tier global --include-systemOptions
--agent string Agent name for agent-scoped memory
--agent-tier string Agent memory tier: workspace or global
-h, --help help for search
--include-system Include _system memory entries
--scope string Memory scope: global, workspace, or agent
--top-k int Maximum number of recalled entries
--workspace string Workspace ID or path for workspace-bound 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
Example:
agh memory search <query> -o json