agbrowse docs

Guide

Generate ChatGPT code zips and recover them without clicking download buttons.

web-ai code is ChatGPT-only. It uploads the saved dev-agent context, sends a strict contract prompt, waits for sandbox zip output, retrieves it through the provider download API, and verifies the local zip.

Single artifact

agbrowse web-ai code \
  --vendor chatgpt \
  --model thinking \
  --effort standard \
  --prompt "Build the app described here." \
  --output-zip ./result.zip

If --output-zip is omitted, the zip is saved as code-artifact-<conversation>.zip in the current working directory.

Multiple artifacts

agbrowse web-ai code \
  --vendor chatgpt \
  --model thinking \
  --multi-zip \
  --output-dir ./artifacts \
  --prompt "Create backend.zip and frontend.zip."

--multi-zip cannot be combined with --output-zip. Use --output-dir.

Later extraction

agbrowse web-ai code-extract \
  --vendor chatgpt \
  --url "https://chatgpt.com/c/<conversation-id>" \
  --output-zip ./result.zip

code-extract does not send a prompt. It requires the original ChatGPT conversation to remain accessible in the logged-in browser profile.