Context Engineering for Users

Context Engineering for Users

Key jargon

Term Plain-language meaning
Context engineering Selecting, organizing, and maintaining the information supplied to an AI system.
Relevance How directly a piece of context helps answer the current question.
Provenance Where information came from and how it can be checked.
Context budget The limited token capacity allocated among instructions, history, evidence, and output.

Key concepts

Concept map

flowchart LR
    A["Gather candidate context"] --> B["Filter by relevance and trust"]
    B --> C["Structure within budget"]
    C --> D["Generate with provenance"]

Context engineering is the work of placing the right information, instructions, examples, tool descriptions, and state into a model call.

Context stack

  1. Stable role and policy.
  2. Current task and acceptance criteria.
  3. Relevant user or project state.
  4. Selected source material.
  5. Available tools and their limits.
  6. Recent results and unresolved questions.

Quality rules

Exercise

Give a model three short source passages, one irrelevant passage, and a question. Run once with all four and once with only the relevant three. Compare accuracy, citations, and wasted tokens.

Misconception

A larger context window is capacity, not guaranteed comprehension or recall.