METAL for iPhone

Read AI news in the METAL app.

Download METAL and discover fresh AI stories every day.

Download on the App Store

For iPhone · Free download

Search for METAL AI Magazine in the App Store on your iPhone.

METAL

AI GlossaryㅇTechnical words in the news

budget_reached

A state in which an agent has used up its preset execution budget and automatically stops, sending no further requests.

In plain words

A budget_reached state means an agent has spent all of the money limit it was given in advance, so it stops and can no longer start new tasks. It's similar to giving a kid a set allowance — once it's gone, they can't buy anything more.

When developers run an agent, they can set a cost ceiling for each session in advance. The agent searches, reads documents, and generates answers within that limit, and the moment it hits the ceiling, it stops right there instead of sending another request. It's a safety mechanism to prevent a task from running indefinitely and racking up an unexpected bill.

This state doesn't mean the agent has broken down. If anything, it's a signal that the agent stopped exactly according to the rule that was set. Developers respond to this state by checking it and either raising the budget or handing the task off to the next session.

How it shows up in the news

The article explains that the budget_reached state — where the agent stops with no further requests once the budget runs out — was added in an update last August. A common misunderstanding is that this isn't an error or failure on the agent's part. It's a normal termination state that occurs when a cost limit set in advance by the developer is reached, and it exists to prevent runaway costs.

Try it yourself

Developers who work directly with code can check this concept in the following steps.

  1. Look through the documentation for parameters related to setting a budget ceiling when creating an agent session.
  2. Set a low budget and run the agent.
  3. Observe that once the budget is used up, the session switches to the budget_reached state and no further requests go through.
  4. Try responding by raising the budget afterward or creating a new session to continue the task.

See also

Stories using this term

Browse every entry