Skip to content
mentoor

Agent memory

For engineers

Working memory in context, long-term stores, file-based notes, what to remember, and memories that go stale or get poisoned

See where you stand

110 questions across four stages: Understand, Apply, Solve and Judge.

Try 5 questions

Practice items, not counted towards your mastery. No account needed.

Check yourself · 1 of 5

A coding agent has run 40 tool calls in one session. What is its short-term memory?

Choose one answer

Check yourself · 2 of 5

A shopping agent should remember each customer's shoe size and preferred currency. Which store fits best?

Choose one answer

Check yourself · 3 of 5

Why does a notes file help an agent that works over several sessions?

Choose one answer

Check yourself · 4 of 5

Which item should a memory policy forbid an assistant from saving by default?

Choose one answer

Check yourself · 5 of 5

A memory says "Production database is db1". The team moved to db2 last month. What kind of failure is this?

Choose one answer

Topics

  1. Short-term memory in the context window4 min read · Conversation history, tool results and scratchpads as working memory, and why they fill up and degrade
  2. Long-term memory stores and retrieval5 min read · Vector stores, key-value profiles and graphs that persist across sessions, and how the agent searches them
  3. File-based memory and agent notes5 min read · Progress files, notes the agent writes for itself and memory tools backed by a directory
  4. Deciding what an agent should remember4 min read · Write policies, user visibility and control, consent, expiry and deletion of remembered facts
  5. Stale, wrong and poisoned memories5 min read · Outdated facts, false memories the agent wrote itself, cross-user leaks and injected instructions saved as memory

Start here

110 questions · last verified 2026-12