Agentic Context Engineering: Evolving Contexts for Self-Improving Language Models

Qizheng Zhang, Chang-Ran Hu, Shubhangi Upasani, Bo-Yuan Ma, Feng-Lu Hong, Vamsidhar Kamanuru, Jay Rainton, Chen Wu, Meng-Meng Ji, Han-Chen Li, Urmish Thakker, James Y. Zou, K. Olukotun

arXiv:2510.04618 · 2026-11-15 공개 · arXiv · PDF

llm-agents long-context benchmarking appworld low-overhead context-adaptation agentic-context-engineering self-improving-models

Abstract

Large language model (LLM) applications such as agents and domain-specific reasoning increasingly rely on context adaptation: modifying inputs with instructions, strategies, or evidence, rather than weight updates. Prior approaches improve usability but often suffer from brevity bias, which drops domain insights for concise summaries, and from context collapse, where iterative rewriting erodes details over time. We introduce ACE (Agentic Context Engineering), a framework that treats contexts as evolving playbooks that accumulate, refine, and organize strategies through a modular process of generation, reflection, and curation. ACE prevents collapse with structured, incremental updates that preserve detailed knowledge and scale with long-context models. Across agent and domain-specific benchmarks, ACE optimizes contexts both offline (e.g., system prompts) and online (e.g., agent memory), consistently outperforming strong baselines: +10.6% on agents and +8.6% on finance, while significantly reducing adaptation latency and rollout cost. Notably, ACE could adapt effectively without labeled supervision and instead by leveraging natural execution feedback. On the AppWorld leaderboard, ACE matches the top-ranked production-level agent on the overall average and surpasses it on the harder test-challenge split, despite using a smaller open-source model. These results show that comprehensive, evolving contexts enable scalable, efficient, and self-improving LLM systems with low overhead.

한국어 요약

한 줄 요약

ACE는 LLM의 자기 개선을 위한 진화하는 컨텍스트를 구축하는 프레임워크로, AppWorld 벤치마크에서 기존 최상위 모델과 동등한 성능을 보인다.

핵심 기여도

핵심 아이디어

ACE는 기존 컨텍스트 최적화 방식에서 벗어나, 컨텍스트를 **진화하는 플레이북**(evolving playbooks)으로 정의한다. 이는 단순히 요약하는 것이 아니라, **전략을 누적하고 조직화**하는 과정을 포함한다. ACE는 **generation, reflection, curation**의 세 단계를 통해 컨텍스트를 지속적으로 업데이트하며, **structured, incremental updates**를 통해 세부 정보를 유지한다. 이는 특히 **context collapse** 문제를 해결하는 데 핵심적이다. 또한, ACE는 **long-context LLM**의 발전을 기반으로, **domain-specific knowledge**를 압축하지 않고 보존함으로써 **LLM이 추론 시 스스로 관련성을 추출**할 수 있도록 한다.

기술적 접근법

주요 결과

의의 및 한계

ACE는 컨텍스트 기반 적응의 새로운 패러다임을 제시하며, **self-improving LLM 시스템**을 구현하는 데 기여한다. 특히, **long-context LLM**과 **context-efficient inference** 기술의 발전과 결합하여, **낮은 오버헤드로 확장 가능한 시스템**을 가능하게 한다. 그러나, ACE는 **모델 크기와 계산 자원**에 따라 성능이 달라질 수 있으며, **복잡한 도메인에서의 일반화 가능성**은 추가 연구가 필요하다. 또한, **execution feedback의 질**이 컨텍스트 업데이트의 효과에 직접적인 영향을 미친다.

실용적 활용

ACE는 **LLM 에이전트**, **금융 분석**, **법률적 추론** 등 **도메인 지식이 중요한 시스템**에 적용 가능하다. 특히, **실시간 적응**이 필요한 애플리케이션에서 **낮은 비용과 빠른 반응 시간**을 요구하는 상황에 유용하다. **오픈소스 모델**을 사용하면서도 **상용 모델 수준의 성능**을 달성할 수 있어, **비용 효율적인 AI 개발**에 기여할 수 있다.