Spend limit
What the agent has spent against its limit, as one figure and one meter. Before a step that would go over, it stops and asks, and the meter shows how far over that step would land.
Research agent
Comparing 42 suppliers
€3.10of €5.00
Reading price lists
Use when
An agent’s work costs money as it goes: model calls, searches, paid data. Someone set a limit, and the agent should never find out it was too low by spending past it.
What it does
- Shows one figure, spent of limit, and one meter. The limit is a mark that stands taller than the bar.
- Stops before the step that would go over, not after it, and says what that step costs and by how much it is over.
- Draws the waiting step on the meter, hatched because it is not spent yet. The meter makes room, and what lies past the limit’s mark is amber.
- Offers higher limits in a switch beside the keys. Pick one and the meter answers at once: the mark moves and the amber goes.
- The main key always says what it will do: “Allow this step” keeps the limit, “Raise to €10.00” changes it.
- “Stop here” ends the run and says that nothing more was spent.
- Takes money as numbers and writes it through one function, so your app sets the currency and the format.