Memory: Short-Term and Long-Term

4 min
Audience
ages 10–15
Time
20 to 30 min
Module
2/5
Badge to earn
Memory Keeper

Today's mission

By the end of this lesson, you will be able to tell the difference between an agent's short-term and long-term memory, explain what a context window is, and say why memory is essential for finishing long tasks.

The idea in one picture

While you're solving a jigsaw puzzle, you remember, "I already tried that piece in the corner, it didn't fit." That's short-term memory: super useful right now, but you'll forget it the moment the puzzle is done. At the same time, you also know, "I'm generally good at puzzles with animals, I always start with the eyes." That's long-term memory: it stays with you for years and helps with every puzzle. Agents need both kinds too: one to avoid repeating themselves during a task, and one to remember what matters from one task to the next.

Preview — the rest of the lesson is for enrolled readers.

Already enrolled with a code?

Your access is tied to your account, not to this link. Sign in with the same email you used in class: your course is waiting, no need to enter the code again.

Sign inNo account yet? Create one
This lesson is part of the “Reasoning, planning, remembering” module

The first modules of the course are open to everyone. For the rest you have three options: buy this course once and for all, subscribe, or enter the code handed out in class.

Are you a student on this course?

The code is tied to your account: sign in or create an account and it will be applied automatically when you come back.

No account yet? Create one