Definitions

How computers for agents work, from the hardware to the sandbox.

Definitionsc

Context engineering

Context engineering is the practice of choosing what information goes into the context of a language model at each step, so that it can do its task well.

Context engineering is the work of deciding what a model sees on each call. This includes the instructions, the tool descriptions, the history, retrieved documents, and the results of earlier steps. The goal is to give the model all the information it needs and little that it does not. It extends prompt engineering, which focuses on the wording of the instructions.

Common methods include summarizing old history, removing tool results that are no longer useful, and retrieving documents only when they are relevant. Agents can also load detailed instructions on demand, as agent skills do, instead of keeping them in the context all the time. Splitting work across sub-agents keeps each context short and focused. Each method trades the cost of tokens against the risk of losing a fact the model needs later.

Context engineering matters most for agents that run for many steps. Their context grows with each action, and a full or cluttered context makes their decisions worse. A sandbox gives an agent a place outside its context to store files, logs, and notes. The agent can then search and read them when needed, instead of carrying everything in its context.