ReASearch: Agent-Driven Optimization for Prompts, Programs, and ML Workflows

Junbo Li, Boyi Liu, Canwen Xu, Yite Wang, Yuxiong He, Zhangyang Wang, Qiang Liu, Zhewei Yao· August 10, 2026 View original

Key takeaways

  • ReASearch internalizes optimization search policies within a single agent.
  • The agent autonomously evaluates, diagnoses, edits, and refines strategies.
  • It offers a unified framework for optimizing prompts, programs, and ML workflows.
  • ReASearch outperforms specialized systems and discovers novel solutions.

Who benefits

AI/TechSoftware DevelopmentData ScienceMLOpsResearch & Development

Summary

ReASearch is a unified framework where a single tool-using agent autonomously optimizes prompts, programs, and ML workflows by internalizing search policies. It actively analyzes outcomes, diagnoses failures, makes edits, and refines strategies over long horizons using persistent memory, outperforming specialized optimization systems.

Traditional systems for optimizing prompts, programs, and machine learning workflows often rely on explicit outer-loop controllers like evolutionary search or textual gradients. This research explores a different paradigm, asking how much of this complex search policy can be internalized directly by a single, tool-using agent. The result is ReASearch, a unified framework for reasoning-driven optimization. In ReASearch, the agent itself autonomously decides what to evaluate, how to diagnose failures, which edits to make, and when to verify or restart. Instead of merely generating proposals based on heuristics, the agent actively analyzes outcomes, manages its budget, and refines its strategy over extended periods using persistent memory. By employing a shared agent loop with domain-specific tools, ReASearch can optimize prompts, programs, and ML workflows using the same underlying scaffold. Across 14 diverse tasks, ReASearch consistently outperforms or matches specialized optimization systems, achieving significant gains and even discovering solutions superior to previous human best-known results.

Why it matters

Professionals in AI development and MLOps can leverage ReASearch to automate and significantly improve the optimization of various AI artifacts, from prompt engineering to complex ML workflow tuning, leading to more efficient and higher-performing systems.

How to implement this in your domain

  1. 1Explore integrating ReASearch's agentic optimization framework into your ML development lifecycle.
  2. 2Apply reasoning-driven search to automate prompt engineering for LLM applications.
  3. 3Utilize the framework for autonomous debugging and optimization of code and ML workflows.
  4. 4Investigate how persistent memory and self-refinement can enhance your existing AI agents.

Original post by Junbo Li, Boyi Liu, Canwen Xu, Yite Wang, Yuxiong He, Zhangyang Wang, Qiang Liu, Zhewei Yao

"arXiv:2608.06714v1 Announce Type: new Abstract: Recent systems for optimizing prompts, programs, and ML workflows typically rely on explicit outer-loop controllers such as evolutionary search, bandits, or textual-gradient methods. We ask a fundamentally different question: how mu…"

View on X

Originally posted by Junbo Li, Boyi Liu, Canwen Xu, Yite Wang, Yuxiong He, Zhangyang Wang, Qiang Liu, Zhewei Yao on X · view source

Want to go deeper?

Turn these trends into skills with Learnijoy's hands-on AI & tech courses.

Explore courses