New research from Cresta and Columbia University shows that self-improving agents get better, faster, and cheaper when the optimizer is given structure. Here is what that means for teams running AI agents in production.

Say you work in customer experience at an airline that’s canceled a flight.

As a customer rebooks with you, they mention a $200 travel credit and ask whether flying a day earlier is cheaper. 

A first version of an AI agent can handle most of that call. The hard part comes when it can’t. 

If your airline AI Agent applies the credit to the wrong fare, a developer then has to trace the error to its cause, fix it, re-run that scenario, and then re-run the full test suite to make sure nothing else broke. 

In our experience, 70 to 80 percent of the work in a production deployment is this loop, and it happens after launch.

The cycle of evaluating, diagnosing, editing, and re-evaluating is now something AI is being asked to run on its own. 

This led our research team, with collaborators at Columbia University, to answer a direct question: Can an agent reliably improve its own workflow? 

Our answer, published at the NeurIPS 2026 Workshop on Meta Agents, is yes, provided the self-improvement process is structured. 

We call the approach Structured Workflow Optimization (SWO), and its ideas shape how Cresta Conductor, our agent for AI agent development, works today.

The Rise of Self-Improving Agents

Self-improving AI, sometimes called recursive self-improvement, is one of the busiest areas in AI research. 

Early work focused on prompts: DSPy and OPRO treat instructions as something an LLM can tune, and Genetic-Pareto (GEPA) showed that reflective prompt evolution, where a model reads its own execution traces and rewrites its instructions, can outperform reinforcement learning. 

Later work widened the search to whole workflows (AFlow) and to debugging, where failures are treated as evidence rather than only as scores. HarnessFix, for example, traces each failure back to the layer of the agent responsible for it. 

Why Unstructured Self-Improvement Falls Short

The simplest approach is to put a meta-agent, an agent whose job is to improve other agents, directly into the development loop: give it the code and a test suite, and let it propose edits and re-run tests. 

In our experiments, this native self-optimization hit three problems familiar to anyone who maintains a production agent: 

  1. It misreads why the agent failed. Working from raw transcripts, the optimizer invents its own explanation for each failure, so similar failures get different diagnoses and some are never addressed.
  2. It fixes the wrong thing. An agent has routing logic, subagent prompts, tool definitions, and custom code, yet an unconstrained optimizer keeps reaching for the prompt, adding one more instruction for every problem.
  3. It forgets. Without a record of past attempts, it proposes the same fix twice or undoes a change that was working.

How SWO Works: Diagnose, Locate, Repair, Remember

Structured Workflow Optimization (SWO) keeps the same meta-agent but changes what it sees. Instead of an aggregate score and a pile of transcripts, it receives three kinds of structured context:

1. Structured failure diagnosis: Every failure is mapped to one of three categories. Action failures concern tool use, such as a missing API call or invalid arguments. State failures mean the outcome is wrong, such as a booking saved with the wrong date. Trajectory failures concern how the conversation unfolded, such as skipping identity verification, routing too early, or ending the call prematurely. Failures with the same cause are grouped into clusters, and each cluster gets an evidence-backed root-cause hypothesis.

2. Editable-surface search and repair: Before changing anything, SWO decides where the change belongs among four surfaces: the scaffold (structure, routing, escalation), the prompts, the tool interfaces, and the custom code behind the tools. If the evaluator expects a tool the workflow declares under a different name, the fix goes to the tool configuration, not into another prompt instruction.

3. Cross-iteration memory. SWO keeps an optimization ledger of scores before and after each change, an evaluation report with current failure clusters and a prioritized fix backlog, and a revision log tying each change to its evidence. It is the changelog a disciplined engineering team keeps, and it lets the optimizer skip failed ideas, catch regressions, and keep what works.

Overview of Structured Workflow Optimization (SWO). SWO takes an initial agent workflow and evaluation suite as input and improves the agent through structured failure diagnosis, editable-surface search and repair, and cross-iteration optimization memory.
SWO takes an initial agent workflow and evaluation suite as input and improves the agent through structured failure diagnosis, editable-surface search and repair, and cross-iteration optimization memory.

What the Results Mean for the Business

We tested SWO on customer-service agents across four τ-bench domains and three VitaBench scenarios, with GPT-5.4 Nano and Kimi K2.6 as the agents and Claude Opus 4.6 as the optimizer. 

The baseline used the same models, tests, and code access, minus the structure.

