Lesson 1325 of 1455
Memory vs context window: what your agent remembers
Your agent forgets between sessions unless you give it actual memory — not just a longer context window.
Builders · Agentic AI · ~4 min read
The big idea
Context = what's in this chat right now. Memory = stored notes your agent reads back next time.
Some examples
- Use context for the current task.
- Use memory (a file, a vector DB) for facts that matter across sessions.
- Don't dump everything into context — it's expensive and noisy.
Try it!
Set up a tiny agent with a memory.md file it reads at start and writes to at end.
Understanding "Memory vs context window: what your agent remembers" in practice: AI agents don't just answer questions — they can do things, like looking things up, writing files, or talking to apps. Your agent forgets between sessions unless you give it actual memory — not just a longer context window — and knowing how to apply this gives you a concrete advantage.
- Design clear agent goals before adding tools
- Define permissions and scope before deploying any agent
- Build in human-approval checkpoints for high-stakes actions
- Understand when to use an agent vs. a simple chat prompt
- 1Design an agent spec: goal, tools, permissions, stop condition
- 2Run a simple web-search agent in a sandbox environment
- 3Instrument an existing workflow to identify where an agent could save time
Key terms in this lesson
End-of-lesson quiz
Check what stuck
8 questions · Score saves to your progress.
Lesson help
Questions are best handled with a grown-up here.
For this age range, Tendril keeps freeform AI chat paused until parent/guardian consent and child-safe moderation are fully verified. Use the quiz, notes, and related lessons below, or ask a parent, guardian, teacher, or librarian to work through the question with you.
Progress saved locally in this browser. Sign in to sync across devices.
Related lessons
Keep going
Creators · 40 min
Setting Context-Window Budget Policies for Long-Running Agents
How to keep an agent's context window from filling with noise mid-run.
Creators · 11 min
Agentic AI: state vs context — what to write down
Context is what the agent sees this turn. State is what persists. Confusing them produces forgetful agents and bloated prompts.
Builders · 40 min
Builder Capstone: Design an Agent for Your Life
No code. Just design. Pick a real task you do every week and draft a complete agent spec — goal, tools, loop, stop, approvals, and what success looks like.
