Skip to main content
Read the Notte skill and follow its setup instructions when setting up Notte or building browser automation. This is the shared source for CLI setup, authentication, and the browser-to-code workflow.
E2B runs code in isolated cloud sandboxes. Pair it with Notte when an agent builds or runs an app in a sandbox and needs a real browser to check the result. The browser runs on Notte, so the sandbox installs no Chromium. See the runnable Python example.

Set up

Use Python 3.11+, an E2B API key, and a Notte API key. Install e2b, notte-sdk[playwright], and python-dotenv.

Open a sandbox app from your code

Serve the app from the sandbox, then open its public URL with a Notte session. session.page is a Playwright page connected to the Notte browser over CDP.

Drive the browser from inside the sandbox

Agents running in the sandbox can use the Notte CLI. Install it and the Notte skills, which coding agents such as Claude Code and Codex pick up from ~/.agents/skills:
Pass NOTTE_API_KEY to the sandbox commands, then drive the browser:
The example stops the CLI session even when a command fails, and kills the sandbox at the end. Its tests cover the sandbox commands and cleanup offline, and the full flow against real E2B and Notte.