Memory & Context
Environment injection, memory taxonomy, filtering, extraction, and output shaping
Long sessions combine injected environment context, a structured memory taxonomy, explicit filtering rules (what NOT to save), retrieval timing, scratchpad behavior for working notes, automatic extraction at session boundaries, and output-efficiency guidance that keeps responses usable as context grows.
8 stepsmemorycontextsessionextraction
Step-by-step breakdown
1
βοΈStable agent frame
Identity & IntroductionIdentity anchors behavior before dynamic context layers are applied.
interactive agent
Techniques
role-settingguardrailsscope-limiting
2
βοΈEnvironment & project context
Environment Context Injection3
π§ Memory type system
Memory Type Taxonomy (Combined Mode)4
π§ Filtering: what NOT to save
What NOT to Save in Memory5
π§ When to retrieve
When to Access Memories6
β¨Scratchpad for working notes
Scratchpad Directory Instructions7
π§ Automatic memory extraction
Memory Extraction Agent (auto-only, with index)8
βοΈOutput efficiency
Output Efficiency & Communication