Concepts/Concept

ADPS Engineering Concept Registry

Layered Memory L1/L2/L3

Separate current input, task facts, and reviewed cross-task experience.

Layered memory L1, L2, and L3

Application context

An agent needs current user input on every turn, task facts throughout one run, and selected lessons across later runs. Applying one retention and loading rule to all three either loses useful history or fills every prompt with stale material.

Definition

LayerScopeExamplesLoading rule
L1Current turn or stepMessage, observation, temporary scratchpadLoaded directly; discarded or promoted after the step
L2Current task or sessionMilestones, decisions, evidence, artifactsSelected by task and step; retained through recovery
L3Across tasksReviewed preferences, lessons, proceduresRetrieved by scope and task signature; source facts loaded on demand

Engineering mechanism

Promotion is explicit. An L1 observation becomes L2 only when it changes progress, evidence, or a decision. An L2 lesson becomes L3 after source review, scope assignment, conflict checks, and publication. L3 summaries keep references to L2 facts so the runtime can load the full record when a decision requires detail.

Boundary

The three labels are functional tiers, not required databases. A deployment may use files, relational tables, object storage, and indexes together. Fast-changing control state remains outside memory even when it is referenced from a task record.

Proposal and provenance

Concept group
Context and memory
Initial source within ADPS
Initial practice: Bo Liang
First recorded in
Dongfang Yiteng execution-agent case ()
ADPS editorial work
ADPS added loading and reference rules for current input, task facts, and cross-task experience.
Current standing
ADPS restatement

Initial source: Dongfang Yiteng Execution Agent case report; contributed by Bo Liang.

Concept registry · CC BY 4.0

Chronicle

Recorded source
Dongfang Yiteng execution-agent case ()
Source date
First published on ADPS

View in the ADPS Chronicle