We turn an LLM into an agent by giving it tools.
Tools let the agent look things up, call APIs, and take action. You know the drill: the agent reasons; the tools execute.
Usually, we design each tool to handle a small operation.
When facing a larger task, the agent usually needs to work things out in a loop: it first calls one tool, based on the result, the agent decides what to do next, maybe call another tool.
But here is the thing: many of those intermediate decisions aren’t that hard. Oftentimes, the agent is just picking the obvious next step based on what the last tool returned. It still has to make that call itself, though, and each of those round trips is another LLM call, adding time and cost to the task.
So what if we could hand over a whole piece of work through a single tool call?
With a decision model, yes, that's possible! And here is how.
Essentially, we let the decision model drive the flow: inside the tool, it picks an action and looks at what comes back.…