Getting started
Turn on Session Insights for yourself. It takes about five minutes, and nothing leaves your machine until you approve it.
Install the CLI
curl -fsSL https://raw.githubusercontent.com/seedlinglabs/forgebench-cli/main/install.sh | bashirm https://raw.githubusercontent.com/seedlinglabs/forgebench-cli/main/install.ps1 | iexRun guided setup
forgebench setupSetup opens a keyboard-driven screen that walks you through five steps: URL, sources, preview, consent, and ready. Press
Escorqat any point to cancel. Nothing is uploaded if you do.Choose your ForgeBench URL
Enter the app URL for your environment. It defaults to
https://app.forgebench.ai, and the CLI connects to its API for you. If you don't have a valid login for that URL yet, your browser opens so you can sign in (company SSO included). If you're already signed in, setup skips this.Pick your AI tools and history window
Setup lists every supported tool it finds on your machine: Claude Code, Codex, Cursor, Antigravity, GitHub Copilot, and OpenCode. Use
Spaceto select one or more. Only the sources you select are read.Then choose how much history to import for the preview and first upload: 3, 7 (default), 30, or 90 days.
Review your private preview
Setup scans your selected sessions and builds the report locally. Press
vto see the exact payload that would be sent. The report holds counts, timestamps, tool and model IDs, and safe Git names. Prompts and code are never collected.Approve sync and upload
Setup asks one question: enable automatic session-end sync and upload this report now? Answer
yto turn both on, ornto keep everything local. Both are off until you say yes.Automatic sync checks the last three days after each session ends. Antigravity has no session-end hook, so it only uploads when you run
forgebench run --pushor a scheduled job fromforgebench schedule. To choose sync and upload separately, runforgebench setup --advanced.
Once you see You're ready, you're done. Run forgebench doctor anytime
to check your installation.
Other ways to run setup
| Situation | Command |
|---|---|
| Check which tools are selected and whether sync is on | forgebench setup --status |
| Turn automatic sync off | forgebench setup --uninstall |
| Sign in over SSH, without a browser | forgebench login --key |
| Forget the saved key | forgebench logout |
| Script setup without the guided screen | forgebench setup --tool claude_code --sync-now --install-hooks |
If your terminal is smaller than 64 × 20 or can't draw the guided screen, setup falls back to plain prompts that ask the same questions in the same order. For every command and flag, see the CLI reference.

