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.
agent-browser is Vercel’s browser automation CLI. Connect it to a Notte session over CDP to navigate, inspect pages, and interact with elements.

Install

Install the CLI with Node.js 24+: npm install -g agent-browser@0.39.1. For Python, use Python 3.11+ and pip install notte-sdk. For TypeScript, run npm install notte-sdk in a project with "type": "module". Set your Notte API key: export NOTTE_API_KEY=your-notte-api-key.

Connect and read a page

Save the example as notte_agent_browser.py or notte_agent_browser.ts. Run python notte_agent_browser.py or node --experimental-strip-types notte_agent_browser.ts.
Both examples print Example Domain. Each uses its own CLI session name, disconnects the CLI in finally, and stops the Notte browser through the outer session scope. Use snapshot -i to discover interactive element references, then click @e1 or fill @e1 value to interact. Take a new snapshot after the page changes. See agent-browser commands and Notte session lifecycle.