The CLI is how code talks to Gobi. The same capabilities the apps use, exposed as composable shell commands, so an AI agent or a script can act on your behalf: read your captures, post to a space, manage artifacts.
It was designed agent-first. Every command can return structured JSON, auth works headlessly, and the package ships Claude Code skills that wrap each command group.
Install
The source is public at github.com/gobi-ai/gobi-cli, MIT licensed. Update later with gobi update, or check without installing: gobi update --check.
Sign in
A device-code flow: the CLI prints a URL, you authorize in the browser with Google, and it polls until done. Tokens land in ~/.gobi/credentials.json.
Quick start
Command groups
The object model behind these groups is one page: concepts. Building on top of the CLI from an agent? Start with using the CLI from agents. Environment variables and file paths are in the reference.
Documented against CLI 2.3.0. Creating a space happens in the app.