Computers

A Computer is a durable cloud desktop. It gives each user, agent, or workflow a real Linux GUI with browser state, files, shell access, desktop streaming, and programmatic control. Use it when the work depends on pixels, sessions, browser logins, desktop apps, accessibility trees, or a human taking over the same machine an agent was using.

For pure code execution, builds, and preview servers, Sandboxes are cheaper and faster. For a 24/7 production web app, use App Engine. Still deciding? See Computers vs sandbox.

1. Create a Computer

Pass external_workspace_id to attribute the Computer to one of your tenants. See Lifecycle and sizing for states, sizes, and workspace scoping.

2. Drive the desktop

Start each loop with an observation, act once, then observe again. The full action set is in Computer use.

3. Watch it live

A Computer is also a live pixel stream. Open it from the MIOSA console, or embed the same stream in your app with a short-lived URL minted on your backend.

const urls = await computer.urls()
console.log(urls.desktop_url)

See Embedding and streaming for the token and iframe flow.

Pick what you need

You want toStart here
Create, size, and manage the machineLifecycle and sizing
Choose a Computer or a SandboxComputers vs sandbox
See what ships in the boxInside a Computer
Drive the desktop from codeComputer use
Embed the live desktop in your UIEmbedding and streaming
Ship it safelyProduction checklist
Measure startupFast start and readiness

Next

Was this page helpful?