How much can an AI agent improve without changing its model? The CUGA agent improvements reported by IBM Research on 1 December 2026 offer a measured answer. The team tested CUGA, its open-source agent, on the VAKRA benchmark using GPT-OSS-120B, and changed only the agent harness: how it selects tools, executes multi-step tasks, and produces answers.
The result was a large gain on the tasks where the harness had been failing. CUGA now outperforms a LangGraph ReAct agent using the same model across all four VAKRA capabilities, and on multihop tasks its success rate increased from 19% to 52.8%. All of the improvements are open source, and the parts specific to VAKRA are kept in a separate adapter, so the changes are reusable configuration rather than fixes written for one benchmark.
CUGA agent improvements: what CUGA tested on VAKRA, and why the harness was the variable
An agent is a model and a harness. The harness controls what the model sees, how the agent calls tools, and how it gives its final answer. Frontier models are more forgiving of a weak harness. Open-weight models in the 100B range often cannot afford one, and many enterprises must use open-weight models for cost, privacy, or on-premises deployment. The IBM Research team wanted to know how much of the gap a harness can close when the model stays the same, and VAKRA gave them a way to measure it.
CUGA is a harness for enterprise automation, where an agent does work across business systems. VAKRA scores enterprise agents on four capabilities: business intelligence (BI) APIs, Tool Selection tasks, multihop tasks, and multihop tasks across many sources under policy. To keep the comparison fair, the team compared CUGA with a reference agent that uses the same model: a LangGraph ReAct agent on GPT-OSS-120B. With the model held constant, any difference in results comes from the harness.
Where CUGA started: first-run scores against the same-model reference
The first run used CUGA as it was, with no change. On a sample of tasks, CUGA solved 12% of the Tool Selection tasks and 19% of the multihop tasks. The reference agent solved 50.5% and 25.1% on that same sample. Each failure the team examined pointed to the harness, not to the model.
Those sample figures should not be confused with the final test-set table in the results section below, where the reference agent scores 50.4% on Tool Selection and 27.9% on multihop tasks. The sample was an early look at the problem; the table is the final measurement. What the first run established was the pattern: the failures fell into three groups, and each group became a configuration point.
Native function calling: one tool call at a time

The first failure pattern was code-first execution. By default, CUGA writes a short Python script that calls several tools in sequence. That works when the steps are independent. In a multihop task, each step needs the output of the step before it, so a script the model writes in advance often uses wrong values. These tasks need the agent to look at each result before it takes the next step.
A real task from the VAKRA training set shows the failure clearly: “In the nation where Harvard University is located, what is the percentage of female university students in 2016?” The task requires two sequential tools: one identifies the university’s country, and the other retrieves the percentage for that country and year. In code-first mode, CUGA called both tools without inspecting the intermediate result. The first tool returned this record:
{"country_name": "United States of America"}CUGA passed the entire record to the second tool instead of extracting the country name, and the lookup failed. The information was there; the harness never stopped to use it.
Native function calling is the fix, and it is a second execution mode sitting next to code-first execution. The agent makes one real tool call, examines the result, and then selects the next call. The post recommends it for tasks that are a conversation with an API, and says this mode broke the ceiling on multihop tasks. The relevant settings are:
cuga_lite_execution_mode = "function_calling" # default: "codeact" (code-first)
cuga_lite_step_discipline = "one_tool_per_step" # default: "off"A team does not have to choose one mode for everything. Because each fix is a setting, a deployment can select code-first execution for independent steps and function calling for a chain of dependent steps, in the same deployment.
A configurable shortlister for crowded tool catalogs

