agbrowse docs

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."

Standalone search

Use agbrowse search to run a full deep search pipeline: query rewrite, original-page fetch via the adaptive-fetch ladder, and evidence scoring.

agbrowse search "Next.js 15 app router migration" --json

Verify a single URL or pipe in external search results for enrichment:

agbrowse search --verify "https://nextjs.org/docs/app" --json
echo '[{"url":"...","title":"..."}]' | agbrowse search "query" --stdin-results --json

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 medium \
  --prompt "Create a CLI todo app with tests." \
  --output-zip ./result.zip