CUGA agent lifts VAKRA multihop score from 19% to 52.8% by changing only the harness

CUGA agent lifts VAKRA multihop score from 19% to 52.8% by changing only the harness

The CUGA team, which builds an open-source enterprise agent of the same name, published a post on Hugging Face asking how much an agent can improve without changing its model. They tested CUGA on the VAKRA benchmark with GPT-OSS-120B and left the model alone. They changed the harness instead: how the agent selects tools, runs multi-step tasks and produces answers. Their headline result is that CUGA now beats a LangGraph ReAct agent running the same model on all four VAKRA capabilities, and that its multihop success rate went from 19% to 52.8%.

The framing is that an agent is a model plus a harness. The harness controls what the model sees, how it calls tools and how it gives its final answer. Frontier models forgive a weak harness more easily; open-weight models around 100B parameters often cannot, and many enterprises must use open-weight models for cost, privacy or on-premises deployment. VAKRA scores enterprise agents on four capabilities: business intelligence (BI) APIs, Tool Selection, multihop tasks, and multihop tasks across many sources under policy (capability 4). To keep the comparison fair, the team used a reference LangGraph ReAct agent on the same GPT-OSS-120B.

The first run used CUGA unchanged. On a sample of tasks it solved 12% of Tool Selection tasks and 19% of multihop tasks, against 50.5% and 25.1% for the reference agent. The team says each failure it examined pointed to the harness, not the model. It names three lessons. First, a model cannot choose reliably from hundreds of near-identical tools: VAKRA gives the agent a large API catalog with similar names and schemas, and putting all of it in the prompt leads to wrong tools or invented arguments. Second, CUGA's default code-first mode writes a short Python script that chains several tool calls before seeing any result, which breaks when each step depends on the previous output. Third, answers must come from data the model actually saw: some runs found the right data but answered in the wrong format or with an unsupported answer, and runs that failed midway sometimes returned nothing scorable.

The post's worked example is a real VAKRA training task: "In the nation where Harvard University is located, what is the percentage of female university students in 2016?" It needs two tools in sequence, one to find the university's country and one to fetch the percentage for that country and year. In code-first mode CUGA called both without inspecting the intermediate result. The first tool returned {"country_name": "United States of America"}, but CUGA passed the whole record to the second tool instead of extracting the country name, and the lookup failed.

Each lesson became a configuration point, merged into cuga-agent. (1) Native function calling is a second execution mode next to code-first: the agent makes one real tool call, examines the result, then picks the next. The team says this mode broke the ceiling on multihop tasks. Settings include cuga_lite_execution_mode = "function_calling" (default "codeact") and cuga_lite_step_discipline = "one_tool_per_step" (default "off"). (2) A configurable shortlister narrows the tool catalog before the model chooses. The strategy is now a per-deployment setting: llm (the default, where the model picks the tools), embedding (a fast similarity search with no model call), hybrid (similarity search shortens the list, then the model picks), or a custom class. A top_k setting, for example 128, sets how many tools the similarity search keeps. (3) A final-answer pipeline produces the answer in one controlled step, with a strict output format, deterministic cleanup and retry gates, so the agent returns a scorable answer even when a run fails before finishing. It takes instructions such as "Answer with the value only." and an optional cleanup function.

The team estimates about 45% of the gain came from function calling, 30% from the shortlister, 20% from the final-answer pipeline and 5% from smaller changes. It stresses this is an estimate, because it did not test each point alone.

On the final VAKRA test set, with CUGA and the reference agent both on GPT-OSS-120B, the largest gain over the reference is on multihop tasks (+24.9 percentage points), then Tool Selection (+17.5 points) and multihop under policy (+14.7 points). The smallest is on BI APIs (+5.3 points). Capability 4, the one closest to real enterprise work (many sources, many steps, a policy to obey), is the one where CUGA on GPT-OSS-120B beats GPT-5.5 with a ReAct agent, 33.4% against 28.8%. The team notes all capability 4 scores are low, so it is not solved.

The post is open about limits. The results come from one benchmark and one model, and each score is from a single run. 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 beats it only on capability 4. A better harness narrowed the gap to the frontier model but did not remove it. The first-run scores for capabilities 1 and 4 are estimates, so the gain on those two is approximate.

