I Give AI a Surprise Budget
I do not want to remove surprise from AI.
Surprise is often the reason I call a model at all. I want an unfamiliar decomposition, a sharper name, a route through a codebase that I did not see. If every useful result could be specified in advance, ordinary software would be enough.
But I also do not want surprise everywhere.
I do not want a surprising permission. I do not want a surprising file deletion, retry, invoice, deployment, or interpretation of “done.” The distinction sounds obvious, yet many agent systems place the same probabilistic component on both sides of it: the model proposes an action and quietly decides whether the action is acceptable.
My current mental model is simple: an AI system needs a surprise budget.
Not a numeric benchmark. Not a claim that uncertainty can be reduced to one universal score. It is an engineering allocation: where is novelty valuable, where is variation tolerable, and where must the budget be exactly zero?
The wrong goal is zero uncertainty
Trying to make the model itself deterministic misses the useful part of the technology. Models are valuable because they can search a large space of plausible interpretations and constructions. Constrain that space too early and the system becomes an expensive template engine.
The opposite mistake is more common: because the model is probabilistic, the whole product is allowed to become probabilistic. Planning, authorization, tool selection, side effects, completion, and recovery all inherit ambiguity.
I reject that inheritance.
The model boundary may be uncertain. The execution boundary does not have to be. This is the same reason I keep returning to contracts instead of prompts and to recoverable agents instead of autonomous ones. Intelligence can propose. Infrastructure must decide what may become real.
A four-zone surprise map
Before giving an agent tools, I would map the workflow into four zones:
| Zone | Surprise policy | Typical artifacts |
|---|---|---|
| Exploration | encouraged | hypotheses, alternatives, questions |
| Transformation | bounded | patch, structured plan, candidate query |
| Decision | tightly constrained | policy result, approval, selected artifact hash |
| Effect | zero unrecorded surprise | tool call, commit, message, deployment receipt |
The map matters because “the agent can edit code” is too coarse. Drafting a patch and applying it are different acts. Proposing three migration plans and choosing the destructive one are different acts. Writing an email and sending it are different acts.
In the exploration zone, diversity is productive. I may ask for several hypotheses and deliberately vary the model or prompt. The output is not yet trusted; it is material for thought.
In the transformation zone, freedom narrows. The agent may produce a patch, but the patch must stay inside declared paths and satisfy a schema or diff policy. This is where a stable artifact becomes more important than eloquence. An intermediate representation gives later stages something concrete to hash, compare, validate, and approve.
In the decision zone, prose is not authority. A policy engine, human approval, or deterministic gate evaluates the exact artifact. “Looks safe” is not a capability. “Approved hash abc… for write access under src/docs/” is closer to one.
In the effect zone, every external change needs identity and a receipt. The tool should know whether it is creating, replacing, retrying, or resuming. If the same request arrives twice, idempotency or duplicate detection must prevent two realities from being created.
The budget is spent at boundaries
SRE error budgets made an important move: they turned reliability from an absolute slogan into an operational policy. Google’s published example ties budget consumption to concrete release decisions. I borrow the shape of that idea, not its formula.
A surprise budget should also change behavior.
If an agent produces an unexpected proposal, that may be healthy expenditure. If it introduces an undeclared file into a patch, the transformation boundary should reject it. If it asks for a capability outside the contract, the decision boundary should stop it. If a tool returns an ambiguous result after a side effect, the runtime should not improvise a retry; it should reconcile the operation or escalate.
This creates a useful rule:
Spend uncertainty on ideas. Do not spend it on authority.
That rule is more precise than “keep a human in the loop.” A human can approve the wrong abstraction: a conversational intention rather than the artifact that will execute. The approval must bind to the version, scope, effects, and expiry that the runtime will actually enforce.
What the artifact looks like
I would keep the first version deliberately boring:
surprise_policy:
exploration:
allowed: [alternative, hypothesis, critique]
record: summary
transformation:
allowed_paths: ["src/docs/**"]
output: patch
validate: [schema, diff-policy, tests]
decision:
required: human-approval
bind: [artifact_hash, capability, expiry]
effect:
idempotency_key: required
receipt: required
ambiguous_result: reconcile
This is not a universal standard. It is a design review artifact: a small file that forces the team to name where probabilistic freedom ends. FACET’s explicit contracts, typed values, pure transformations, and lack of implicit environment access are relevant here because they move hidden choices into inspectable structure. IOSM’s artifact-and-gate discipline provides the complementary question: after changing the boundary, what evidence shows that the system improved rather than merely changed?
The limitation is important. A declared boundary can still be wrong. A schema can validate a harmful action. A policy can grant too much. Receipts improve accountability, not correctness. The surprise map therefore does not replace threat modeling, tests, review, or operational monitoring. It gives them a place to attach.
Boring infrastructure protects creative models
I want models to become stranger, broader, and more capable. I do not think the answer is to flatten them into deterministic machines.
I want the surrounding infrastructure to become boring.
Boring means an action has one identity. Permission has one source. Approval points to one artifact. A retry has defined semantics. Completion means the declared evidence exists. Recovery does not depend on the model remembering its own story.
That is not hostility to intelligence. It is how we preserve the useful uncertainty without allowing it to leak into every consequence.
The future I want is not an AI that never surprises me. It is an AI system that surprises me only where surprise creates value—and becomes rigorously unsurprising at the moment an idea turns into authority, state, or irreversible action.