Selected results from the paper: change in task success after optimization (in points) and optimization tokens used, without SWO → with SWO.
Selected results from the paper: change in task success after optimization (in points) and optimization tokens used, without SWO → with SWO.
  • Larger gains. On Telecom, SWO raised first-attempt success (Pass^1) by 21.0 points versus 4.6 for the baseline; on Retail, 15.8 versus 5.9.
  • More consistent agents. Pass^3 asks whether the agent succeeds on all three repeated attempts at a task, which is what a customer who calls three times experiences. On airline, SWO lifted Pass^3 from 13.3 to 38.0, versus 26.7 for the baseline.
  • No backsliding. Unstructured optimization sometimes made agents worse, dropping Pass^1 on VitaBench Delivery from 16.7 to 11.0. SWO improved both metrics in every reported setting.
  • Lower cost. SWO used about 17.4% fewer optimization tokens on τ-bench and 27.3% fewer on VitaBench, often in fewer iterations.

To see which parts of SWO matter most, we removed them one at a time and re-ran the optimization on the airline and telecom domains of τ²-bench. 

Full SWO reached the highest final Pass^1 in both. And dropping cross-iteration memory or editable-surface guidance hurt, but dropping failure diagnosis hurt most: on telecom, the agent ended up worse than where it started. 

Accuracy vs optimization loop charts
Component-wise ablation of SWO on the Airline and Telecom domains of τ²-bench using GPT-5.4 Nano. Full SWO achieves the highest final Pass^1 in both domains, while removing failure analysis causes the largest drop.

Knowing When to Stop Patching the Prompt

One airline run shows the difference clearly. 

Both optimizers started at the same score, and both dipped after first editing the cancellation policy. 

Then their paths split. 

The unstructured optimizer kept editing shared surfaces, ending with changes to the global agent instruction at 51.2 percent. 

SWO used its failure clusters and history to see that one shared policy was handling too many situations. At the third iteration, it split the agent into separate routes, each handling its own type of request, and finished at 54.2%. Noticing that the same kind of patch keeps failing and changing the architecture instead is what a senior engineer does, and it requires evidence and memory, not only a score.

Fixes also need to hold for customers the tests never encountered. Optimized on 30 airline tasks, the agent improved from 28.3 to 38.3 percent on 20 held-out tasks and learned to hold firm on policy under repeated customer pressure. One overly strict rule did not transfer and was later reverted. 

That is why the paper recommends limits on what the optimizer may edit, human review of high-impact changes, regression testing on held-out suites, and revision logs for audit and rollback.

From the Paper to the Product: Conductor

Cresta Conductor is a natural-language environment for building, testing, and improving agents on the Cresta platform. SWO formalizes much of what Conductor does after an agent is built.

How SWO maps onto Conductor
  • Structured evidence: Failures come from Cresta's Testing Suite with human-calibrated evaluators, Synthetic Customers derived from real conversations, and AI feedback on production calls. Conductor clusters failures across the eval set so one fix does not quietly break other cases.
  • Fixes in the right place: Root-cause analysis spans the blueprint, transcript, prompts, tools, configuration, knowledge, and custom code, and the fix lands where it belongs.
  • Memory that compounds: Every fix updates the blueprint, the single source of truth for what is deployed. The agent hot reloads so the failed scenario can be re-run immediately, and proven patterns become reusable skills.
  • People decide what ships: Conductor can iterate toward a quality target, but fixes and evidence go to developers for review, and changes can be A/B tested on live traffic.

What This Means for CX leaders

Conductor delivers four outcomes for CX teams running AI agents in production:

  • Faster time to value: Cresta's Forward Deployed Engineers have used Conductor to cut initial deployment timelines roughly in half. 
  • Lower cost per improvement: Fewer iterations and tokens make continuous optimization affordable across a whole portfolio of agents. 
  • Reliability customers can trust: Consistency and the absence of regressions matter most in banking, insurance, and telecom. 
  • Knowledge that accumulates: Each iteration leaves evidence and reusable patterns, so the tenth agent is easier to build than the first.

See how Conductor finds, fixes, and verifies agent failures, with a person approving every change, by requesting a  demo.

SWO: Structured Workflow Optimization for Self-Improving AI Agents. Yun-Yun Tsai (Columbia University), Renjie Li, Ming Yin, Xuyang Zhao, Duo Ding (Cresta), and Junfeng Yang (Columbia University). 

NeurIPS 2026 Workshop on Meta Agents.

Frequently asked questions

No items found.