UiPath Paper Shows ReAct Agent Cuts Prompt Optimization Cost by 75%

Original title: New UiPath paper finds that a simple ReAct agent optimizes prompts as well as complex evolutionary m...
72AI Score

A new UiPath paper introduces ReAPO, which uses a single ReAct agent to read failing examples and edit prompts directly, keeping or reverting each change by training score along one line of edits instead of a population. It matched or beat GEPA on 6 public benchmarks with 2 to 7 times fewer evaluation runs, spending $17.4 versus $64.5 in API costs, and won 3 of 5 enterprise agent tasks. The takeaway: try a tool-using agent loop before adopting a complex prompt optimizer, and validate over several runs on your own tasks.

Full Report

Rohan Paul (@rohanpaul_ai) · 2026-12-01 06:01

New UiPath paper finds that a simple ReAct agent optimizes prompts as well as complex evolutionary methods, at about a quarter of the cost.

Recent prompt optimizers like GEPA use evolutionary search, Pareto fronts and mutation rules. They need thousands of evaluation runs and sometimes hand-built feedback for each task.

ReAPO gives 1 agent tools to run the system, read failing examples and edit prompts. It keeps or reverts each change based on the training score, following 1 line of edits instead of a population.

On 6 public benchmarks it matched or beat GEPA with 2 to 7 times fewer evaluation runs, costing $17.4 in API spend against $64.5. On 5 enterprise agent tasks, it beat GEPA on 3.

Before adopting a complex prompt optimizer, try a tool-using agent loop, and test it over several runs on your own tasks.

推文配图