Context engineering

Deciding exactly what goes into a model’s context at each step: instructions, documents, tool results, memory and nothing extra.

Context engineering, common card #060 in The Glitch AI glossary: Deciding exactly what goes into a model’s context at each step: instructions, documents, tool results, memory and nothing extra.
GLS 060 · common

For: Builders · Must know

Why it matters

For agents, what the model sees matters more than how you word the prompt; it is the 2025-and-on version of prompt engineering.

In practice

An agent keeps a short running summary instead of pasting the whole conversation into every call.

Watch for

More context is not better context; irrelevant text lowers accuracy.

Related terms

Prompt engineering · Context window · Context rot

Guides that use it

Start here: get good at AI, fast. · Your first week with AI. · 27 AI terms to know in 2027. · What is a forward deployed engineer? The ultimate guide to becoming one in 2027 · Context engineering is the real job. · AI coding agents for 2027, compared.

Sources

Definition updated 2026-10-29.

The Ultimate AI Glossary (2027): every term