about
A Survey of Context Engineering for Large Language Models (arxiv.org)
2 points by Anon84 on Aug 6, 2025 | hide | past | pdf | discuss on HN

In plain words: This survey sorts over 1400 papers on context engineering: the practice of choosing, organizing, and managing the information fed to a language model when it answers, beyond just writing a good prompt. Its key finding is a mismatch: models handle complex, lengthy inputs well but struggle to produce equally long, sophisticated outputs.

Abstract

The performance of Large Language Models (LLMs) is fundamentally determined by the contextual information provided during inference. This survey introduces Context Engineering, a formal discipline that transcends simple prompt design to encompass the systematic optimization of information payloads for LLMs. We present a comprehensive taxonomy decomposing Context Engineering into its foundational components and the sophisticated implementations that integrate them into intelligent systems. We first examine the foundational components: context retrieval and generation, context processing and context management. We then explore how these components are architecturally integrated to create sophisticated system implementations: retrieval-augmented generation (RAG), memory systems and tool-integrated reasoning, and multi-agent systems. Through this systematic analysis of over 1400 research papers, our survey not only establishes a technical roadmap for the field but also reveals a critical research gap: a fundamental asymmetry exists between model capabilities. While current models, augmented by advanced context engineering, demonstrate remarkable proficiency in understanding complex contexts, they exhibit pronounced limitations in generating equally sophisticated, long-form outputs. Addressing this gap is a defining priority for future research. Ultimately, this survey provides a unified framework for both researchers and engineers advancing context-aware AI.

Lingrui Mei, Jiayu Yao, Yuyao Ge, Yiwei Wang, Baolong Bi, Yujun Cai, Jiazhi Liu, Mingyu Li, Zhong-Zhi Li, Duzhen Zhang, Chenlin Zhou, Jiayi Mao, et al.
arXiv:2507.13334 · cs.CL · submitted Jul 17, 2025 · updated Jul 21, 2025
abstract · pdf · html · ongoing work; 166 pages, 1411 citations

add comment on HN
Also discussed: Jul 2025 (2 points, 1 comment) · Jul 2025 (1 point, 0 comments) · Jul 2025 (2 points, 0 comments)