Skip to content
AGH RuntimeMemory

Memory

How AGH stores durable Markdown memory, scopes it across global and workspace contexts, consolidates it during dream sessions, and keeps it useful.

Audience
Operators running durable agent work
Focus
Memory guidance shaped for scanability, day-two clarity, and operator context.

Memory is the durable layer that survives a session. AGH stores memories as Markdown files behind typed indexes so agents can rediscover knowledge without replaying past transcripts. The runtime keeps two scopes — global and workspace — and a consolidation loop that prunes and merges what is no longer load-bearing.

Use this section when an agent should carry durable project knowledge across sessions, when a workspace needs facts that should not live in a prompt, or when consolidation changed a memory file and you need to understand why. Memory is not a transcript archive. It is a curated working set: small enough for agents to read, typed enough to inspect, and scoped enough that one project does not leak into another.

Hand-drawn Memory poster showing global and workspace memory, markdown indexes, dream consolidation, and memory hygiene with the octopus mascot.

In this section

On this page