AI agent instructions
AI agent instructions
Install
For Python 3.11+, runpip install notte-sdk claude-agent-sdk==0.2.168.
For Node.js 24+, run npm install notte-sdk @anthropic-ai/claude-agent-sdk@0.3.301 and set "type": "module" in package.json. The SDK includes its Claude runtime; no local browser installation is needed.
Set NOTTE_API_KEY to your Notte API key and ANTHROPIC_API_KEY to your Anthropic API key.
Read a page
Save the example asnotte_claude_agent.py or notte_claude_agent.ts. Run python notte_claude_agent.py or node --experimental-strip-types notte_claude_agent.ts.
Example Domain and close the browser on success or failure. They use a fixed set of Notte tools, disable built-in tools and filesystem settings, and wait for the complete query stream before closing the session.
See Claude MCP configuration and Notte session lifecycle.