Run in the cloud
Configure Vercel or Daytona and synchronize the agent’s work with your repository.
Prerequisites
Section titled “Prerequisites”Install the SDK for the cloud provider you want to use alongside Outpost. The sandbox runs remotely, so your machine does not need Docker or Podman.
The host needs allocation credentials to create sandboxes. They stay on the host and are separate from the agent’s credentials, which Outpost installs in the sandbox’s private home.
| Provider | Allocation credentials on the host |
|---|---|
| Vercel | VERCEL_OIDC_TOKEN (from npx vercel env pull), or token, teamId and projectId in create |
| Daytona | DAYTONA_API_KEY, or apiKey in connection |
The sandbox image needs sh and git to synchronize the repository, and node to stream input to the agent.
Vercel Sandbox
Section titled “Vercel Sandbox”Vercel stops a sandbox after create.timeout milliseconds: set it longer than your task.
API reference: VercelOptions.
Daytona Sandbox
Section titled “Daytona Sandbox”Create a Daytona provider with a Node.js 24 image. Use this sandboxProvider in your configuration or pass it directly to the task, as shown below.
API reference: DaytonaOptions.
API: createDaytonaSandboxProvider · DaytonaOptions.
Configure caches: [{ name: "npm", key: "app-node24", transport: s3 }] to restore package downloads before preparation and save them before sandbox disposal. See cloud dependency caches for S3 setup, compatibility, concurrent runs and retention.
Compare Vercel and Daytona
Section titled “Compare Vercel and Daytona”| Vercel | Daytona | |
|---|---|---|
attach() | No: interactive terminals are rejected | Yes, through Daytona’s PTY API |
| Live input | Each instruction is appended to a file in the sandbox | Same |
| Egress rules | Native firewall: domains, CIDRs allowed and denied | Confirmed by Daytona: domains or IPv4 CIDRs |
| Billing | Until Outpost stops the sandbox | Until Outpost deletes the sandbox |
Live input costs one provider command per instruction: a wrapper started with the agent reads the file and feeds its standard input.
Run a task
Section titled “Run a task”Pass the provider to dispatch() or createSandbox() as with any sandbox.
Before the first turn, Outpost installs the agent’s CLI at its pinned version if the image lacks it, on every remote sandbox. Set bootstrap: false when the image must provide it. The sandboxReady hook then installs the project’s dependencies (Prepare the environment).
dispatch() releases the sandbox when it returns. Close a sandbox from createSandbox() in finally, or with await using: the provider bills it until then.
File workspaces
Section titled “File workspaces”Copy and ephemeral file workspaces use the existing streamed transfer ports. Vercel and Daytona refuse source mounts. Normal settled disposal can precede portable restoration; snapshots do not establish disposal of an unknown allocation after a crash. File-mode cloud live validation remains pending. See file provider capabilities.
Limits
Section titled “Limits”- All refs upload: The history bundle holds every branch and tag of the repository, not only the work branch.
- Command deadline:
sandbox.command()withoutdeadlineMsstops after 10 minutes. Agent turns follow their own limits. - Output tail: A command result keeps the last 64 KiB of each stream.
retainon the provider changes it. - Bootstrap: Installing the CLI needs
npm(orcurlfor Antigravity) and network access in the sandbox. With a fallback agent, each candidate is prepared when selected, unless bootstrap is disabled. - Unplanned exits: Outpost releases sandboxes on
SIGINTandSIGTERM. A killed process leaves the sandbox running until the provider’s own timeout.
Implementing another remote provider: Add a sandbox provider.
API: SandboxOptions · EgressPolicy.
Next steps
Section titled “Next steps”
Daytona’s create.autoStopInterval is measured in minutes; 0 disables auto-stop. The SDK documents 15 minutes by default, with different auto-pause defaults for sandbox classes that support pausing. Set the policy explicitly for long tasks; Outpost command deadlines do not override service auto-stop. Elevated command cancellation uses the same privilege as execution. These SDK paths have offline regression coverage; validating descendant termination against a live cloud sandbox remains a separate check.

