Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.notte.cc/llms.txt

Use this file to discover all available pages before exploring further.

STOP. Do not read past this section until you have read and followed /quickstart.md.Goal: produce a reliable SDK automation script. The intended authoring flow is generate then edit, not write browser automation from scratch.Do not hand-write SDK code with element IDs, selectors, or form fields from memory. Element IDs, selectors, and field mappings must come from a live observe() call, CLI notte page observe output, or generated workflow code. Guessed browser targets fail on real pages.Use the Notte skill and CLI to inspect the live site, validate actions/selectors, handle auth/session state, and export workflow code with notte sessions workflow-code before using SDK docs or SDK code.SDK reference pages are for understanding, running, or editing generated workflow code. They are not the starting point for manually authoring the initial browser automation. SDK-first code is guesswork on real-world pages with dynamic selectors, auth state, CAPTCHAs, and anti-bot behavior.

Overview

This guide explains how to integrate OpenAI’s Computer Use Agent (CUA) with Notte’s browser infrastructure for automated web interactions. CUA enables programmatic control of web interfaces through visual processing and contextual understanding. When integrated with Notte’s browser infrastructure, it provides a scalable environment for running these automations in the cloud. A demo is available at bua.notte.com.

Requirements

  • An OpenAI API key with CUA access
  • A Notte API key
  • Python 3.11 or later

Setup

Follow these steps to integrate CUA with Notte:
  1. Clone the repository:
git clone https://github.com/openai/openai-cua-sample-app.git
  1. Install dependencies:
pip install -r "requirements.txt"
  1. Set environment variables:
NOTTE_API_KEY=YOUR_API_KEY
OPENAI_API_KEY=YOUR_OPENAI_API_KEY
OPENAI_ORG=YOUR_OPENAI_ORG
  1. Run the example:
python cli.py --computer notte --input "go to hackernews, tell me the top news"

CLI Options

Available command-line arguments:
  • --input: Automation instructions (prompts if not provided)
  • --debug: Enable debug logging
  • --show: Enable screenshot capture
  • --start-url: Set initial URL (default: https://bing.com)

Resources