Meta Context Engineering via Agentic Skill Evolution

Haoran Ye, Xuning He, Vincent Arak, Haonan Dong, Guojie Song

Published
Citations
65

Summary

TL;DR

Meta Context Engineering co-evolves context-engineering skills and the context artifacts themselves, replacing fixed heuristics.

Why builders care

Editor's note

Instead of hand-designing how context is built, let the agent improve that process.

How to apply it

Editor's note
  1. 1Treat your context-building steps as a skill you can iterate on with measured feedback.

Key results

From the abstract
  1. 1
    53.8% relative improvement

    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.

  • 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.

  • 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.

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.

Everything on this page is written from this abstract. For methods and full results, read the paper PDF.

Ask the paper

Not live yet
Answers will quote the passages of the paper they come from.

Try one of these about “Meta Context Engineering via Agentic Skill Evolution”: