Skip to content

Quickstart

# Install, start Chrome, inspect a page, then run Web-AI.

1. Install the package globally or run the local bin from the repository.
2. Start headed Chrome so CDP automation can see the same UI you see.
3. Capture a snapshot before mutating the page.
4. Use Web-AI commands with explicit provider and prompt flags.

    npm install -g agbrowse
    agbrowse start --headed
    agbrowse navigate https://example.com
    agbrowse snapshot --interactive

## Web-AI query

    agbrowse web-ai query \
      --vendor chatgpt \
      --inline-only \
      --prompt "Summarize this page and cite visible sources."

## Code artifact generation

New users should start with `web-ai code`. Use `code-extract` later when an existing ChatGPT conversation already contains a generated sandbox zip.

    agbrowse web-ai code \
      --vendor chatgpt \
      --model thinking \
      --effort standard \
      --prompt "Create a CLI todo app with tests." \
      --output-zip ./result.zip

First-run checks Code mode guide