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 treats LLM contexts as evolving playbooks instead of static prompts, enabling self-improvement without weight updates. It addresses two failure modes of prior context-adaptation methods: brevity bias (over-compressing away detailed domain insights) and context collapse (iterative rewriting erodes details and degrades performance). ACE organizes contexts as itemized bullets with metadata and applies incremental delta updates via a modular Generator-Reflector-Curator pipeline, with deterministic non-LLM merging, de-duplication, and pruning. A grow-and-refine mechanism balances context expansion with periodic consolidation for scalability. On benchmarks, ACE improves agent tasks on AppWorld by +10.6% and financial analysis (FiNER, XBRL) by +8.6%, matching a top-ranked production agent on the AppWorld leaderboard using a smaller open-source model. Compared to GEPA (offline) and Dynamic Cheatsheet (online), it reduces adaptation latency by 82.3% and 91.5% and rollout/token costs by 75.1% and 83.6%, respectively. ACE adapts without labeled supervision using natural execution feedback, offering interpretable, low-overhead continuous learning. Paper: arXiv:2510.04618; code at github.com/ace-agent/ace.

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

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

Introduction

Large Language Model applications increasingly rely on context adaptation rather than weight updates. Current 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, leading to 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 represented as structured, itemized "bullets" with metadata and content
  • Small, localized edits preserve prior knowledge while accumulating new insights
  • Non-LLM logic performs 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 also adapts effectively without labeled supervision by leveraging natural execution feedback.

    Implications

  • Enables scalable, efficient, and 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

Tags

#llm#agentic-context-engineering#self-improving-ai#prompt-engineering#agents#continuous-learning#arxiv-2510-04618

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