New in 2025–2026New 2025Builds on other terms

Context engineering

Written by Minh Khang

What is Context engineering?

Context engineering is choosing the right information to give an AI at each step: enough to do the job, nothing extra to confuse it.

In 2025 people building AI started saying context engineering instead of prompt engineering: good answers depend on the documents, history and tools you pass in, not on the prompt alone. Too much hurts too: long contexts full of stale material make AI perform worse.

Context engineering in a shop

Instead of pasting a 30-page policy, pass only the returns section and the size chart when someone asks to swap sizes.

Sources

The dated facts on this page come from the original sources below.

  1. Anthropic
    Effective context engineering for AI agents

Keep learning beyond the glossary