Mastering In-Context Learning and the "workspace of reason."
The Core Idea: As pioneered in Microsoft/OpenAI's seminal paper "Sparks of Artificial General Intelligence" (found in the References/ folder), the "intelligence" of an agent is often a direct reflection of its Context Window. The context window isn't just a memory buffer; it is the workspace of reason.
Watch how new data "pushes out" old memories when the window is full.
Context Window Capacity: 5 Slots
In the Sparks of AGI paper, researchers demonstrated that GPT-4 could solve complex, multi-domain problems not just because of its weights, but because its large context window allowed it to maintain a coherent "chain of thought."
LLMs are like humans: they remember the start of the meeting and the end, but zone out in the middle.
Exercise: "The Amnesiac Agent."
Sparks_of_AGI.pdf to recreate the "Unicorn in TiKZ" experiment.agents.md)memory.md file after every turn.agents.md) provide a "Permanent Context" that survives beyond a single session?