The second failure pattern was tool selection itself. Presenting the full catalog led to wrong tool choices or invented arguments in these runs. VAKRA gives the agent a large catalog of APIs, and many of them have similar names and schemas. When all of them go into the prompt, the model selects the wrong tool or makes up arguments. Tool selection needs its own step before the model sees the catalog.
The shortlister is that step. It reduces the tool catalog to a small set of candidate tools before the model selects one, and the strategy it uses is now a setting for each deployment. There are three built-in strategies: llm, where the model picks the tools and which is the default; embedding, a fast similarity search that needs no model call; and hybrid, where the similarity search shortens the list and then the model picks. A deployment can also plug in its own strategy. The reported example uses the embedding strategy and keeps 128 tools:
strategy = "embedding" # default: "llm"; also "hybrid", or your own class
top_k = 128 # how many tools the similarity search keepsThe point is not that one strategy is always right. It is that the choice is now configuration, so a team can match the strategy to the size and shape of its own API catalog instead of rewriting the harness.
A final-answer pipeline that returns a scorable answer
The third failure pattern was at the end of the run. The answer must come from data that the model actually saw. Some runs found the correct data and then gave an answer in the wrong format, or an answer that the data did not support. When a run failed in the middle, the agent sometimes returned nothing that could be scored. Work that produced the right data was lost because the final step was uncontrolled.
The final-answer pipeline makes that step controlled. One step produces the answer, with a strict output format, deterministic cleanup, and retry gates. The agent gives an answer that can be scored, also when the run fails before it finishes. The settings let a team say how the answer should be written and supply the function that cleans it:
instructions = "Answer with the value only." # how the model should write the answer
function = "my_package.clean_answer" # your function that cleans the answer textThe function value in the post’s example is a placeholder for the reader’s own cleanup function, not a real package. The idea is the same as with the other two settings: the behaviour is declared in configuration, so the same pipeline can serve a scorer, a downstream system, or a person who must accept the output with no manual cleanup.
The results, capability by capability
These are the final results on the VAKRA test set, with CUGA and the reference agent both using GPT-OSS-120B:
| Capability | CUGA, first run | Reference agent | CUGA, now |
|---|---|---|---|
| 1 · BI APIs | ~20% * | 41.9% | 47.2% |
| 2 · Tool Selection | 12% | 50.4% | 67.9% |
| 3 · Multihop | 19% | 27.9% | 52.8% |
| 4 · Multihop, many sources, with policy | ~16% * | 18.7% | 33.4% |
The asterisks mark estimates: the first-run scores for capabilities 1 and 4 are estimates, so the gain on those two capabilities is approximate. Relative to the LangGraph ReAct reference agent, the largest gains are on multihop tasks (+24.9 percentage points), followed by Tool Selection (+17.5 points) and multihop under policy (+14.7 points). On BI APIs, the gain is the smallest (+5.3 points).
Which change helped most? The team estimates about 45% of the gain from function calling, 30% from the shortlister, 20% from the final-answer pipeline, and 5% from smaller changes. That split is also an estimate, because the changes were not tested one at a time. Each score in the post is from a single run, so the results come from one benchmark and one model, and they have limits. Those limits are the subject of the next section.
What this means for enterprise automation, and what it does not prove
VAKRA is useful to the team because its tasks have the same shape as enterprise automation work, and each configuration point maps to a problem enterprise teams recognise. Hundreds of APIs with similar names and schemas stand for enterprise systems that expose large API catalogs, with many versions of one operation; the answer is the configurable shortlister. Multihop tasks, where each step uses the output of the step before, stand for a business process that reads a record, makes a decision on it, and then writes to the next system; the answer is native function calling. An answer that a scorer must read stands for output that a downstream system or a person must accept with no manual cleanup; the answer is the final-answer pipeline. Multihop tasks across many sources, under policy, stand for automation that must obey written rules on data and actions; the answer is all three settings together.
Capability 4 is the closest to real enterprise work: many sources, many steps, and a policy to obey. It is also the capability where CUGA on GPT-OSS-120B scores higher than GPT-5.5 with a ReAct agent, 33.4% against 28.8%. All scores on capability 4 are low, so this capability is not solved. A frontier model still does better on most capabilities: GPT-5.5 with a ReAct agent scores 50.3%, 72.2% and 54.7% on capabilities 1 to 3, and CUGA on GPT-OSS-120B scores higher only on capability 4. A better harness made the gap to the frontier model smaller on an open-weight model. It did not remove the gap.
What endures beyond the benchmark is the way the work was done. The core of CUGA contains no code that is specific to VAKRA. All of the work is merged into the CUGA agent and evaluation code, in 15 pull requests: #777 for function calling, #664 for the shortlister, and #707 for the final answer. The parts specific to VAKRA are in an open adapter in the evaluation code. To keep the gains, pull requests to CUGA run against regression splits of the benchmarks, so a change that makes the agent worse on VAKRA fails before it merges. Future benchmarks or deployments can reuse these configuration options. That is what the team means by harness engineering through configuration: improve the harness, keep the model, and let the settings carry the improvement forward.












