Installation
Gambi has two parts you install:
- The CLI (
gambi), on every machine that runs the hub or shares a model or harness. - The SDK (
gambi-sdk), only in TypeScript or JavaScript apps that call a room. Apps in other languages can use any OpenAI-compatible client instead.
Pre-built binaries are available for Linux (x64/arm64), macOS (Apple Silicon and Intel), and Windows (x64).
curl -fsSL https://raw.githubusercontent.com/arthurbm/gambi/main/scripts/install.sh | bashThe script detects your OS and architecture, downloads the matching binary, and installs it to ~/.local/bin. Set GAMBI_INSTALL_DIR to install somewhere else.
irm https://raw.githubusercontent.com/arthurbm/gambi/main/scripts/install.ps1 | iexThe script downloads the binary to %LOCALAPPDATA%\gambi\ and adds it to your user PATH.
# Via npmnpm install -g gambi
# Via bunbun add -g gambiThe published gambi package is a wrapper that installs only the matching platform binary for your machine. npm users only need Node.js; Bun is not required at runtime.
Verify the installation:
gambi --versionTo update later, run gambi self update.
The SDK is a Vercel AI SDK provider for using shared models in TypeScript and JavaScript applications. It defaults to the Responses API and also supports Chat Completions. It also includes the management client and the harness attach, and runs in Node and Bun. Two more entries, gambi-sdk/hub and gambi-sdk/participant, host a hub or a participant inside your own program; those need Bun, and a participant hosted that way follows the same version rule as the CLI.
npm install gambi-sdk# orbun add gambi-sdkWhat each machine needs
Section titled “What each machine needs”| Machine | Needs |
|---|---|
| The hub | The CLI. No GPU, because the hub only routes traffic. |
| Someone sharing a model | The CLI and a running OpenAI-compatible server, such as Ollama, LM Studio, or vLLM, or a cloud API key. |
| Someone sharing a harness | The CLI and Claude Code, Codex, or OpenCode, installed and logged in. See Bring your harness. |
| An app that calls the room | The SDK, or any OpenAI-compatible client. |
Uninstall
Section titled “Uninstall”curl -fsSL https://raw.githubusercontent.com/arthurbm/gambi/main/scripts/uninstall.sh | bashirm https://raw.githubusercontent.com/arthurbm/gambi/main/scripts/uninstall.ps1 | iex# If installed via npmnpm uninstall -g gambi
# If installed via bunbun remove -g gambiNext step
Section titled “Next step”Run a hub and share your first model in the Quick start.