Skip to content
Tech Atlas, home
Search
Esc
  • All roadmapsBrowse every learning path
  • ExploreFind a technology area
  • ProjectsGuided projects and builds
  • My AtlasYour learning dashboard
Skill

Memory & Context Engineering

Decide what enters an agent's context at each step and what persists between sessions, using compaction, on-demand loading and governed long-term memory.

Advanced1 roadmap

4 objectives 6 steps about 115 min

Learn it step by step

Read the lessons in order, try the practice checks, then prove the skill with the knowledge check.

Start learning

This skill page is a public outline. Its lessons and knowledge check appear here as subject-matter experts approve them.

Learning objectives

  • Assemble each step's context from instructions, tool definitions, history, retrieved data and tool results within a token budget.
  • Keep long runs within budget with compaction: summarizing history, clearing stale tool results and keeping notes outside the context window.
  • Design a long-term memory store with explicit write, retrieval, update, expiry and deletion policies, including consent for personal data.
  • Reduce context load by loading tools, instructions or skills on demand and by isolating sub-tasks in separate contexts.

Lesson plan

6 steps, about 115 min · 5 of 5 lessons available so far

Practise it

Run your agent on a task that needs more than 40 steps; add compaction and a notes file so it finishes within a fixed context budget, then add a user-preference memory with write, update and delete operations and a test proving deleted memories are never retrieved.

References

Hard prerequisites

Unlocks

Nothing depends on this skill yet.

On these roadmaps

Progress and evidence for this skill are shared across all of them.