AI agent instructions
AI agent instructions
Installation
Install with one of:notte upgrade. It uses Homebrew when notte was installed with it, and otherwise re-runs the install script.
Authentication
The CLI reads your API key from, in order: the file named byNOTTE_API_KEY_FILE, the NOTTE_API_KEY environment variable, the system keyring (set by notte login), then ~/.notte/cli/config.json. See Authentication to get a key.
NOTTE_API_KEY_FILE is read again by every new command, so a runtime can rotate a short-lived access token in it without restarting the agent; a long-running command keeps the credential it started with. When it is set, the file is the only source: a missing, unreadable, empty or oversized (above 64 KiB) file is an error, never a fallback to the other sources. NOTTE_API_KEY is then ignored, with a note on stderr. notte login and notte logout exit with an error while it is set.
Commands
Auth
Manage authentication
Files
Manage stored files
Functions
Manage functions
Page
Execute page actions (syntactic sugar for sessions execute)
Payment
Request a temporary card for a browser session
Personas
Manage personas
Profiles
Manage browser profiles
Sessions
Manage browser sessions
Skill
Manage Notte skills for AI coding assistants
Tunnel
Route sessions through this machine’s internet connection
Usage
Show API usage statistics
Vaults
Manage vaults
Other commands
clear, health, login, logout, search, upgrade, version, whoamiGlobal flags
These flags work with every command.JSON output
Commands that return data accept--output json (or -o json) for machine-readable output. Commands that wrap another tool, such as skill add, print that tool’s output as is: