Skip to main content
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.
Fireworks AI hosts open-weight LLMs including Kimi K2.5, GLM-5, and MiniMax M2.5. To run a Notte agent on any of them, pass the model string to reasoning_model. Notte talks to Fireworks through LiteLLM, so there’s no extra provider setup. For numbers on how these models hold up across browser-agent workloads, see the joint benchmark, Agents Don’t Fail on Intelligence. They Fail on Execution.

Prerequisites

  • A Fireworks AI API key (fireworks.ai)
  • Python 3.11 or later

Setup

1. Install the SDK

pip install --upgrade notte

2. Set your API key

export FIREWORKS_API_KEY=<your-fireworks-api-key>

3. Run an agent on a Fireworks model

Pass the model string (formatted as fireworks_ai/accounts/fireworks/models/<id>) to reasoning_model:
fireworks_basic.py
import notte

with notte.Session() as session:
    agent = notte.Agent(
        session=session,
        reasoning_model="fireworks_ai/accounts/fireworks/models/kimi-k2p5",
    )
    response = agent.run(task="Go to news.ycombinator.com and return the top three stories.")

Supported models

Any Fireworks model with JSON-mode structured output works with Notte. Three were covered in the joint benchmark with Fireworks:
  • Kimi K2.5: fireworks_ai/accounts/fireworks/models/kimi-k2p5
  • GLM-5: fireworks_ai/accounts/fireworks/models/glm-5
  • MiniMax M2.5: fireworks_ai/accounts/fireworks/models/minimax-m2p5
See the Fireworks model catalogue for everything else.

Resources