Write all tool everything from code execution, sandboxes, and nested tools etc, to be resource-aware.
Each tool should calculate and output its usage cost (e.g., per API call, compute time,etc) for both the budget checker and the agent’s own awareness.
Also add arguments that let the agent control tool usage and cost, such as timeouts, limits, or template choices, to enable more efficient and deliberate resource management.
Write all tool everything from code execution, sandboxes, and nested tools etc, to be resource-aware.
Each tool should calculate and output its usage cost (e.g., per API call, compute time,etc) for both the budget checker and the agent’s own awareness.
Also add arguments that let the agent control tool usage and cost, such as timeouts, limits, or template choices, to enable more efficient and deliberate resource management.