Context engineering

  • 2025-06-29 (modified: 2025-06-30)

Prompt engineering보다 포괄적인 새 이름. ShopifyCEOTobi Lutke2025년 6월 19일에 제안한 용어.

I really like the term “context engineering” over prompt engineering. It describes the core skill better: the art of providing all the context for the task to be plausibly solvable by the LLM.1

Andrej Karpathy가 지지하면서 널리 알려진다.

+1 for “context engineering” over “prompt engineering”.

People associate prompts with short task descriptions you’d give an LLM in your day-to-day use. When in every industrial-strength LLM app, context engineering is the delicate art and science of filling the context window with just the right information for the next step. Science because doing this right involves task descriptions and explanations, few shot examples, RAG, related (possibly multimodal) data, tools, state and history, compacting…. Too little or of the wrong form and the LLM doesn’t have the right context for optimal performance. Too much or too irrelevant and the LLM costs might go up and performance might come down. Doing this well is highly non-trivial. And art because of the guiding intuition around LLM psychology of people spirits.

On top of context engineering itself, an LLM app has to:

  • break up problems just right into control flows
  • pack the context windows just right
  • dispatch calls to LLMs of the right kind and capability
  • handle generation-verification UI/UX flows
  • a lot more - guardrails, security, evals, parallelism, prefetching, …

So context engineering is just one small piece of an emerging thick layer of non-trivial software that coordinates individual LLM calls (and a lot more) into full LLM apps. The term “ChatGPT wrapper” is tired and really, really wrong.2

Articles

Footnotes

  1. x.com/tobi/status/1935533422589399127

  2. x.com/karpathy/status/1937902205765607626

2025 © ak