Why I’m putting limits around agent work
A proposed reference design for preserving progress across AI sessions, bounding repeated work and checking the result. No full controller or measured savings claimed.
An agent is trying to fix a parser. It has read the code, identified the problem and asked for another review. The review comes back with the same finding. The parser still fails.
What should happen next?
That is the problem I’m working through in Bounded Agent Workflows. I call it churn when work repeats without enough new information or a checked step toward the result. The document is a proposed reference design. I haven’t demonstrated a full controller or measured savings from it.
For this example, the parser has three requirements: accept valid input, reject malformed input and make no external writes. Those give us something to check. A request to “improve the parser” leaves the finish much less clear.
Suppose the agent writes a test that reproduces the failure. The parser is still broken, but we now have a way to check a fix. Ruling out a suspected cause can help too. An investigation can take time without being wasted work.
Another review of the same code needs a reason. It might be a required independent assessment, or it might examine a case the first review missed. If it just repeats the finding, we still need to decide what would change the result.
Carry the work into the next session
A new chat should start with the failed test, the attempted fix, the unresolved finding and the allowance remaining. Otherwise, the next session can spend its time discovering what the previous one already knew.
That record needs to live outside the conversation. Keep the artifacts beside the account of what happened. Record whether an action was requested, actually started or produced a result someone checked. Those are different events.
Set a time or action allowance before execution, and leave room to check the result. If the allowance runs out, preserve the work and identify the next decision. A fresh conversation shouldn’t silently grant another allowance.
A written limit needs enforcement
Writing a stop rule in a prompt doesn’t establish a hard execution limit. Something outside the model has to enforce it on the paths the system claims to control.
There are practical limits here. Stopping a local wait may leave a remote operation running and billing. A cleanup message doesn’t establish that the owned processes stopped. An implementation needs to say what it can observe, what it can stop and what remains uncertain.
It also needs to let authorized work finish. Test a successful task as well as the failures. Once the required checks and decisions are satisfied, close the task.
You can try the recordkeeping part on a small AI task: write down the outcome, the checks, the allowed actions and a stop rule. After each attempt, save what changed and what remains unresolved. Use that record to decide the next step.
That exercise won’t create an enforced controller. It will give you a record to inspect when you ask whether the next attempt is worth making.
The PDF covers the proposed accounting, execution boundaries, recovery and evaluation requirements in more detail. Its example budgets are illustrative, and its test scenarios are requirements rather than reported results.
Reference design: Download Bounded Agent Workflows (PDF)
Think this is wrong?
Then I’d rather hear it than not. Everything here carries whatever I failed to control for, and I don’t always spot it first. Tell me what I got wrong — I read all of it, and if you’re right I’ll say so.