Opera: A Verbal Critic Framework for Long-horizon Coding Agents

Kai Mei, Zhiyuan Hu, Yutong Dai, Juntao Tan, Yifan Zhang, Dingjie Song, Dimitris N. Metaxas, Silvio Savarese and 2 others

Salesforce AI Research · Rutgers University · Lehigh University

Published October 8, 2026 · on the feed October 9, 2026 · ▲ 16 · arXiv 2609.33987

AgentsCode & softwareLLM training & RL Full code arXiv ↗Hugging Face ↗

The abstract

Long-horizon coding agents need timely corrections, yet feedback can be ineffective or even harmful when it misjudges ongoing work or fails to address the underlying problem. Existing critics focus on evaluating trajectories and generating feedback, but rarely track what happens after feedback is delivered. We present Opera, a verbal critic framework that treats each correction as a persistent note, followed until the diagnosed problem is resolved. Opera decides when to review through periodic and event-driven triggers, diagnoses issues with typed operators, audits feedback against visible evidence before delivery, and tracks the agent's subsequent actions to distinguish mere compliance from actual resolution. As a test-time critic, Opera improves the resolve rate of non-critic agents by up to 12.4, 15.0, and 8.9 percentage points on Terminal-Bench 2.1, a SWE-Bench Pro subset, and DeepSWE v1.1, respectively, across four policy models, and achieves the highest mean resolve rate among competitive critic baselines on all three benchmarks, and also improves policy models when the policy critiques itself. Beyond inference, Opera-guided rollouts provide approximately on-policy training data: fine-tuning Qwen3.5-9B on them improves its resolve rate on held-out SWE-Bench Pro repositories by 10.2 percentage points without a critic at inference time, matching fine-tuning on rollouts from a stronger model, while preserving its performance when switching harness, i.e., from Openhands to Terminus-2, which the latter substantially degrades. Our code is available at: https://github.com/dongyuanjushi/Opera.

The Brief

2:35

A short podcast summary of the paper. Written and voiced by AI.

Transcript

Opera. A Verbal Critic Framework for Long-horizon Coding Agents. By Kai Mei and nine others, from Salesforce AI Research, Rutgers University, and one other institution. Published on the eighth of October. Its code repository is worked out: about one thousand five hundred source files, with a readme.

A coding agent working on a long task benefits from being corrected at the right moment. But feedback can fail. It can be ineffective, or even harmful, when it misjudges the work in progress or does not address the real problem. Existing critics concentrate on two jobs: evaluating trajectories and generating feedback. What they rarely do is follow up, watching what happens once the feedback has been delivered.

Opera is a verbal critic framework built around that follow-up. It treats every correction as a persistent note, and it keeps following that note until the problem it diagnosed has actually been resolved. A correction, in other words, is not finished when it is said. It is finished when it has worked.

The framework moves through four steps. It decides when to review, using triggers that are both periodic and driven by events. It diagnoses issues with typed operators. Before anything is delivered, it audits the feedback against evidence that is visible. And afterwards it tracks the agent's next actions, so it can tell mere compliance apart from genuine resolution. An agent that nods along and an agent that has fixed the problem are not treated as the same.

Used as a critic at test time, Opera raises the resolve rate of agents without a critic by up to twelve point four percentage points on Terminal-Bench 2.1, up to fifteen points on a SWE-Bench Pro subset, and up to eight point nine points on DeepSWE v1.1. Those figures hold across four policy models. On all three benchmarks it has the highest mean resolve rate among competitive critic baselines, and it also helps when a policy model critiques itself.

The second use is for training. Rollouts guided by Opera supply data that is approximately on-policy. Fine-tuning Qwen3.5-9B on them improves its resolve rate on held-out SWE-Bench Pro repositories by ten point two percentage points, with no critic present at inference. That matches fine-tuning on rollouts from a stronger model. It also keeps its performance when the harness changes from Openhands to Terminus-2, a switch that substantially degrades the model trained on the stronger model's rollouts.

The organising idea is accountability for advice. Opera does not stop at saying what is wrong. It checks its own feedback before giving it and then holds the note open until the agent's behaviour shows the problem is gone, and the trajectories that result turn out to be useful teaching material as well.

More with an account

Listen to every day’s papers

Daily playlists, deep dives, quests for the papers, and quizzes on their key terms.

Join free
KipQuest: the day’s AI research, as podcasts and quests. All papers Android app Privacy Contact Episodes are written and voiced by AI from each paper. Summaries can contain mistakes: the paper is the source.