AI agent instructions
AI agent instructions
Set up
Use Python 3.11+, a Daytona API key, and a Notte API key. Installdaytona, notte-sdk[playwright], and python-dotenv.
Open a sandbox app from your code
Serve the app from the sandbox and create a signed preview URL for its port. The URL carries its own token, so the browser needs no auth header. Daytona shows browsers a warning page on a preview URL’s first load; theX-Daytona-Skip-Preview-Warning header skips it. 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. Replace the example URL with the one create_signed_preview_url returns: