CustomLabs
Agents

Context Engineering

Context engineering decides what occupies a model's context window at every step, and in what order.

That includes tool definitions, retrieved content, conversation history, and the task itself, well beyond the system prompt.

It treats the window as a fixed, competed-for resource: one slice's tokens are tokens unavailable to another.

The allocation must be a deliberate decision, not whatever is left over once everything else is assembled.

Prompt engineering is one input to it, not the whole discipline.

← Back to the full glossary

Source: https://customlabs.io/glossary/context-engineering/

navigate select esc close