Skip to content

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).

Terminal window
curl -fsSL https://raw.githubusercontent.com/arthurbm/gambi/main/scripts/install.sh | bash

The script detects your OS and architecture, downloads the matching binary, and installs it to ~/.local/bin. Set GAMBI_INSTALL_DIR to install somewhere else.

Verify the installation:

Terminal window
gambi --version

To 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.

Terminal window
npm install gambi-sdk
# or
bun add gambi-sdk
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.
Terminal window
curl -fsSL https://raw.githubusercontent.com/arthurbm/gambi/main/scripts/uninstall.sh | bash

Run a hub and share your first model in the Quick start.