Prompting

Context engineering

Deciding what information goes into a model's context window, and in what form, so it has what it needs and nothing that distracts it.

For agents and long tasks, choosing which documents, tool results and history to include matters as much as the instructions. Too little context causes guesses; too much raises cost and can bury what matters.

All terms

Frequently asked questions

What does Context engineering mean?

Deciding what information goes into a model's context window, and in what form, so it has what it needs and nothing that distracts it. For agents and long tasks, choosing which documents, tool results and history to include matters as much as the instructions. Too little context causes guesses; too much raises cost and can bury what matters.