Memory · Data store

Working Memory Buffer

Data storeMemoryCognition & MemoryVariation point (abstract)arc:WorkingMemoryBuffer

Short-term, in-context storage of the current task's reasoning traces, tool invocations, observations, and reflection insights, bounded by the model's context window.

Responsibility. Holds current-task context within the token budget.

Also known as: Short-term memory, Scratchpad, Conversation buffer, Context window, Agent state, Workflow state, Execution state, Shared state, Conversation history, Task-scoped working memory, Chat history buffer, Agent scratchpad, Conversation message history, Messages array, Multi-hop reasoning state, Short-term working memory, Agent trajectory, System non-parametric short-term memory, Reasoning scratch pad, System non-parametric short-term memory (Quadrant V), Active desk space, Current-session context, Working memory, Mental scratchpad, Active workspace, Short-term conversational memory

is read by; is written byis read by; is written byis read by; is written byis written by; is read byis read by; is written byis read by; is written byis read by; is written byis read by; is written byis read by; is written byis read by; is written byis read by; is written byis read by; is written byis written byis written byis written byis written byis read byis written byAgent Controller: is read by; is written byAgent ControllerWorker Agent: is read by; is written byWorker AgentReasoning Engine: is read by; is written byReasoning EngineReAct Agent Controller: is written by; is read byReAct Agent ControllerState-Graph Orchestrator: is read by; is written byState-Graph OrchestratorWorkflow Orchestrator: is read by; is written byWorkflow OrchestratorPrompt Context Builder: is read by; is written byPrompt Context BuilderReplanner: is read by; is written byReplannerPlan Executor: is read by; is written byPlan ExecutorContext Window Manager: is read by; is written byContext Window ManagerFailure Analyzer: is read by; is written byFailure AnalyzerTrajectory Pruner: is read by; is written byTrajectory PrunerTool Executor: is written byTool ExecutorIntent Router: is written byIntent RouterTask Planner: is written byTask PlannerEscalation Handler: is written byEscalation HandlerMemory Retriever: is read byMemory RetrieverWeb Navigation Agent: is written byWeb Navigation Agent+22 more (see relationships)
Direct neighbourhood (hover for relationship types)

Variants

VariantWhen to choose
Graph Reasoning State StoreChoose when thoughts need multiple parents so independent reasoning chains can merge.
MCTS Search Tree Store—
Thought Tree StoreChoose when reasoning branches diverge but never need to reconverge.

Relationships

is configured by structural

is read by dependency

is written by dependency

is guarded by control

is monitored by assurance

Design guidance

Quantitative guidance

As stated by the sources; verify before use.

Classification

Patterns
Memory integration (reflection)Shared-state coordinationObservation accumulationTiered memoryTracking already-verified conditions to skip redundant checksFour-phase working-memory lifecycle (context assembly, processing/reasoning, generation, disposal)Token accounting: total = system prompt + input + retrieved context + history + outputSelective transfer to long-term memory before disposal
Technologies
LangGraphLangChain
Quality attributes
Performance efficiency (ISO/IEC 25010)Reliability (ISO/IEC 25010 | NIST AI RMF: valid and reliable)Maintainability (ISO/IEC 25010)Cost efficiency
Risks mitigated
Lost context across step boundariesLost intermediate resultsStale data passed downstream

