AI agent instructions
AI agent instructions
Set up
Use Python 3.11+, an E2B API key, and a Notte API key. Installe2b, 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:
NOTTE_API_KEY to the sandbox commands, then drive the browser: