TL;DR: How much can we improve an AI agent without changing its model? We tested CUGA, our open-source agent, on the VAKRA benchmark using GPT-OSS-120B. Instead of changing the model, we improved the agent harness: how it selects tools, executes multi-step tasks, and produces answers. These improvements are reusable configuration options, not benchmark-specific fixes. CUGA now outperforms a LangGraph ReAct agent using the same model across all four VAKRA capabilities. On multihop tasks, its success rate increased from 19% to 52.8%. All improvements are open source, with VAKRA-specific integration kept in a separate adapter. Why the harness matters for open-weight models 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, and many enterprises must use open-weight models for cost, privacy or on-premises deployment. We wanted to know how much of the gap a harness can close when the model stays the same. VAKRA gave us a way to measure it. The starting point 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, we compare CUGA with a reference agent that uses the same model: a LangGraph ReAct agent on GPT-OSS-120B. Our 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%. Each failure that we examined pointed to the harness, not to the model. What VAKRA taught us A model cannot select from hundreds of tools that look almost the same. 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. Code-first execution commits to a full chain of tool calls before it sees one result. 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 that 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. Here is a real task from the VAKRA training set: "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 returned {"country_name": "United States of America"}, but CUGA passed the entire record to the second tool instead of extracting the country name. The lookup failed. 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. Three new configuration points Each lesson became a setting that any CUGA deployment can use. 1. Native function calling. This is a second execution mode, next to code-first execution. The agent makes one real tool call, examines the result, and then selects the next call. Use it for tasks that are a conversation with an API. This mode broke the ceiling on multihop tasks. 2. A configurable shortlister. The shortlister reduces the tool catalog to a small set of candidate tools before the model selects one. The strategy that it uses is now a setting for each deployment. You can choose one of three built-in strategies, or plug in your own: llm, where the model picks the tools (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. 3. A final-answer pipeline. One controlled step produces the answer: a strict output format, deterministic cleanup, and retry gates. The agent gives an answer that you can score, also when the run fails before it finishes. # The CUGA settings for the three configuration points: # # cuga-agent: src/cuga/settings.toml [advanced_features] cuga_lite_execution_mode = "function_calling" # default: "codeact" (code-first) cuga_lite_step_discipline = "one_tool_per_step" # default: "off" [shortlister] strategy = "embedding" # default: "llm"; also "hybrid", or your own class top_k = 128 # how many tools the similarity search keeps [final_answer] instructions = "Answer with the value only." # how the model should write the answer function = "my_package.clean_answer" # your function that cleans the answer text Which change helped most? We estimate about 45% of the gain from function calling, 30% from the shortlister, 20% from the final-answer pipeline, and 5% from smaller changes. Why this matters for enterprise automation CUGA is a harness for enterprise automation, where an agent does work across business systems. VAKRA is useful to us because its tasks have the same shape as that work. Each configuration point maps to a problem that enterprise teams have: 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. As each fix is a setting, an enterprise team does not have to write a new harness for each workflow. A team can select code-first execution for independent steps and function calling for a chain of dependent steps, in the same deployment. These are the final results on the VAKRA test set. CUGA and the reference agent both use GPT-OSS-120B. * The first-run scores for capabilities 1 and 4 are estimates. 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). Figure 1. VAKRA task success by capability. Hatched bars are estimates. What the numbers do not show The results come from one benchmark and one model, and they have limits. 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. CUGA on GPT-OSS-120B scores higher only on capability 4, with 33.4% against 28.8%. A better harness made the gap to the frontier model smaller on an open-weight model. It did not remove the gap. Some numbers are estimates. The first-run scores for capabilities 1 and 4 are estimates, so the gain on those two is approximate. The split of the gain between the three configuration points is also an estimate, because we did not test each one alone. How VAKRA scores a task: VAKRA runs the agent's tool calls again and checks two things. First, the answer must be correct: either the tool calls returned all the data that the reference solution uses, or a judge model (GPT-OSS-120B at temperature 0) decides that the answer matches the expected answer. Second, the answer must be grounded: the judge model checks that the data from the tools supports the answer. On capability 4, a rule-based check also fails a dialogue in which the agent broke a tool-use policy. Each score in this post is from a single run. Configuration, not benchmark code The core of CUGA contains no code that is specific to VAKRA. All of the work is merged into cuga-agent and cuga-eval. The changes to CUGA are merged into cuga-agent, in 15 pull requests. The three configuration points are #777 (function calling), #664 (shortlister) and #707 (final answer). The parts that are specific to VAKRA are in an open adapter in cuga-eval. This is the reason that we call the work harness engineering through configuration. The next benchmark, or the next deployment, starts with these settings, and it does not need a new harness. Each new benchmark still needs setup work, but for CUGA it is now a repeatable sequence: study the tasks, connect the tools, configure the agent, adapt what does not fit, and iterate. To keep the gains, pull requests to CUGA run against regression splits of the benchmarks. A change that makes the agent worse on VAKRA fails before it merges. CUGA · code · paper: From Benchmarks to Business Impact VAKRA paper · code · dataset · leaderboard Related reading Introducing CUGA: The enterprise-ready configurable generalist agent (IBM Research blog) CUGA on Hugging Face: Democratizing Configurable AI Agents: CUGA arrives on Hugging Face, with a demo Space Build real agentic apps using CUGA: two dozen working examples on a lightweight harness Same Model, Different Harness: CUGA, Hermes, and Deep Agents — When to Pick CUGA?: the same harness question on AppWorld, with one open-weight model An Indic Voice Agent with CUGA On VAKRA Introducing VAKRA (IBM announcement) Inside VAKRA: Reasoning, Tool Use, and Failure Modes of Agents: the VAKRA team's error analysis, a useful companion to the failures described here If you run another agent on VAKRA, we want to see the results. Register for the VAKRA shared task at SemEval 2027 Acknowledgements The CUGA team designed and built the configuration changes in this post. The VAKRA team helped them understand the nature of the tasks and evaluated the intermediate results during the work. Models mentioned in this article 1 Datasets mentioned in this article 1 More from this author An Indic Voice Agent with CUGA Time-Series Models in the Streamhouse: A New Frontier and Use Cases Community · Sign up or log in to comment Models mentioned in this article 1 Datasets mentioned in this article 1
AI NEWS JOURNAL
Hugging Face BlogAI NEWS / JOURNAL
Harness Engineering Through Configuration: What VAKRA Taught CUGA
By refining the agent harness—specifically through function calling, a configurable shortlister for tool selection, and a final-answer pipeline—CUGA significantly improved its performance on the VAKRA benchmark using GPT-OSS-120B, outperforming a LangGraph ReAct agent with the same model. Multihop task success rose from 19% to 52.8%, and gains were observed across all four VAKRA capabilities. These enhancements are reusable configuration options, not benchmark-specific code, enabling enterprise deployment without rebuilding agents for each workflow.
번역 서비스가 일시 중지되어 원문을 표시합니다.