# Notte

> Build and deploy reliable web automation agents with one API

- Category: Agents & Automation / Computer & Browser Use
- Language: Python
- Repository: https://github.com/nottelabs/notte
- Website: https://notte.cc
- Canonical page: https://ai-tldr.dev/tools/notte/

## In short

Notte is a full-stack framework for building AI agents that interact with websites. You give an agent a task in plain language, and it drives a browser to complete it. It sits in the Computer & Browser Use category of the Agents & Automation tools and is open-source, written in Python.

## Overview

Notte is a full-stack framework for building AI agents that interact with websites. You give an agent a task in plain language, and it drives a browser to complete it. The open-source core lets you run web agents, get structured data back, and observe or act on page states using Playwright-compatible primitives.

It is aimed at developers who want to automate web tasks without writing brittle, hand-maintained scripts. Notte mixes traditional scripting with AI: you script the deterministic parts and call the model only when needed, which lowers cost and improves reliability. You run it locally with your own LLM API keys.

As an agent framework in the computer and browser use space, Notte also offers a hosted Python SDK. After signing up for an API key, you swap the import to get managed browser sessions plus features like stealth sessions, credential vaults, and digital personas.

## What it does

- Run web agents from natural-language tasks against any website
- Structured output via Pydantic models passed as response_format
- Site interactions (observe, scrape, act) using Playwright-compatible primitives
- Local mode with your own LLM keys, or hosted browser sessions through the SDK
- Agent vaults for securely storing and using credentials (email, password, MFA)
- Digital personas with unique emails, phone numbers, and automated 2FA

## Getting started

Install Notte and its browser, then run an agent locally with your own LLM API key.

1. Install Notte

   Install the package and the Chromium browser it drives.

```bash
pip install notte
patchright install --with-deps chromium
```

2. Run an agent in local mode

   Open a session and give the agent a task. You provide your own LLM API keys (for example via a .env file).

```python
import notte
from dotenv import load_dotenv
load_dotenv()

with notte.Session(headless=False) as session:
    agent = notte.Agent(session=session, reasoning_model='gemini/gemini-2.5-flash', max_steps=30)
    response = agent.run(task="doom scroll cat memes on google images")
```

3. Get structured data back

   Pass a Pydantic model as response_format and the agent returns data in that exact shape.

```python
from pydantic import BaseModel

class TopPosts(BaseModel):
    posts: list[str]

response = agent.run(
    task="Go to Hacker News and extract the top 5 post titles.",
    response_format=TopPosts,
)
print(response.answer)
```

4. Switch to hosted sessions (optional)

   Sign up on the Notte Console for a free API key, then use the SDK client to get hosted browser sessions and premium features.

```python
from notte_sdk import NotteClient
import os

client = NotteClient(api_key=os.getenv("NOTTE_API_KEY"))

with client.Session(open_viewer=True) as session:
    agent = client.Agent(session=session, reasoning_model='gemini/gemini-2.5-flash', max_steps=30)
    response = agent.run(task="doom scroll cat memes on google images")
```

## When to use it

- Automating repetitive web tasks like searching, scrolling, and clicking through pages
- Scraping structured data from sites into typed Pydantic models
- Logging into accounts and running authenticated workflows using a credential vault
- Account creation and signup flows that need a digital persona with email, phone, and 2FA
