Context Engineering for LLM Apps & Agents

Parent: Global AI Hub Research Corpus · researched 2026-05-31· 1 source · 0 concepts

Context engineering is the emerging discipline of curating and maintaining the optimal set of tokens (information) supplied to an LLM at inference time — system prompt, instructions, retrieved documen

Overview

1. Prompt engineering → context engineering (context as a managed resource)

2. Context-window mechanics: context rot, lost-in-the-middle, effective vs advertised length

3. Compaction & summarization

4. Just-in-time / agentic retrieval vs pre-loading

5. External memory, note-taking & context offloading

6. Multi-agent context: shared vs isolated

7. KV-cache-aware / prompt-caching-aligned context layout

8. Failure modes (the Breunig / Anthropic / Cognition framing)

Tools / Frameworks

Practical Patterns

Anti-Patterns

Key Takeaways

Knowledge Gaps & Contested Areas

References

Methodology

Children

← the whole tree · 3D view· how to read this page