sincecutoff.com
← all changes

agent-browser chat command adds AI browser control

Introduced 2026-04-06 · score 0.97

HOW TO USE IT

When using AI Gateway for natural-language browser control, set `AI_GATEWAY_API_KEY` and run `agent-browser chat "open google.com"` for a single instruction or `agent-browser chat` for the interactive REPL. Add `--model <name>` or set `AI_GATEWAY_MODEL` to choose a model; add `--json` for structured output.

agent-browser chat "open google.com"
agent-browser chat
agent-browser --json --model <model-name> chat "open google.com"

WHY THIS HELPS

When using AI Gateway for natural-language control while inspecting or testing a browser session, run a chat instruction through agent-browser.

REQUIREMENTS AND LIMITATIONS

  • Version: v0.25.0
  • AI_GATEWAY_API_KEY (required): Vercel AI Gateway API key; required to enable AI chat.
  • <instruction>: Natural-language browser instruction; include it for single-shot mode, or omit it to start the interactive REPL.
  • --model <name>: Select the AI model for the chat command; CLI flags take precedence over environment variables.
  • AI_GATEWAY_MODEL: Select the default AI model for chat; the README example gives `anthropic/claude-sonnet-4.6` as the default.
  • --json: Request structured output suitable for agent consumption.
  • Prerequisite: Set `AI_GATEWAY_API_KEY` to enable AI chat.
  • Requires `AI_GATEWAY_API_KEY`.
  • In interactive mode, type `quit` to exit.

FIRST-PARTY EVIDENCE

Check the installed version and the source before using it. Entry JSON

Report a problem with this card