Module 4 — Memory Architecture

Memory Architecture

Continuity across sessions. The engineering challenge of stateful agents.

60
minutes
6
artifacts
Stateless agents are prototypes. Memory gives continuity — but persistence is also the attack surface. The sleeper attack injects in session 1, activates in session 2. The defense: harness-managed writes.
Key Claims
Load-Bearing Claims

Memory persistence = attack surface (sleeper attack; ASI06)

Harness-managed writes (model proposes, harness validates) — the defense

Scoping = confidentiality (per-session/user/task/tenant; leakage = breach)

After This Module
01
Name the five memory tiers and choose among them for a given use case.
02
Implement the multi-session handoff pattern (initializer → continuation agent).
03
Identify memory as an attack vector and apply the write-control defenses.
04
Compare Hermes's layered self-evolving memory against the working-files pattern.
Artifacts