Short-Term Memory: the Context Window

Agent Memory and State Intermediate 3 min read Published
In this lesson

An LLM remembers nothing between calls. Everything it “knows” about the current task is in the context window: the system prompt, the conversation, and every tool result so far. That’s short-term memory. Manage it badly and the agent gets slow, expensive and forgetful; manage it well and it stays sharp for hours.

🎬 The overflowing whiteboard

🔒 This is a premium lesson

It is part of the Agentic AI Engineer career track.

🎬 Live animations · 🧪 Tested code · 💼 Projects · 🎓 Certificate

See the track

Already a member? Sign in

Progress is saved in this browser. Create a free account to keep it on every device.