Seedlabs
Source research

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

Qizheng Zhang, Changran Hu, Shubhangi Upasani, Boyuan Ma, Hong, Fenglu, Vamsidhar Reddy Kamanuru et al. · 2026 · 666 citationsRead the paper

All 13 authors

Jay Rainton, Wu Chen, Mengmeng Ji, Hanchen Li, Urmish Thakker, James Zou, Kunle Olukotun

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.

What the full text shows

Working prototype
  • ACE improves agent performance on the AppWorld benchmark, matching top-ranked production agents using a smaller open-source model. — +10.6% average improvement over strong baselines (AppWorld benchmark using DeepSeek-V3.1-671B)
  • ACE enhances domain-specific financial reasoning accuracy. — +8.6% average gain over strong baselines (Financial analysis benchmarks (FiNER and Formula))
  • ACE significantly reduces the time and cost required for context adaptation. — 86.9% average reduction in adaptation latency (Compared to GEPA and DC baselines)
  • ACE enables self-improvement without ground-truth labels by using execution feedback. — +14.8% improvement over ReAct baseline (AppWorld benchmark without GT labels)
  • ACE achieves high efficiency in serving long contexts via prompt caching. — 91.8% of input tokens served from cache; 82.6% reduction in billed input cost (OpenAI API (GPT-5.1))
  • ACE improves medical reasoning accuracy. — +15.0% accuracy (90.2% vs 75.2% base) (DDXPlus benchmark using DeepSeek-V3.1-671B)
Setup
Evaluated using DeepSeek-V3.1-671B, GPT-5.1, GPT-OSS-120B, and Llama-3.3-70B-Instruct across AppWorld, FiNER, Formula, DDXPlus, and BIRD-SQL datasets.
How
ACE uses a modular framework consisting of a Generator (trajectories), a Reflector (insight distillation), and a Curator (structured updates). It employs incremental delta updates and a grow-and-refine mechanism to prevent context collapse and brevity bias.
Limitations
Performance degrades in the absence of reliable feedback signals (e.g., no GT labels or execution outcomes). · Context can be polluted by spurious or misleading signals without high-quality feedback.

Summarized by Gemma 4 from the open-access full text · 26 Nov 2026. Read it