region in the agent’s opencomputer.toml and deploy again:
Allowed values
region takes one of the values below.
OpenComputer places the agent’s sandbox in that region, and creates session
state in the nearest Cloudflare location:
A broad region (
us, eu, ap) lets the sandbox run anywhere inside it, so
it starts sooner when capacity is tight. A narrow region pins it more
precisely.
- Values are lowercase and exact.
"AU"and cloud zone names such as"ap-southeast-2"or"us-east-1"are rejected. - The value must be a quoted string.
region = auis rejected. - To go back to the default, remove the
regionline and deploy again.
400 unsupported_region, if you call
POST /v1/deployments directly.
What the region covers
- Sandbox. The agent’s sandbox, where
sandbox_execand other tools run, is created in the region. Its outbound traffic leaves from that region too. - Session state. Session state is created near the region. This placement is best effort.
- Not moved. Account-level data, such as project and deployment records, stays where it is.
Changing the region
A region change applies to sessions started after the deploy. Existing sessions stay where they started. Each agent in a project has its ownopencomputer.toml, so agents in one project can run in different regions.