Skip to content
AgenticAIWiki

The context window as a workbench

Full screen
Context window (the workbench)Instructionssystem prompt + repo mapRecent turnsthe step in handsearch_docsreturns idsManual5,000 pages

Swipe to change step

Step 1 of 8. Think of the context window as a workbench. Only what is on the bench can be used, and a cluttered bench makes the work worse. The aim is the smallest set of high-signal tokens for the next step. Instructions (system prompt + repo map). Recent turns (the step in hand). search_docs (returns ids). Manual (5,000 pages). arrow from search_docs to Manual.

In this chapter

  1. 58.1Context engineering as a discipline5 min read
  2. 58.2Just-in-time retrieval4 min read
  3. 58.3Trimming and clearing tool results4 min read
  4. 58.4Subagent context isolation4 min read
  5. 58.5Notes files and external memory4 min read
  6. 58.6Worked example: context editing and a memory tool5 min read
  7. 58.7Skills and progressive disclosure6 min read

Chapter check

Already know this? Score 80% or more and you can skip ahead. Each attempt draws 4 questions from 12.

Loading check…