A planned way to choose and manage what the AI sees before answering.
Context engineering is the babysitter note on the fridge. It covers bedtime and the dog rule. Skip the dog rule, and the couch is toast.
It manages documents and memory. It also manages tool instructions. You meet it in long AI jobs and support bots.
Prompt-engineering
Context engineering turns prompt writing into full input management.
Context-window
The context window is the desk size for all the input pieces.
RAG
RAG finds outside facts, then context engineering puts them in order.
Memory
Memory must be filtered before it is useful to the model.