Meta Context Engineering via Agentic Skill Evolution
Haoran Ye, Xuning He, Vincent Arak, Haonan Dong, Guojie Song
TL;DR
Meta Context Engineering (MCE) reframes context engineering as a bi-level, learnable optimization where CE skills and context artifacts co-evolve. A meta-agent evolves CE skills via agentic crossover, while a base-agent implements those skills to optimize context as flexible files and code, enabling rapid adaptation and self-improvement of LLM-driven systems. Across five domains and multiple models, MCE yields consistent gains over state-of-the-art CE methods, with pronounced benefits for smaller models, and demonstrates superior context adaptability, transferability, and training efficiency. The work introduces a scalable design space for agentic AI, supported by extensive ablations and analyses, and outlines future directions toward broader, autonomous skill evolution and more efficient interaction with context artifacts.
Abstract
The operational efficacy of large language models relies heavily on their inference-time context. This has established Context Engineering (CE) as a formal discipline for optimizing these inputs. Current CE methods rely on manually crafted harnesses, such as rigid generation-reflection workflows and predefined context schemas. They impose structural biases and restrict context optimization to a narrow, intuition-bound design space. To address this, we introduce Meta Context Engineering (MCE), a bi-level framework that supersedes static CE heuristics by co-evolving CE skills and context artifacts. In MCE iterations, a meta-level agent refines engineering skills via agentic crossover, a deliberative search over the history of skills, their executions, and evaluations. A base-level agent executes these skills, learns from training rollouts, and optimizes context as flexible files and code. We evaluate MCE across five disparate domains under offline and online settings. MCE demonstrates consistent performance gains, achieving 5.6--53.8% relative improvement over state-of-the-art agentic CE methods (mean of 16.9%), while maintaining superior context adaptability, transferability, and efficiency in both context usage and training.