Sources

  1. Ch1.2: T. Nguyen, "Core Agent Patterns," in Mastering Agentic AI Systems: Guide for the NVIDIA NCP-AAI Exam, 1st ed. 2026, ch. 1.2. ISBN: 9798244538229.
  2. Ch1.4: T. Nguyen, "Memory and Perception Systems," in Mastering Agentic AI Systems: Guide for the NVIDIA NCP-AAI Exam, 1st ed. 2026, ch. 1.4. ISBN: 9798244538229.
  3. Ch1.5A: T. Nguyen, "Stateful Orchestration - Introduction and Core Concepts," in Mastering Agentic AI Systems: Guide for the NVIDIA NCP-AAI Exam, 1st ed. 2026, ch. 1.5A. ISBN: 9798244538229.
  4. Ch1.5B: T. Nguyen, "Stateful Orchestration - Worked Examples," in Mastering Agentic AI Systems: Guide for the NVIDIA NCP-AAI Exam, 1st ed. 2026, ch. 1.5B. ISBN: 9798244538229.
  5. Ch1.6: T. Nguyen, "Stateful Orchestration - Pitfalls, Integration, and Synthesis," in Mastering Agentic AI Systems: Guide for the NVIDIA NCP-AAI Exam, 1st ed. 2026, ch. 1.6. ISBN: 9798244538229.
  6. Ch1.7B: T. Nguyen, "Relational Reasoning with Knowledge Graphs - Hybrid RAG+KG Integration," in Mastering Agentic AI Systems: Guide for the NVIDIA NCP-AAI Exam, 1st ed. 2026, ch. 1.7B. ISBN: 9798244538229.
  7. Ch2.3: T. Nguyen, "LangChain Sequential Frameworks," in Mastering Agentic AI Systems: Guide for the NVIDIA NCP-AAI Exam, 1st ed. 2026, ch. 2.3. ISBN: 9798244538229.
  8. Ch2.6: T. Nguyen, "Tool Integration and Function Calling," in Mastering Agentic AI Systems: Guide for the NVIDIA NCP-AAI Exam, 1st ed. 2026, ch. 2.6. ISBN: 9798244538229.
  9. Ch3.3: T. Nguyen, "Web Navigation and Interaction Benchmarks," in Mastering Agentic AI Systems: Guide for the NVIDIA NCP-AAI Exam, 1st ed. 2026, ch. 3.3. ISBN: 9798244538229.
  10. Ch3.7: T. Nguyen, "Tool Usage Auditing," in Mastering Agentic AI Systems: Guide for the NVIDIA NCP-AAI Exam, 1st ed. 2026, ch. 3.7. ISBN: 9798244538229.
  11. Ch3.8: T. Nguyen, "Action Accuracy Metrics," in Mastering Agentic AI Systems: Guide for the NVIDIA NCP-AAI Exam, 1st ed. 2026, ch. 3.8. ISBN: 9798244538229.
  12. Ch3.10: T. Nguyen, "Efficiency Metrics," in Mastering Agentic AI Systems: Guide for the NVIDIA NCP-AAI Exam, 1st ed. 2026, ch. 3.10. ISBN: 9798244538229.
  13. Ch5.1: T. Nguyen, "Chain-of-Thought (CoT) Fundamentals," in Mastering Agentic AI Systems: Guide for the NVIDIA NCP-AAI Exam, 1st ed. 2026, ch. 5.1. ISBN: 9798244538229.
  14. Ch5.2: T. Nguyen, "Tree-of-Thought (ToT) Fundamentals," in Mastering Agentic AI Systems: Guide for the NVIDIA NCP-AAI Exam, 1st ed. 2026, ch. 5.2. ISBN: 9798244538229.
  15. Ch5.3: T. Nguyen, "Self-Consistency Fundamentals," in Mastering Agentic AI Systems: Guide for the NVIDIA NCP-AAI Exam, 1st ed. 2026, ch. 5.3. ISBN: 9798244538229.
  16. Ch5.5: T. Nguyen, "Monte Carlo Tree Search Fundamentals," in Mastering Agentic AI Systems: Guide for the NVIDIA NCP-AAI Exam, 1st ed. 2026, ch. 5.5. ISBN: 9798244538229.
  17. Ch5.7: T. Nguyen, "Episodic Memory," in Mastering Agentic AI Systems: Guide for the NVIDIA NCP-AAI Exam, 1st ed. 2026, ch. 5.7. ISBN: 9798244538229.
  18. Ch5.9: T. Nguyen, "Working Memory," in Mastering Agentic AI Systems: Guide for the NVIDIA NCP-AAI Exam, 1st ed. 2026, ch. 5.9. ISBN: 9798244538229.
  19. Ch10.1: T. Nguyen, "Conversational UI," in Mastering Agentic AI Systems: Guide for the NVIDIA NCP-AAI Exam, 1st ed. 2026, ch. 10.1. ISBN: 9798244538229.
  20. Ref5.04: C. Stryker, "What is AI agent memory?," IBM Think. Accessed: Sep. 27, 2026. [Online]. Available: https://www.ibm.com/think/topics/ai-agent-memory