Give your agent a desktop of its own.
A full Linux desktop your agent clicks and types in. Watch it live in your browser.1
| Region | Q1 | Q2 | Q3 |
|---|---|---|---|
| North | 418 | 388 | 451 |
| South | 296 | 315 | 342 |
| East | 238 | 260 | 287 |
| West | 354 | 371 | 402 |
screenshot()Sees the screenwrite("Q3 report")Types the nameleft_click(412, 288)Clicks ExportA mouse, a keyboard and apps for your agent, and a live view for you.
Seven lines from start to a click.
Set E2B_DOMAIN and E2B_API_KEY, then run your E2B code as it is.6
The From E2B guidefrom e2b_desktop import Sandbox sbx = Sandbox.create() sbx.stream.start(require_auth=True) key = sbx.stream.get_auth_key() url = sbx.stream.get_url(auth_key=key) # live view image = sbx.screenshot() # what it sees sbx.left_click(412, 288) # what it does
import { Sandbox } from '@e2b/desktop' const sbx = await Sandbox.create() await sbx.stream.start({ requireAuth: true }) const authKey = sbx.stream.getAuthKey() const url = sbx.stream.getUrl({ authKey }) // live view const image = await sbx.screenshot() // what it sees await sbx.leftClick(412, 288) // what it does
Pay 20% under E2B’s rates, and less while your agent waits.8,9
SealedBox bills the CPU your agent uses and the memory it holds. E2B’s list rates, read 29 November 2026. Usage only; plan fees are separate.
Work out your own billTwo things your agent can no longer do on its own.
Seal your keys once and pick your rules. Everything its desktop sends leaves through the gate.
Who can see the live view?
With a key on, as in the sample, only someone who has the link and the key. Stop the view from your code at any time.1
Which model can drive it?
Any model you choose. SealedBox runs no model: your code sends each screenshot to your model and turns its reply into clicks.13
Can it use a web browser?
Yes. One call opens a web page on its desktop, and your agent clicks and types in it like any other app.1
Can a desktop session run past 24 hours?
Yes, on Pro, which has no session limit. E2B Pro sessions run up to 24 hours.10
Do I pay while it waits for the model?
You pay for the CPU your agent uses and the memory it holds, by the second. An hour your agent mostly waits costs less.8
How do I end it?
Call kill() from your code, or set a timeout when you create it.1
Get 30 minutes free every day, forever.2
Sign up with a GitHub account at least six months old, or a card check that is never charged.