Urgent.News

What's breaking now, across thousands of outlets.

AI

LLM agents: budget for each tool

Un agente LLM puede parecer rápido en una demo porque solo llama una herramienta y termina. En producción, la misma tarea puede consultar un API, esperar un correo de verificación, reintentar y pedir una segunda validación. El problema ya no es solamente qué herramienta elegir: es cuánto presupuesto puede consumir cada llamada. En mis automatizaciones prefiero tratar ese presupuesto como un…

Translated from Spanish Read in Spanish

An agent's speed in a demo can differ from its performance in production, where tasks may involve multiple API calls, verification emails, and retries. To manage this, a budget can be set for each task, outlining a deadline, maximum tool calls, and estimated cost. This budget serves as a contract between the agent and the tools it uses, allowing the agent to reason about the task without consuming unlimited resources.

A sample contract is provided, detailing the budget and timeouts for specific tools, and a data model is proposed to track the agent's progress and resource usage.

Written by urgent.news from Dev.to's report — not a translation of it. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in AI

More from Thursday 15 October →