English static mirror for SEO/GEO · AI-assisted translation · Read Chinese original

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

Forum topic · ✨步子哥 · 2025-12-11

Summary

Agentic Context Engineering (ACE) is a framework that adapts large language model applications through evolving contexts rather than weight updates. It addresses two failure modes of prior context-adaptation methods: brevity bias, where over-compressed summaries lose detailed domain knowledge, and context collapse, where iterative rewriting erodes information over time. ACE treats contexts as evolving playbooks composed of itemized bullets, updated through a modular three-role pipeline: a Generator that executes queries, a Reflector that critiques trajectories, and a Curator that produces structured incremental delta updates merged deterministically without LLM calls. A grow-and-refine mechanism balances expansion with periodic pruning, enabling parallel merging and scalability. On benchmarks, ACE improves AppWorld agent tasks by 10.6% and financial analysis (FiNER + XBRL) by 8.6%, matching a top production agent on the AppWorld leaderboard with a smaller open-source model. It reduces adaptation latency by 82.3% versus GEPA (offline) and 91.5% versus Dynamic Cheatsheet (online), with rollout/token cost cuts of 75.1% and 83.6% respectively, and adapts without labeled supervision using natural execution feedback. Referenced as arXiv:2510.04618.

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

Introduction

LLM applications increasingly rely on context adaptation rather than weight updates. Existing approaches suffer from two critical limitations:

  • Brevity bias: over-prioritizing concise summaries at the expense of detailed domain insights
  • Context collapse: iterative rewriting erodes details over time, causing performance drops
  • ACE treats contexts as evolving playbooks that accumulate, refine, and organize strategies through a modular process.

    Three-Role Architecture

    1. Generator — produces reasoning trajectories for new queries, surfacing effective strategies and pitfalls 2. Reflector — critiques generated traces, distilling insights from successes and errors 3. Curator — synthesizes insights into structured "delta entries" and integrates them into the existing context

    Key Innovations

    Incremental Delta Updates

  • Contexts are structured, itemized "bullets" with metadata and content
  • Small, localized edits preserve prior knowledge while accumulating new insights
  • Non-LLM logic handles deterministic merging, de-duplication, and pruning
  • Grow-and-Refine Mechanism

  • Balances context expansion with periodic refinement
  • Maintains relevance and prevents unbounded growth
  • Enables efficient, parallel merging crucial for scalability
  • Performance Results

    ACE consistently outperforms strong baselines across agent and domain-specific benchmarks:

  • +10.6% on agent tasks (AppWorld)
  • +8.6% on financial analysis (FiNER + XBRL)
  • Matches a top-ranked production-level agent on the AppWorld leaderboard using a smaller open-source model
  • Efficiency Gains

    | Metric | Offline vs GEPA | Online vs Dynamic Cheatsheet | |---|---|---| | Latency reduction | 82.3% | 91.5% | | Rollout/token cost reduction | 75.1% | 83.6% |

    ACE adapts effectively without labeled supervision by leveraging natural execution feedback.

    Implications

  • Enables scalable, efficient, self-improving LLM systems with low overhead
  • Provides interpretable contexts and lower overhead compared to fine-tuning
  • Offers a flexible approach for online and continuous learning
  • Particularly valuable for specialized domains and long-context applications
  • References

  • arXiv:2510.04618
  • Code: https://github.com/ace-agent/ace

Tags

#llm#agentic-ai#context-engineering#self-improvement#prompt-engineering#agents#ace

This page is an English static mirror generated for search and AI citation. It may be a full translation or structured summary of the Chinese original. Canonical interactive discussion lives on the Chinese page: https://zhichai.net/topic/176415118