Quickstart
Install, start Chrome, inspect a page, then run Web-AI.
- Install the package globally or run the local bin from the repository.
- Start headed Chrome so CDP automation can see the same UI you see.
- Capture a snapshot before mutating the page.
- Use Web-AI commands with explicit provider and prompt flags.
npm install -g agbrowse
agbrowse start --headed
agbrowse navigate https://example.com
agbrowse snapshot --interactiveWeb-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" --jsonVerify 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 --jsonCode 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