gbx

A free, open-source command-line tool for software developers that connects the Grok Build and Codex coding assistants to the model provider of your choice.

This is the official home page of the application gbx, the name shown on its Google sign-in screen. You do not need an account or a sign-in to read this page, download gbx or use it. Signing in with Google is optional and only turns on settings sync (see below).

What gbx does

Grok Build is a coding assistant that runs in a terminal and helps developers read, edit and test source code. gbx starts Grok Build for you, adds models to the Codex model picker, and connects them to the model service you choose:

gbx keeps several saved provider configurations, switches between them, and can run Grok Build sessions in your local browser with gbx serve.

gbx is a tool for writing software. It works only with text and source code. It does not create, edit or process images, video or audio.

gbx runs entirely on your own computer. Its developers run no servers, collect no data and have no user accounts. The full source code is public under the MIT License.

Install

npm install -g @grokbuildx/gbx   # needs Node.js 22 or later
gbx set                               # add a model provider
gbx                                   # start Grok Build with it

Downloads, documentation and release notes: github.com/grokbuildx/gbx.

How gbx uses Google user data

gbx uses Google for one optional feature: syncing gbx's own settings between your computers. When you run gbx cloud login and choose Google Drive, gbx opens Google's sign-in page in your browser and asks for one permission:

ScopeWhy gbx needs it
https://www.googleapis.com/auth/drive.appdataTo store one encrypted file, gbx-sync.bundle, in gbx's private application data folder in your Google Drive, and to read it back on your other computers.

gbx's use and transfer of information received from Google APIs adheres to the Google API Services User Data Policy, including the Limited Use requirements. Full details are in the Privacy Policy.

Links

中文

gbx 是一款免费、开源的开发者命令行工具,用来为编程助手 Grok Build 和 Codex 接入你选择的模型服务(OpenAI 兼容 API 与网关,或你已有的编程订阅)。gbx 只处理文本与源代码,不生成或处理图片、视频、音频。它完全在你的电脑上运行,开发者没有服务器、不收集数据,也没有账号体系。阅读本页、下载和使用 gbx 都不需要登录。

Google 登录是可选功能,只用于在你自己的多台电脑之间同步 gbx 配置。运行 gbx cloud login 时,gbx 只申请 drive.appdata 权限,在应用专属数据文件夹中保存一个 AES-256-GCM 加密文件 gbx-sync.bundle;它无法访问你 Drive 中的其他文件,也不读取姓名、邮箱。Google 用户数据不会发送给 gbx 开发者、任何 AI 模型或第三方,不用于广告或训练 AI 模型,也绝不用于生成图片或 AI 非自愿亲密影像(NCII)。详见隐私政策与服务条款。