Context Window

The maximum number of Tokens an LLM can process within a single Inference cycle, representing the model’s functional “working memory.”

Core Mechanics

  • Capacity: Defines the boundary of information the model can “attend to” simultaneously.
  • Complexity: Historically limited by the Attention Mechanism, where computation scales quadratically with sequence length.
  • Limitations: Finite capacity necessitates external memory strategies for long-term retention and complex reasoning tasks.

Persistent Memory & Librarian Systems

To overcome the ephemeral nature of the context window, local AI agents increasingly rely on externalized memory architectures:

References