On scoring, VAKRA re-runs the agent's tool calls and checks that the answer is correct (either the calls returned all the data the reference solution uses, or a judge model, GPT-OSS-120B at temperature 0, decides the answer matches) and grounded (the judge checks the tool data supports it). On capability 4 a rule-based check also fails a dialogue in which the agent broke a tool-use policy.

The team says the core of CUGA has no VAKRA-specific code. The changes landed in cuga-agent in 15 pull requests, with the three configuration points as #777 (function calling), #664 (shortlister) and #707 (final answer). VAKRA-specific parts sit in an open adapter in cuga-eval. Pull requests to CUGA now run against regression splits of the benchmarks, so a change that makes the agent worse on VAKRA fails before it merges. The VAKRA team helped the CUGA team understand the tasks and evaluated intermediate results.

Key facts

  • With GPT-OSS-120B fixed, CUGA's multihop success on VAKRA rose from 19% (first run, on a sample of tasks) to 52.8%, using only harness changes.
  • Three new options: native function calling, a configurable shortlister (llm, embedding, hybrid or custom) and a final-answer pipeline; the team estimates a 45% / 30% / 20% / 5% split of the gain.
  • Final gains over a LangGraph ReAct agent on the same model: +24.9 points on multihop, +17.5 on Tool Selection, +14.7 on multihop under policy, +5.3 on BI APIs.
  • On capability 4, CUGA with GPT-OSS-120B scores 33.4% against 28.8% for GPT-5.5 with a ReAct agent, but GPT-5.5 stays ahead on capabilities 1 to 3 (50.3%, 72.2%, 54.7%).
  • The changes are open source, merged into cuga-agent in 15 pull requests, with VAKRA-specific code kept in a separate adapter in cuga-eval.

Why it matters

The post puts a number on how much of the open-weight versus frontier gap a harness can close while the model stays the same. On multihop tasks CUGA went from 19% on its first run to 52.8%, and it now beats a same-model LangGraph ReAct agent on all four VAKRA capabilities. On the hardest one, many sources under policy, it also scores above GPT-5.5 with a ReAct agent (33.4% against 28.8%). The team's argument is that many enterprises must run open-weight models of about 100B parameters, so the harness matters more for them than for users of frontier models, which are more forgiving of a weak one.

Who it affects

Teams that build or run agents on open-weight models, especially enterprises that need them for cost, privacy or on-premises deployment. CUGA users get the new settings in cuga-agent. Anyone running another agent on VAKRA is invited to share results; the post points to the VAKRA shared task at SemEval 2027.

How to use it

The options are settings in cuga-agent (src/cuga/settings.toml). Set cuga_lite_execution_mode to "function_calling" (default "codeact") for chains of dependent steps, and cuga_lite_step_discipline to "one_tool_per_step" (default "off"). In the [shortlister] section choose strategy "llm" (default), "embedding" or "hybrid", or supply your own class, and set top_k (the example uses 128) for how many tools the similarity search keeps. In [final_answer] set instructions, such as "Answer with the value only.", and a cleanup function. The team suggests code-first execution for independent steps and function calling for dependent ones, in the same deployment. The work is open source; the post gives no price or licence terms.

How solid is it

The numbers are the CUGA team's own, from VAKRA, a benchmark with its own team that helped with the task analysis and evaluated intermediate results. CUGA is compared against a same-model reference agent, which is a fair baseline. The post flags its own weak spots: the first-run comparison (12%, 19%, 50.5%, 25.1%) is on a sample of tasks, the first-run scores for capabilities 1 and 4 are estimates, the 45/30/20/5 split of the gain is an estimate, and every score comes from a single run. The post does not give a full results table in text, only the gains and some individual scores.

Risks and caveats

The results cover one benchmark and one model, and the post reports no other models or benchmarks. A frontier model (GPT-5.5 with ReAct) still does better on capabilities 1 to 3, so the better harness narrowed the gap without closing it. All capability 4 scores are low, so the team says it is not solved. The team says each new benchmark still needs setup work, though it is now a repeatable sequence: study the tasks, connect the tools, configure the agent, adapt what does not fit, and iterate. The post does not say how long the work took or what it cost in compute.

“In the nation where Harvard University is located, what is the percentage of female university students in 2016?”

— A real task from the VAKRA training set, used in the CUGA team's post to show a code-first failure