Zero Labs
Industry News / AI

The Next Big Change in AI Agents Isn’t a Better Model

Source · Towards AI By Tharun Paul

From the publisher’s feed, collected in the ZeroLabs newsroom.

Better reasoning won’t fix agents that can’t find, check, or safely use their tools.Shiny new engine in a rusty old car (Source: Image generated by author via GPT)A rusty old car sits in a driveway waiting to be fixed. A mechanic drives up to the car, opens the hood and installs a brand new flagship engine. The engine is wired up to the existing rusty parts and chassis.Does a shiny new engine make this car more reliable ?AI models have significantly advanced the frontier across multiple domains. These highly capable models can reason, plan and execute complex workflows. But building reliable agentic systems still demands rigorous system engineering aside from pure model intelligence — from execution harnesses and dynamic tool retrieval to durable state, fault tolerance, verification and strict access controls.A more capable model does not always equate to a more reliable agentic system. Even a top-tier model built for long-horizon technical work like Claude Fable 5.2 will stall if it lacks access to the right tools, cannot retrieve them dynamically, or operates without a resilient execution harness.Empirical research shows that the model is not the only thing that matters, the execution layer surrounding it matters just as much. When researchers investigated how interface design affects the performance of language model agents (SWE-agent), swapping out a standard shell with an agent specific interface boosted the task resolution rates by over 10 percentage points. More recently, evaluations on long-horizon agents confirm that swapping the harness alone can swing performance more than changing the model, even reversing leaderboard rankings.The Agent-Tool InterfaceThe earliest agentic systems relied on a straightforward pattern: pass a list of tools as collections of function names and descriptions to the model context or prompt, and let the model select which ones to invoke. The execution runtime handles the underlying API call. This division of labor, where the model decides and the runtime executes works well when the agent only needs a handful of tools.As tool ecosystems grew, it became unsustainable to support bespoke integrations. In other words, it became important to standardize the interaction interface between the model and the external services/tools, and Model Context Protocol (MCP) was born.MCP standardized how applications connect to external capabilities and context. Instead of writing custom integration plumbing for every agent application, developers could expose tools through a common protocol.For example, rather than hardcoding a custom Slack client into your agent, an MCP server can simply expose a post_message tool that any compatible agent runtime can discover and invoke.The problem with giving an agent everythingStandardizing the interface only solves half the problem — once an agent has access to hundreds of MCP tools, dumping every schema into the prompt degrades reasoning and inflates latency. Connecting just a handful of these servers (GitHub, Slack, Jira) can inject hundreds of verbose schemas — consuming tens of thousands of tokens before the user even types a prompt.AI model getting overwhelmed by tool schemas (Source: Image generated by author via GPT)In addition, dumping a large number of tokens leads to “tool distraction”, where relevant tools get under-ranked, similarity between function names leads to confusion, and parameters get hallucinated across overlapping schemas. Even with increased context windows across new models, this is a recurring problem.Dealing with systems that contain more information than they can hold is a well-trodden path. The solution is to use indexes, search engines, caches, and working sets.To scale past a few dozen tools, agent harnesses have to apply that same principle — treating tool definitions like searchable knowledge rather than static prompt text, and pulling only the active working set into context on demand instead of loading everything upfront.Instead of exposing 100 complete tool definitions, a runtime could initially expose a small set of capabilities:Search the tool catalog.Load a tool definition.Execute an authorized operation.The model searches for what it needs, retrieves the relevant definitions, and uses those tools. This is generally called dynamic tool discovery or tool search.Anthropic’s tool search supports on-demand loading of deferred tool definitions. OpenAI’s tool search provides hosted and application-controlled discovery mechanisms. The implementation details differ, but the architectural idea is similar.Tool retrieval is now information retrievalAt its core, tool retrieval is an information retrieval problem. Well studied techniques in information retrieval such as keyword matching (BM25), rank tools based on how closely their names and descriptions match the agent’s query.More advanced systems use semantic embeddings, converting tool descriptions and queries into vectors so that conceptually related tools can be found even when they use different words. For example, a search for “refund eligibility” might retrieve a tool named check_return_policy, even without an exact keyword match. Hybrid search combines both approaches, often followed by reranking to select the most relevant tools.The runtime then exposes only the top-k results to the model.But there’s a catch: retrieval finds tools that appear relevant to a query, not necessarily every tool required to complete a task. A multi-step workflow might need capabilities that aren’t obvious from the initial request. And when a relevant tool falls outside the retrieval cutoff, the agent may never know it exists.The semantic decomposition problemConsider an agent asked to “Find delayed orders and notify customers who qualify for a refund.” A tool search for “delayed orders” might rank search_orders, get_order_status, and get_customer_details at the top. All are relevant to the query. But completing the task also requires check_refund_eligibility and send_customer_notification. These tools might rank much lower because their descriptions don't closely match the initial search.Query relevance is not task completeness (Source: Image generated by author via GPT)An obvious fix is intent decomposition — a strategy formalized in tool-retrieval research like Re-Invoke, where the system splits a compound prompt into discrete sub-intents ("find delayed orders", "check refund eligibility", "notify customer") and queries the index for each one. While decomposition works well when every step is visible upfront, it still breaks down on data-dependent workflows. If get_order_status reveals that a batch of VIP orders is delayed due to a customs hold or fraud flag, the agent suddenly needs create_compliance_ticket— a tool no upfront decomposition could have predicted from the user's prompt alone.Iterative Tool SearchAgent harnesses solve this problem in a reliable way by making tool discovery iterative: exposing search directly to the model so it can fetch new working sets mid-trajectory as intermediate results reshape the plan.The current status quo is model-driven iterative lookup. For instance, Anthropic uses defer_loading: true and Tool Search Tool, OpenAI uses tool_search with namespaces, LangGraph’s bigtool exposes search as a primitive. At runtime, the model starts with only a handful of core tools plus a lightweight search tool — keeping its initial prefix cacheable. It then fires targeted queries across turns as intermediate observations reveal new sub-tasks, appending 3 to 5 discovered schemas lazily into the tail of its context window.Hierarchical grouping for toolsIterative tool lookups can also be organized hierarchically rather than searching across a flat list of tool names. For instance, many tools are scoped to their respective services slack.send_message , slack.create_channel and this grouping enables the lookup to scope the search to namespaces such as slack, github . The tool listings can also come from a custom installed skill as documented in SKILL.md . At runtime, the model starts with just a high-level directory of what each group can do, and once it decides it needs to interact with a specific service, it expands that namespace to pull in its underlying tools.This two step navigation avoids naming collisions across services such as slack.get_user vs github.get_user , and improves selection when the context is known ahead of time: coding vs communication. However, it does mean occasionally loading a few extra tools from a namespace that don’t end up getting used.Programmatic tool callingAnother architectural shift is the growing adoption of programmatic tool calling, or Code Mode, for orchestrating multi-step operations. Standard tool calling responses inject the entire tool call response back into the model’s context, regardless of whether the tool is discovered statically or dynamically. Tool call results can range from a few rows to 2000 rows from a database query, and anywhere from 5k to 50k token meeting transcripts. Multi step workflows compound this problem by forcing the model to re-route this output into the next tool call, chaining the output and inflating the context further.The key insight behind this shift is to recognize the fact that the model may not need the interim tool call results, it only cares about the final set of filtered results. Out of the 2000 rows, perhaps only 4–5 rows really match the user’s query intent.Programmatic tool calling flips this model by exposing tools as typed functions inside a sandboxed code execution environment rather than discrete JSON schemas in the prompt. Since models excel at writing code, instead of orchestrating and stacking tool calls, the model writes a short Javascript or Python script to call multiple endpoints, loop over collections, filter out noise, and branch on intermediate results. The code keeps all of the intermediate results in the sandboxed runtime’s memory without polluting the model’s context, chains multiple tool calls using code, and exposes the final result to the model.That said, code execution is not a universal replacement for direct tool calling. Spinning up and securing an isolated sandbox adds infrastructure overhead. Also, auditing arbitrary generated scripts is significantly harder than logging discrete API calls.Dynamic tool retrieval is not a free lunchWhile dynamic iterative tool retrieval saves tokens, there are additional trade-offs to consider.Latency: The additional tool search queries increase the end-to-end time it takes to process a user request.Prompt cache reuse: A fixed set of tool definitions can be easily cached across multiple requests because it is static. Dynamically adding tool schemas to the prompt can reduce cross-request cache rates, although OpenAI and Anthropic add the tool definitions at the end, allowing them to re-use the cache prefix up until that point.Missing or Irrelevant tools: Dynamic retrieval can still miss a required tool altogether or retrieve near-duplicate endpoints.The following table compares common approaches to tool exposure and execution:Source: Image generated by author via GPTA proper comparison should consider total input tokens, cached tokens, additional model calls, retrieval latency, output processing, and task success to inform tool retrieval policy.A system that reduces tool definitions by 90% but doubles the number of model round-trips may not be an improvement for every workload.Likewise, keeping a small set of frequently used tools permanently available may outperform searching for them on every request.Modern agentic runtimes will likely use a mixture of these techniques, where frequently used capabilities are eagerly loaded, and specialized operations are made available on demand. The runtime will also decide where deterministic sequences expressed directly as code win against model reasoning driven multi-turn tool call workflows.The most important part of an agent may be the part we don’t seeImagine that our support agent finally discovers the refund tool. The model now has all the tools it needs to execute the workflow. But who decides if the customer is eligible for a refund ? The model should not make the decision because it is prone to hallucinations and prompt injection attacks. Additional questions remain: Is this operation permitted for the agent? Has the order already been refunded ? Is the amount within policy?These questions require access to business invariants, authorization policies, and are best enforced via deterministic workflows rather than model reasoning.What happens when you leave it to the model?In order to understand the scenario where the model gets to take an action with a rule attached, I devised an experiment that you can find on Github. The experiment consisted of 24 tasks in total. Each task asked an agent to take an action with a rule attached: refund only if the order is old enough, close an account only if nothing is owed. The tasks ran against a simulated business database, so every outcome could be checked against the actual data.Each task was run under different conditions. Sometimes the agent had a tool to check the rule. Sometimes it had to work it out from other data. Sometimes it had no way to check at all.Here’s one task, given to three models: close this account. The account had an unpaid balance of one cent, so policy said no.Qwen3 4B closed it without looking.Qwen3 14B looked up the balance, saw the one cent, and closed it anyway.Gemini 3.8 Flash looked up the balance and declined.That pattern held across the full set of tasks:Number of cases for model family and behavior for 24 tasks, Source: Image by authorThe smaller model mostly didn’t check. The bigger one often checked, and then ignored what it found.Even the strongest model (Gemini) wasn’t clean. In the five cases where Gemini couldn’t verify the rule, it searched thoroughly, came up empty, and went ahead anyway. Then it told the user the update was “successfully” completed, with no mention that it never confirmed eligibility.The runtime should distinguish between three different responsibilities.Discovery: Which capabilities may be relevant to the task?Decision: Which permitted capability should the model request, and with what arguments?Execution: Does the requested operation satisfy authorization, validation, and business rules — and did it actually produce the intended outcome?For an in-depth article on this subject, read this article that I wrote: Your AI Agent succeeded, but your business didn’t.A more capable model will always be valuable. But the next major improvement in the agents we actually use may come from something much less visible.The software around the model.SourcesSWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering (https://arxiv.org/abs/2405.15793)Stop comparing LLM agents without disclosing harness (https://arxiv.org/html/2605.23950v1)Model Context ProtocolCode Mode by CloudFlareWhen agents must check before acting — a synthetic experiment comparing two local Qwen3 models (via Ollama) with Gemini 3.8 FlashThe Next Big Change in AI Agents Isn’t a Better Model was originally published in Towards AI on Medium, where people are continuing the conversation by highlighting and responding to this story.