Overview
rusty-cli is a thin command-line interface for the rusty-server HTTP API. It wraps every API endpoint as a typed command and tracks the last active browser so you can omit the ID on repeated calls.
Installation
Configuration
The CLI reads config from three sources, in order of precedence:- Command-line flags:
--url,--api-key - Environment variables:
RUSTY_URL,RUSTY_API_KEY - Stored config:
~/.rusty-cli.json(Windows:%USERPROFILE%\.rusty-cli.json)
api-key only if your rusty-server config enforces X-API-Key:
Quickstart
Commands
Top-level
Browser Lifecycle
Navigation & Interaction
DOM Queries
Usefind-node for a specific selector, or ui-map when you need to inspect the full accessibility tree before choosing a node ID.
AI & Logs
ID Resolution
Almost everybrowser subcommand takes an optional [id] positional. When omitted, the CLI uses the last execution_id returned from spawn, stored in ~/.rusty-cli.json.
To target a specific browser without changing the stored default, pass the ID explicitly:
Notes
- The CLI sends
X-API-Keyonly when an API key is configured. instructis fire-and-forget: the server runs the AI loop in the background. Polllogsto follow progress.

