Skip to main content

This documentation is available as Markdown for AI agents and LLMs. See the full Markdown index or append .md to any documentation URL.

Budgets

Edit page

Limit the builds, simulator minutes, sandbox minutes, and concurrent sandboxes an agent can use.


Resource budgets limit the Expo resources that an agent can use.

Configure a budget

Add explicit limits to a type: agent job:

.eas/workflows/agent-budget-example.yml
name: Agent budget example jobs: inspect: type: agent params: agent_kind: claude-code max_duration_minutes: 10 limits: builds: 0 simulator_minutes: 0 sandbox_minutes: 10 concurrent_sandboxes: 1 prompt: | ...

Resource limits

Each limit applies to one resource. Set a limit to 0 to deny the resource, or to null for no limit. If you omit a field, it uses the default in the following table:

Workflow fieldWhat it limitsDefault
buildsNumber of builds started against the budget10
simulator_minutesTotal simulator minutes shared across sessionsNo limit
sandbox_minutesTotal sandbox minutes shared across sandboxesNo limit
concurrent_sandboxesSandboxes starting or running at the same time3

The minute limits have no default because each simulator and sandbox has a maximum duration. See Runtime and resource duration.

concurrent_sandboxes counts only the sandboxes that start or run at the same time. It does not count the total number of sandboxes that the agent creates. With a value of 1, the agent can stop one sandbox and create another if enough sandbox minutes remain.

Runtime and resource duration

max_duration_minutes limits the agent's runtime. Its maximum is the account's job runtime limit minus 5 minutes for setup. On a paid plan, this is 1 hour 55 minutes. If you omit it, the agent can run for that maximum.

Each sandbox and simulator also has its own maximum duration. These limits are separate from the total minute budget:

ResourceMaximum duration on a paid plan
Agent runtime1 hour 55 minutes
Sandbox duration2 hours
Simulator session1 hour 55 minutes

On the Free plan, the agent runtime maximum is 40 minutes and the sandbox maximum is 45 minutes. Expo Simulators is available only on paid plans.

Budgets and costs

During the beta, agent virtual machine (VM) minutes and sandbox minutes are free. Starting in 2027, Expo charges for this usage at the Expo Workflows price for each minute.

Expo Build and Expo Simulators charges still apply. Your connected provider's subscription and usage terms are separate. A resource budget is not a dollar spending cap, and it does not limit model-provider usage.

Agent job reference

Review the syntax, parameters, and outputs of the agent job.

Permissions and security

Learn how roles, scoped tokens, and separate machines limit an agent.