Browser primitives
Navigate, snapshot, click refs, type, resize, screenshot, inspect console output, and capture network evidence.
Drive real Chrome tabs from terminal commands, collect visible evidence, and run ChatGPT, Gemini, or Grok web sessions through a durable CLI workflow.
npm install -g agbrowse
agbrowse start --headed
agbrowse navigate "https://chatgpt.com/"
agbrowse snapshot --interactive
agbrowse web-ai code \
--vendor chatgpt \
--model thinking \
--effort standard \
--prompt "Create a small CLI app with tests." \
--output-zip ./result.zip
Navigate, snapshot, click refs, type, resize, screenshot, inspect console output, and capture network evidence.
Web-ai sends return a session id so a later shell can poll the same provider tab after sleep or timeout.
ChatGPT code mode generates projects as zip files, then code-extract can recover old artifacts from the original conversation.
agbrowse treats provider pages as changing user interfaces. The command surface keeps every mutation tied to an observed tab, target id, selector, screenshot, or artifact.
SID=$(agbrowse web-ai send \
--vendor chatgpt \
--model pro \
--inline-only \
--prompt "Research and cite sources." \
--json | jq -r .sessionId)
agbrowse web-ai poll \
--vendor chatgpt \
--session "$SID" \
--timeout 1800
Start with web-ai code for a new build. Use code-extract later when the original ChatGPT conversation is still accessible and already contains /mnt/data/*.zip artifacts.
agbrowse web-ai code \
--vendor chatgpt \
--model thinking \
--effort standard \
--prompt "Create a Flask MVP." \
--output-zip ./result.zip
DOWNLOAD: [result.zip](sandbox:/mnt/data/result.zip)
MACHINE: /mnt/data/result.zip
agbrowse web-ai code-extract \
--vendor chatgpt \
--url "https://chatgpt.com/c/<conversation-id>" \
--output-zip ./result.zip
unzip -t ./result.zip
npm run typecheck, npm run check:module-graph.npm run test:release-gates and npm run gate:all./docs directory at https://lidge-jun.github.io/agbrowse/.