AI Glossary · Language models

What is Context engineering?

The work of selecting and arranging the information a model sees while doing a task: instructions, documents, tool results, earlier steps. It is concerned less with how the prompt is worded than with what is put in front of the model. Because a model cannot use everything equally accurately as the context grows, the aim is to provide useful information rather than the most information.

What it means in the field

Giving the model a customer's entire account history to answer one invoice question is expensive and can also degrade the answer. Designing which records are fetched, under which permissions and in what order often makes more difference than the choice of model.

Where it applies on this site

Kai: ask your ERP in plain language

Related terms

See it in the glossary · Get new terms by e-mail