`agentproto browser`
text agentproto browser install <adapter> [--force] [--dry-run] [--only <step>...] agentproto browser start <adapter> [--port N] [--camofox-port N] [--label L] [--non-interactive] [--json] agentproto
agentproto browser
agentproto browser install <adapter> [--force] [--dry-run] [--only <step>...]
agentproto browser start <adapter> [--port N] [--camofox-port N] [--label L]
[--non-interactive] [--json]
agentproto browser stop <session-id> [--json]
agentproto browser list [--alive] [--json]
agentproto browser status <session-id> [--json]Manage browser service sessions (Camofox, Bureau, Chromium, chrome-live) registered on
the local daemon. The daemon hosts the MCP tools (start_browser,
stop_browser, …); the CLI is an HTTP wrapper over the same routes for
shell scripting and inspection.
Requires a running daemon (serve.md or
daemon.md). Discovery reads ~/.agentproto/runtime.json.
Adapters
| Adapter | Description | Default port |
|---|---|---|
camofox | Stealth Firefox headless | 9377 |
bureau | Camofox + MCP capability server | 8830 |
chromium | Chromium browser service | 3200 |
chrome-live | A dedicated headful Chrome by default (no consent click); attachIntent: true attaches to your own running Chrome through chrome://inspect/#remote-debugging instead | 9222 |
chrome-live launches (or reuses, hot) a dedicated headful Chrome by
default — no attach attempt, no consent wait, your own Chrome is never dialed.
Pass attachIntent: true in the launch options (or pin a wsUrl/port) to
ask for your own running Chrome instead: turn on the remote debugging toggle
and click Allow when the session starts. If that attach is not possible
(toggle off, or the Allow click never comes), it falls back to the dedicated
Chrome so the agent is never stuck. The agent works in its own window and only
touches tabs it opened; stop closes those tabs and its own connection, and
kills only the Chrome it launched itself, never your Chrome. Cookies are
read-only. See the
adapter README.
chrome-live is also the only adapter that can screencast. The MCP tools
browser_screencast_start / browser_screencast_frame /
browser_screencast_stop stream the agent's own tab (CDP
Page.startScreencast — never a foreign tab, never the desktop) as it
works. start returns viewPath /sessions/<sessionId>/screencast:
open it on the daemon's HTTP port for an HTML viewer, with .mjpg
(MJPEG stream) and .jpg (latest frame) on the same path; to watch from
another machine, put a tunnel over the daemon's HTTP port in front of it
(see tunnel.md). stop encodes the frames buffered since
start to an mp4 in the session directory when ffmpeg is on PATH.
Subverbs
install <adapter>
Runs the adapter's declared config prompts interactively and persists the
results to ~/.agentproto/browser-adapters/<id>.json. Subsequent start
calls read this config automatically — no prompts needed unless new
required steps appear.
| Flag | Default | Description |
|---|---|---|
--force, -f | false | Re-run all prompts even if already answered. |
--dry-run | false | Print what would happen without persisting. |
--only <step> | — | Run only the named step(s). Repeatable. |
start <adapter>
Starts a browser service session via POST /sessions/browser. If required
config steps are missing and the terminal is interactive, prompts run
before the request. Pass --non-interactive to fail fast instead.
| Flag | Default | Description |
|---|---|---|
--port N | adapter default | Override the browser's listen port. |
--camofox-port N | adapter default | (Bureau only) Camofox backend port. |
--label L | — | Human-readable label for the session. |
--non-interactive | false | Fail if required config is missing instead of prompting. |
--json | false | Emit the session descriptor as JSON. |
stop <session-id>
Sends SIGTERM to the browser session via POST /sessions/:id/kill.
Idempotent — reports "not running" if already dead.
| Flag | Default | Description |
|---|---|---|
--json | false | Emit {"ok":bool,"sessionId":str} as JSON. |
list
Lists browser sessions known to the daemon.
| Flag | Default | Description |
|---|---|---|
--alive | false | Show only running sessions. |
--json | false | Emit an array of session descriptors. |
status <session-id>
Prints a detailed descriptor for one browser session, including a
best-effort /health probe (3-second timeout) against the browser's base URL.
| Flag | Default | Description |
|---|---|---|
--json | false | Emit {descriptor, healthy, healthBody} as JSON. |
Examples
# First-time setup for Camofox
agentproto browser install camofox
# Start a Bureau session (Camofox + MCP tools)
agentproto browser start bureau --label "debug-run"
# Start Bureau on custom ports
agentproto browser start bureau --port 8831 --camofox-port 9378
# List alive browser sessions
agentproto browser list --alive
# Inspect one session
agentproto browser status sess_abc12345
# Stop a session
agentproto browser stop sess_abc12345
# Reinstall config from scratch
agentproto browser install camofox --forceSee also
serve.md— daemon that hosts browser sessionsdaemon.md— managed background servicesessions.md— generic session listing and control
`agentproto branch`
text agentproto branch gc [--repo <dir>] [--base <ref>] [--scopes local,remote,orphan] [--min-age-days N] [--include-reviewed] [--anchor <sha>] [--apply] [--json] agentproto branch review-queue [--rep
`agentproto catalog`
text agentproto catalog build <entry.json|dir>... --out <apps.json> [--base <apps.json>] [--check] [--emit-ts <file.ts>] [--generated-at <iso>] agentproto catalog verify <entry.json|dir>... [--json] [