Skip to content
Exchange

Spend caps and a stop button

1 file1 KB

A look inside

The first lines of agent-runaway-bills.md. The whole file is in your library once you get it.

# Spend caps and a stop button

A free card from MenFem's Agent security 101, lesson 4: Runaway bills and loops.
The lesson, with the picture and the examples: https://menfem.com/courses/agent-security-101/agent-runaway-bills

This is what you keep: the stops to set on every agent before it runs on its own. Most take a few minutes.

1. A step limit on every job: it stops after a set number of turns and tells a person.
2. A time limit on every job, and an end time on anything it starts, such as a server.
3. A monthly spend cap at the provider, as the last line when everything else fails.
4. An alert set well below the cap, sent to a phone someone looks at.
5. Check whether your cap stops spending or only warns. If it only warns, the stop button matters more.
6. A stop button: written down, easy to find, tried once, and open to anyone on the team.

**The rule:** Nothing runs on its own until you know how it stops, and who can stop it.

## Used once

From the lesson, on a made-up shop: "The support agent replies to a customer's out-of-office message, which replies back, and the two go round all night."

Answer: A step limit. Each reply is one more turn. A limit of, say, 20 turns per conversation ends it before midnight.

## Your turn
…and 10 more lines.

What is inside

  • agent-runaway-bills.md1 KB

How to use it

Open it beside the job and go down the 6 lines in order, then check your answer against the rule at the bottom. It is the card from Agent security 101, lesson 4 (Runaway bills and loops), with one worked example from the lesson and a space for your own case.

Run before it was listed

Tested 2026-11-29: Generated from the lesson's own keep card and checked line by line against it; used once on the lesson's made-up example, which is printed in the file.