[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"glossary-context-engineering::en":3,"gloss-cluster-context-engineering::en":26,"gloss-next-context-engineering::en":9},{"slug":4,"category":5,"name":6,"definition":7,"meta_desc":8,"faq":9,"schema_markup":9,"related":10},"context-engineering","agents","Context Engineering","Context engineering is the discipline of deciding exactly what goes into a model's context window at each step of an agent's run — which instructions, retrieved documents, past messages, tool outputs, and examples — and in what form. It's the natural successor to prompt engineering: once an agent runs over many turns, the hard problem shifts from wording one prompt to managing an ever-growing pile of context without blowing the token budget or drowning the model in noise. Techniques include retrieving only relevant chunks, summarizing or compacting old turns, trimming stale tool results, and ordering information so the most important parts sit where the model attends best. For builders, this is where agent quality is won or lost: models degrade when context is bloated or irrelevant, so more context is not better context. Treat the window as scarce, curated memory, and measure how each addition affects output rather than dumping everything in.","Context engineering decides exactly what enters a model's context at each step — instructions, retrieved docs, past messages, tool output — and in what form.",null,[11,14,17,20,23],{"slug":12,"name":13},"agent-memory","Agent Memory",{"slug":15,"name":16},"context-stuffing","Context Stuffing",{"slug":18,"name":19},"context-window","Context Window",{"slug":21,"name":22},"prompt-compression","Prompt Compression",{"slug":24,"name":25},"retrieval-augmented-generation","Retrieval-Augmented Generation (RAG)",[27,31,35,38,41,42,45,48,51,54,57,61],{"slug":28,"category":5,"name":29,"updated_at":30},"agent-budget","Agent Budget","2026-08-24T02:46:37+00:00",{"slug":32,"category":5,"name":33,"updated_at":34},"agent-checkpointing","Agent Checkpointing","2026-08-24T02:46:38+00:00",{"slug":36,"category":5,"name":37,"updated_at":30},"agent-handoff","Agent Handoff",{"slug":39,"category":5,"name":40,"updated_at":30},"agent-loop","Agent Loop",{"slug":12,"category":5,"name":13,"updated_at":30},{"slug":43,"category":5,"name":44,"updated_at":34},"agent-sandbox","Agent Sandbox",{"slug":46,"category":5,"name":47,"updated_at":34},"agent-trajectory","Agent Trajectory",{"slug":49,"category":5,"name":50,"updated_at":30},"agentic-rag","Agentic RAG",{"slug":52,"category":5,"name":53,"updated_at":34},"computer-use","Computer Use",{"slug":55,"category":5,"name":56,"updated_at":34},"dry-run","Dry Run",{"slug":58,"category":5,"name":59,"updated_at":60},"escalation-path","Escalation Path","2026-08-24T03:30:02+00:00",{"slug":62,"category":5,"name":63,"updated_at":30},"human-on-the-loop","Human-on-the-Loop"]