Skip to main content
Here’s how you create an agent, and run a task:
simple.py

Usage

See more information on the available operations:

Run

Execute a task

Replay

Get the agent replay

Status

Query the agent status

Running with a session

Providing a session to your agent allows you to choose specific options, like changing your browser or using proxies.
firefox.py

Providing credentials

Agents can be provided a vault with credentials in order to securely log in to websites without sharing your information to the LLM.
agent_with_vault.py

Parameters

You can use the default parameters to create your session, or customize them:
session
UnionType[RemoteSession, None]
default:"None"
The session to connect to. The session’s open_viewer parameter controls whether to display a live viewer (browsers are always headless).
vault
UnionType[NotteVault, None]
default:"None"
A notte vault instance, if the agent requires authentication
notifier
UnionType[BaseNotifier, None]
default:"None"
A notifier (for example, email), which will get called upon task completion.
persona
UnionType[NottePersona, None]
default:"None"
agent_id
UnionType[str, None]
default:"None"
reasoning_model
notte_core.common.config.LlmModel | str
The language model to use for agent reasoning.
use_vision
bool
Whether to enable vision capabilities for the agent.
max_steps
int
Maximum number of steps the agent can take.
vault_id
str | None
Optional ID of the vault to use.
persona_id
str | None
notifier_config
dict[str, typing.Any] | None
Config used for the notifier.