arXiv:2610.12794cs.LGOct 2026

Manuscript Offprint

arXiv:2610.12794

Meta-Reflective Evolution Effectively Improves Production AI Systems

Seung Won Wilson Yoo, Chang Zeng, Aditi Somayajula, Sahithi Ankireddy, Rohan Kosalge, Avishree Khare, John Mitchell, Aditya G. Parameswaran, Rajhans Samdani, Anupam Datta

ABSTRACT

Large Language Model (LLM)-guided evolutionary optimization has successfully improved prompts, programs, and even entire AI systems. Most optimization methods select a candidate from the search frontier, then mutate it in one LLM pass based only on its failures. This focus on the frontier can stall on production AI systems, where isolated failures reveal little about complex, hidden interactions. We introduce CoCoEvolve (Cortex Code Evolve), an evolutionary optimizer built around what we call meta-reflection, wherein an agentic mutator (Cortex Code) selectively retrieves evidence from the entire evolutionary history and probes the live system before verifying and proposing mutations. We apply CoCoEvolve to optimize three classes of production AI systems: data agents, LLM-powered data pipelines, and data engineering workflows. On DABStep, CoCoEvolve tops the public leaderboard, reaching 92.8% held-out hard accuracy compared to 78.4% for Meta-Harness and 30.4% for GEPA under matched conditions. Across six LLM data pipeline workloads, it outperforms every evaluated baseline. On data-eng-bench, CoCoEvolve lifts test-set solve rate from 59.1% to 77.4%, past the best baseline of 73.6%. It also has 11pp higher accuracy than GEPA on HotpotQA while remaining competitive with specialized optimizers on established mathematical and systems benchmarks. Matched ablations confirm that each component of CoCoEvolve contributes to these gains, demonstrating the value of meta-reflection for optimizing production AI systems.

1 INTRODUCTION

Large language models (LLMs) are increasingly used as semantic mutation operators: given a candidate prompt or program and evaluation feedback for that candidate, an LLM proposes a revised candidate. This approach, exemplified by evolutionary optimizers like AlphaEvolve and OpenEvolve, has led to breakthrough improvements in prompts, algorithms, and other text-based artifacts because LLMs can make semantically meaningful changes that conventional random mutation cannot (Novikov et al., 2025; Sharma, 2025). However, most LLM-guided evolutionary optimizers select a single parent, use its failures to propose a new candidate in one LLM call, and only then evaluate the result.

This parent-local, one-shot interface is effective when the failure makes both the defect and its repair apparent. It falls short for production AI systems, where isolated failures can reveal little about interacting causes and relevant evidence may be distributed across the search history. First, the selected parent's failure may not reveal the root cause, and a locally beneficial edit may regress capabilities elsewhere in the search history. Second, the mutator cannot interact with the target environment, test hypotheses, or revise its candidate in response to intermediate results. Search can consequently trade one solved task for another, revisit exhausted strategies, or end up plateauing (Zhou et al., 2026).

We introduce CoCoEvolve (Cortex Code Evolve), an evolutionary optimizer built around meta-reflection: (i) selectively retrieving evidence from the accumulated search history beyond the se-

∗^{*}Work done during internship at Snowflake.

Figure

Figure 1: Left: given under-determined feedback, the parent-local mutator guesses a repair in one call and makes no progress. Right: a meta-reflective mutator queries the evolutionary history and reads the trace of a previously evaluated program to determine that all matching fees stack. It also reads documentation to refine which fees match, and synthesizes the two observations. It tests the resulting hypothesis before commit and raises training accuracy from 28/300 to 95/300.

lected parent’s failure and (ii) actively probing the target environment while constructing and validating a mutation. To support meta-reflection, CoCoEvolve uses Cortex Code as its coding-agent mutator (Snowflake Inc., 2026b). The mutator can inspect the parent, run focused experiments, revise its implementation, and validate the result before committing a child. It accesses evolutionary history through both a compact summary and structured queries, allowing it to retrieve prior programs that solved a specific task, inspect the mutation that restored a lost capability, or identify related tasks that have historically regressed together.

Figure 1 illustrates meta-reflection for a DABStep data agent (Egg et al., 2025), where payment-processing rules must be inferred across documentation and live data. Here, a one-shot, parent-local mutation doesn’t make progress, whereas CoCoEvolve’s meta-reflective mutation retrieves the missing evidence, validates the corresponding repair, and succeeds. The same behavior repeats with Lockpicking with Interference, a synthetic stress test where every leading baseline plateaus below perfect accuracy within 50 iterations, while CoCoEvolve reaches 100% in 6 iterations (Appendix G.1).

We evaluate CoCoEvolve primarily on production AI systems, where correctness depends on interactions with live systems rather than prompt text alone. These include agent specifications coupled to tools and semantic data models, SQL pipelines that invoke LLMs to process textual data (Liskowski et al., 2025), and data-engineering workflows (dbt Labs, 2026). We additionally evaluate standard prompt, mathematical, and systems optimization benchmarks from prior work to test whether the method remains competitive when interaction with the environment is limited or unnecessary.

CoCoEvolve optimizes an agent specification on DABStep (Egg et al., 2025), reaching 92.8% held-out hard accuracy, versus 78.4% for an interactive Meta-Harness baseline and 30.4% for GEPA (Lee et al., 2026; Agrawal et al., 2026b); it also tops the validated public leaderboard. 1^{1} CoCoEvolve also improves over the strongest evaluated baseline on six LLM-powered data processing pipeline workloads by up to 10 pp. On held-out HotpotQA, it gains 11 pp over GEPA and 43 pp over the seed (Yang et al., 2018; Agrawal et al., 2026b). On data engineering, it achieves the strongest

1^{1}At submission, this score has not been externally validated; we have contacted the DABStep maintainers but have not received a response.

Figure

Figure 2: CoCoEvolve proposes a new candidate in each iteration by selecting a parent from the archive, curating evidence from the search history to include in the prompt, and equipping a coding-agent mutator with on-demand tools for querying prior lineages and the live target environment. A coding agent investigates, edits, and self-tests a child; the evaluator scores it, records the resulting observations in the history, and, under the default MAP-Elites policy, either discards it or admits it to the archive if it improves its niche. This loop combines compact prompt-visible evidence with environment feedback while preserving diverse programs for future selection.

overall performance among the evaluated evolutionary methods and leads on held-out data-eng-bench (Snowflake AI Research, 2026), solving 77.4% of tasks. Across mathematical and systems optimization objectives, it is competitive with leading evolutionary methods such as AdaEvolve (Cemri et al., 2025), with the largest improvements occurring on objectives that exhibit extended search plateaus. Matched ablations confirm that each component of CoCoEvolve contributes to these gains.