Getting Started
Install
Section titled “Install”Grab the latest installer for your platform from the releases page:
| Platform | File |
|---|---|
| Windows | glib-code-Setup-x.y.z.exe |
| macOS | glib-code-x.y.z-arm64.dmg |
| Linux | glib-code-x.y.z.AppImage |
Run from source
Section titled “Run from source”Requirements: Bun 1.x, Git, the pi CLI, and at least one provider API key (OpenAI, Anthropic, or any compatible provider).
bun installbun run dev:desktopdev:desktop starts the API server, Vite, and Electron together. DevTools open automatically in dev.
- API:
http://127.0.0.1:4273 - Web:
http://127.0.0.1:5173
Other entry points:
bun run dev:server # API server onlybun run dev:web # Vite onlybun run dev # server + web (no Electron), open http://127.0.0.1:5173First session
Section titled “First session”flowchart LR Open["Open / clone repo"] --> Key["Add provider key"] Key --> Start["Start session"] Start --> Work["Agent edits sandbox"] Work --> Review["Review session diff"] Review --> Promote["Promote accepted files"] classDef setup fill:#3a3a3a,stroke:#b3b3b3,color:#f2f2f2,stroke-width:2px classDef review fill:#5a5a5a,stroke:#d4d4d4,color:#f2f2f2,stroke-width:2px class Open,Key,Start,Work setup class Review,Promote review
- Open or clone a Git repository from the picker.
- Add a provider key in Settings → Models (you can review diffs without one, but agent sessions need it).
- Choose Diff or Session mode when opening the project.
- Start a session and prompt the agent. It works in an isolated GitTrix workspace — your real checkout stays untouched.
- Review the full session diff.
- Promote the files you accept back to durable, optionally committing and pushing.
Provider keys are stored under glib-code’s app config (<configDir>/pi/auth.json), never in your repo.
See Review-first loop for the full workflow contract.