HyEvo: Self-Evolving Hybrid Agentic Workflows for Efficient Reasoning

Beibei Xu, Yutong Ye, Chuyun Shen, Yingbo Zhou, Cheng Chen, Mingsong ChenarXiv 2026

TL;DR

HyEvo is an automated framework that designs highly efficient agentic workflows by combining probabilistic LLM nodes for semantic reasoning with deterministic code nodes for rule-based execution. Driven by a multi-island evolutionary strategy and a reflect-then-generate mechanism, it consistently outperforms state-of-the-art baselines while slashing inference costs by up to 19$\times$ and execution latency by up to 16$\times$.

What Problem Does This Paper Address?

Agentic workflows—which organize specialized LLM instances into computational graphs—have shown great promise in tackling complex reasoning tasks. However, designing these workflows manually is labor-intensive and hard to scale.

While automated workflow generation methods exist, they suffer from two major limitations:

  1. Dependency on Predefined Libraries: They typically rely on human-crafted operator libraries, meaning they aren't fully automated.
  2. Structural Homogeneity: They generate workflows composed entirely of LLM nodes. Using probabilistic LLM inference for every single task—including deterministic operations like format validation or rule-based routing—results in massive execution overheads in both latency and monetary cost.
Figure 1: Comparison between existing methods and HyEvo.

Methods

HyEvo introduces heterogeneous atomic synthesis, allowing an LLM "meta-agent" to autonomously construct workflows from scratch using two distinct primitives: LLM nodes (for complex semantic reasoning) and Code nodes (for deterministic execution).

To efficiently navigate this expanded hybrid search space, HyEvo implements a self-evolving loop consisting of four key components:

  • Multi-Island MAP-Elites Strategy: To maintain population diversity and prevent premature convergence, workflows are evolved across isolated "islands." HyEvo maps workflows to a multi-dimensional grid based on behavioral descriptors: workflow complexity (total node count) and reasoning density (the proportion of LLM nodes). Periodic migration allows top-performing structures to spread between islands.
  • Reflect-then-Generate Mechanism: Instead of mutating workflows at random, the meta-agent performs a comparative analysis. It inspects execution failure logs from a parent workflow, diagnoses structural bottlenecks, and generates a refined topology along with the specific node instructions or code scripts.
  • Cascaded Sandbox Evaluation: Evaluating every candidate on a full dataset is computationally expensive. HyEvo applies a fast screening protocol on half of the validation set; only candidates that clear a specific reward threshold proceed to full evaluation.
Figure 2: Overview of the HyEvo framework

Datasets

The authors evaluated HyEvo across five standard benchmarks spanning two core domains:

  • Mathematical Reasoning: GSM8K, MATH, and MultiArith.
  • Code Generation: HumanEval and MBPP.

Key Insights and Ideas

  • The Power of Heterogeneity: Delegating rule-based sub-tasks to executable code nodes offloads predictable operations from LLM inference. This hybrid division of labor is the primary driver behind HyEvo's massive cost and latency reductions.
  • Synergy Over Scale: More nodes do not automatically equal better performance. The authors' population landscape analysis reveals that the highest-performing solutions naturally cluster within specific hybrid regions of the search space rather than scaling linearly with node count.
  • Targeted Debugging via Reflection: Purely algorithmic mutations often struggle with complex graph topologies. Providing the meta-agent with natural language reflection capabilities based on real execution feedback allows it to successfully correct complex logical errors and escape local optima.
Figure 3: Ablation study of HyEvo components.

Key Results

HyEvo was comprehensively tested against leading automated workflow baselines (such as MaAS and AFlow) across three different backbone models: gpt-4o-mini, DeepSeek-V3, and Qwen3-Max.

  • Superior Accuracy: HyEvo achieved the highest performance across all five benchmarks, yielding an average accuracy of 84.82% and outperforming the state-of-the-art open-source baseline, AFlow, by 2.57%.
  • Massive Resource Savings: The efficiency gains were particularly striking on computationally demanding tasks. On the MBPP dataset, HyEvo reduced token costs by 13$\times$ to 19$\times$ and accelerated execution latency by 10$\times$ to 16$\times$ compared to AFlow. On the MATH benchmark, it reduced costs by 2$\times$ to 4$\times$ and cut latency by 2$\times$ to 5$\times$.
Figure 4: The evolutionary trajectory of the optimal hybrid workflow on the MATH dataset.

Limitations and Future Work

Not discussed in the paper.

Summary updated

BibTeX
@misc{xu2026hyevo,
  author = {Beibei Xu and Yutong Ye and Chuyun Shen and Yingbo Zhou and Cheng Chen and Mingsong Chen},
  title = {{HyEvo: Self-Evolving Hybrid Agentic Workflows for Efficient Reasoning}},
  year = {2026},
  eprint = {2603.19639},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2603.19639},
}
Figure