$ fssg build --deterministic --validate |

Why AI Agent Plans Need Resource Reservations

AI Engineering

An AI agent can produce a perfectly coherent plan that the system cannot safely afford to execute.

The steps may be individually valid. The tools may be authorized. The output schema may be correct. Yet five parallel branches can still compete for the same browser session, exhaust a provider quota, consume the entire token budget, or reserve a deployment window that no longer exists.

This is not a planning failure. It is an admission-control failure.

I think agent runtimes need a layer between “the plan is valid” and “start executing”: a resource reservation envelope. The planner proposes demand. The runtime decides whether that demand can be admitted now.

A budget is not a reservation

Most agent systems already have limits: maximum turns, timeout, token ceiling, perhaps a concurrency cap. Those are useful, but they usually act after work has begun. They stop an execution that is already consuming resources.

A reservation answers an earlier question:

Can this complete unit of work acquire the minimum resources it needs without violating the commitments already made to other work?

The distinction is the same one infrastructure schedulers make. Kubernetes ResourceQuota limits aggregate consumption and rejects requests that cross a hard boundary. Temporal limits pending operations because each one occupies mutable workflow state. A distributed lease expires so a crashed owner cannot retain access forever.

An agent runtime can borrow these mechanics without pretending an LLM plan is a Kubernetes workload.

The reservation envelope

A useful envelope is a small typed artifact, not prose hidden in the plan:

{
  "reservation_id": "res_7f31",
  "plan_hash": "sha256:…",
  "scope": "release.prepare",
  "minimum": {
    "wall_clock_seconds": 240,
    "model_tokens": 48000,
    "tool_calls": 36,
    "parallel_slots": 3,
    "browser_sessions": 1,
    "write_effects": 2
  },
  "maximum": {
    "cost_usd": 4.00,
    "wall_clock_seconds": 600
  },
  "expires_at": "2026-07-17T11:45:00Z",
  "on_expiry": "cancel_unstarted_and_reconcile_running"
}

The exact fields depend on the runtime. The important part is the contract:

  1. Identity: the reservation binds to an exact plan revision.
  2. Minimum demand: the amount below which starting would be dishonest.
  3. Maximum exposure: the amount execution may never exceed.
  4. Scarce capabilities: resources that cannot be represented by tokens alone—browser sessions, deployment locks, write slots, rate-limit capacity.
  5. Expiry and release: capacity cannot remain owned by abandoned work.
  6. Failure semantics: the runtime knows what to cancel, reconcile, or replan.

This is a different artifact from the stable effect identity I described in Retry-Safe AI Agents Need Stable Effect IDs. Effect identity prevents an ambiguous retry from duplicating one mutation. Reservation identity prevents several valid executions from collectively exceeding capacity.

Admit the graph, not isolated nodes

The hard case is a plan graph.

Imagine three branches: inspect a repository, run browser checks, and prepare release notes. Each branch fits under the global limits when considered alone. Together they require four parallel slots, two browser sessions, and more time than remains before a release window closes.

A node-by-node limiter admits the first operations and discovers the conflict late. A graph-aware admission controller evaluates the peak demand and dependency shape before dispatch:

Decision Meaning
ADMIT Minimum resources are reserved for the plan revision.
DEFER The plan is valid, but capacity is temporarily unavailable.
REPLAN Capacity exists only for a different graph shape, such as serial execution.
REJECT The requested maximum violates policy or cannot fit before expiry.

DEFER is not failure. REPLAN is not permission to silently weaken the goal. The planner may produce a cheaper graph, but it must preserve the original completion contract. This follows the same discipline as Why AI Agents Should Propose Change Sets, Not Final State: proposals remain proposals until a deterministic boundary accepts them.

Reservations need two ledgers

A runtime needs to distinguish reserved from consumed.

If it tracks only consumption, concurrent tasks can all see free capacity and start at once. If it tracks only reservations, completed or abandoned work can create phantom scarcity. The ledger therefore needs transitions:

PROPOSED → RESERVED → ACTIVE → RELEASED
                    ↘ EXPIRED → RECONCILING → RELEASED
                    ↘ CANCELLED → RELEASED

Consumption is charged against the active reservation. Unused capacity is released. Extensions create a new decision against current availability; an agent must not extend its own lease merely by asking in natural language.

For side-effect capacity, release can require reconciliation. A timed-out email draft is cheap to abandon. A timed-out deployment operation may have started remotely, so the runtime must determine its actual state before returning the write slot. This is where reservations connect to How to Join AI Agent Traces to Real Artifacts: the ledger needs evidence about what consumed the reservation, not only timestamps showing that events occurred nearby.

What to reserve

Not every resource deserves the same treatment.

Fungible resources can be counted: model tokens, money, tool calls, CPU time. Exclusive resources require ownership: a browser profile, repository write lock, migration window. Rate resources require a time dimension: requests per minute, provider concurrency, outbound-message allowance. Risk resources represent bounded authority: number of irreversible writes or externally visible actions.

That last class matters. Ten read calls and one production write are not eleven interchangeable tool calls. A useful envelope reserves effects by class, not just by count.

This also limits blast radius without asking the model to police itself. OWASP’s agent-security guidance treats tool scope, least privilege, output validation, and bounded autonomy as runtime concerns. A reservation envelope adds a temporal and quantitative boundary: even authorized capability is available only in a declared amount, for a declared plan, for a declared interval.

Scheduling is policy, not intelligence

When capacity is scarce, which plan wins?

The answer should not emerge from whichever agent retries fastest. The runtime needs explicit scheduling policy: FIFO, priority classes, tenant fairness, deadlines, or weighted queues. Starvation controls and cancellation rules belong here too.

A model may estimate demand, but it cannot be the authority that grants itself more capacity. Historical traces can improve estimates; they do not replace admission policy. If estimates are uncertain, reserve a conservative minimum, cap the maximum, and make the uncertainty visible.

This mechanism does not prove that a plan will succeed, that its estimates are accurate, or that the chosen scheduling policy is fair. It only makes one guarantee possible: admitted work cannot consume more declared capacity than the runtime has authorized, assuming the underlying counters and effect boundaries are correctly enforced.

The engineering rule

Agent plans should be treated like workloads, not stories.

Before dispatch, compile the plan into demand. Bind that demand to the exact plan hash. Reserve scarce capacity with an expiry. Track reserved and consumed amounts separately. Reconcile ambiguous effects before releasing their slots. Make DEFER and REPLAN first-class outcomes.

A plan says what could happen. A reservation says the system is prepared to let it happen now.

That difference is where parallel AI stops being optimistic concurrency and starts becoming engineering.

Sources and scope

This is an architecture pattern derived from repository and primary technical documentation, not a benchmark. No throughput, cost reduction, or production-readiness claim is made.

FACET AI CLI Terminal
facet@ai:~$