AI agent instructions
AI agent instructions
Set up
Clone the Notte repository and open examples/anthropic-computer-use. Its README includes installation commands and the complete runnable projects. SetNOTTE_API_KEY from Notte and ANTHROPIC_API_KEY from Claude Console.
- Python
- TypeScript
Use Python 3.11+ and uv. Run
uv sync --locked, then uv run python python/demo.py.Run a visual browser task
Claude Haiku 5.5 reads a random code from a screenshot and submits it through a form. The example verifies the page result and returnsoutput, session_id, and the tool calls. Each attempt owns its Notte session and closes it on success or error.
The reusable adapter supports screenshots, clicks, typing, key presses, and waits inside a browser viewport. It does not expose a desktop. The SDK disables unsupported tools and handles the conversation loop. Provide your own confirmation callback when adapting the toolset to other pages; the demo permits typing only on its own test page.