Corpus Agentis
The field book to agent ecosystems
The field book to agent ecosystems
Memory · Types

Short-Term / Working

Tracks the immediate sequence of thoughts, actions and observations within a single run.

At a glance
ClassMemory layer
ScopeThread-scoped (one session)
ExamplesLLM context window · Redis scratchpad
How it works

Context window holds the raw trace; a working-memory scratchpad writes compressed progress summaries ("Papers reviewed: 12. Gaps: […]") to a structured buffer, often Redis, to stop context overflow.

Watch out

Long histories slow responses, raise cost, and distract the model with stale content.

Basis
  • Internal research (Scalarity), Architectural Frameworks for AI Agent Memory Systems