Skip to main content

Documentation Index

Fetch the complete documentation index at: https://agdiai-597e782f.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

agdi browser

Manage Agdi’s browser control server and run browser actions (tabs, snapshots, screenshots, navigation, clicks, typing). Related:

Common flags

  • --url <gatewayWsUrl>: Gateway WebSocket URL (defaults to config).
  • --token <token>: Gateway token (if required).
  • --timeout <ms>: request timeout (ms).
  • --browser-profile <name>: choose a browser profile (default from config).
  • --json: machine-readable output (where supported).

Quick start (local)

agdi browser profiles
agdi browser --browser-profile agdi start
agdi browser --browser-profile agdi open https://example.com
agdi browser --browser-profile agdi snapshot

Profiles

Profiles are named browser routing configs. In practice:
  • agdi: launches or attaches to a dedicated Agdi-managed Chrome instance (isolated user data dir).
  • user: controls your existing signed-in Chrome session via Chrome DevTools MCP.
  • custom CDP profiles: point at a local or remote CDP endpoint.
agdi browser profiles
agdi browser create-profile --name work --color "#FF5A36"
agdi browser create-profile --name chrome-live --driver existing-session
agdi browser delete-profile --name work
Use a specific profile:
agdi browser --browser-profile work tabs

Tabs

agdi browser tabs
agdi browser open https://docs.agdi.ai
agdi browser focus <targetId>
agdi browser close <targetId>

Snapshot / screenshot / actions

Snapshot:
agdi browser snapshot
Screenshot:
agdi browser screenshot
Navigate/click/type (ref-based UI automation):
agdi browser navigate https://example.com
agdi browser click <ref>
agdi browser type <ref> "hello"

Existing Chrome via MCP

Use the built-in user profile, or create your own existing-session profile:
agdi browser --browser-profile user tabs
agdi browser create-profile --name chrome-live --driver existing-session
agdi browser create-profile --name brave-live --driver existing-session --user-data-dir "~/Library/Application Support/BraveSoftware/Brave-Browser"
agdi browser --browser-profile chrome-live tabs
This path is host-only. For Docker, headless servers, Browserless, or other remote setups, use a CDP profile instead.

Remote browser control (node host proxy)

If the Gateway runs on a different machine than the browser, run a node host on the machine that has Chrome/Brave/Edge/Chromium. The Gateway will proxy browser actions to that node (no separate browser control server required). Use gateway.nodes.browser.mode to control auto-routing and gateway.nodes.browser.node to pin a specific node if multiple are connected. Security + remote setup: Browser tool, Remote access, Tailscale, Security