Agent-readable docs index: /llms.txt. Full docs in one file: /llms-full.txt. Download /docs.zip to grep all markdown files locally.

CLI reference

The gitspace client connects a computer to an existing account. Create and recover accounts at gitspace.sh. Manage projects, workspaces, agents, and releases in the web app.
Cloud-only use does not require this client.

Machine

CommandPurpose
gitspace machine setup --pair <token>Pair through browser approval, download the verified runtime, and start it.
gitspace machine setup --pair <token> --label <label>Pair with a custom machine name.
gitspace machine startStart the installed account-managed runtime, or finish its initial download if setup was interrupted.
gitspace machine stopAsk the local runtime to stop. It does not force-kill a process that takes too long.
gitspace machine statusShow the machine name, the local process, the running and desired machine releases (and a failed update's reason), separate relay-service and machine-tunnel probes, account URL, and log path.
gitspace machine removeStop and revoke this computer, retaining its local workspace files and runtime installation.
gitspace machine recover --source <path> --workspace <id> [--targets worker,machine,frontend]Build and activate the selected releases from a ready GitSpace source checkout held by this machine. For recovering a host that can't take a release the normal way.
Generate the pairing token in Settings › Machines › Add a computer. It expires after ten minutes. Confirm the machine name and signing key in that browser before approving it.
Local identity and runtime state live under ~/.config/gitspace/. The daemon log is ~/.config/gitspace/machine.log. The local identity contains machine keys, not the account root recovery key.

MCP servers on this computer

A plugin's MCP server can be pinned to one of your machines. Values it takes from that computer, such as a local token, stay on the computer in ~/.gitspace/mcp and are never sent to your account.
CommandPurpose
gitspace machine mcp env set <connection> <name>Set a value: pipe it in, or type it and press Ctrl-D. The server gets it at its next start.
gitspace machine mcp env list <connection>List the value names set for a connection. Values never show.
gitspace machine mcp env unset <connection> <name>Remove a value.
The connection ID is the one the server's start error names.

Browser

CommandPurpose
gitspace openOpen the linked account URL in a browser.
gitspace open --printPrint that account URL.
gitspace browser installPut your account's Chrome extension in ~/gitspace/chrome-extension, show it, and start its pairing. This computer keeps the extension up to date.
gitspace open does not create browser invitations. Choose Sign in with a passkey on your account page, use Settings › Passkeys and devices › Browsers › Connect another browser in a connected browser, or fill in Use your recovery key on your account page. See Connect machines and browsers.
After gitspace browser install, open Chrome's Extensions › Manage Extensions, turn on Developer mode, choose Load unpacked, and pick the chrome-extension folder. GitSpace opens in a new tab: check that the fingerprint matches the one in the extension, then choose its projects. The pairing waits 10 minutes; run the command again after that.

Services

CommandPurpose
gitspace service token <service> --sub <subject>Mint a GitSpace-signed token for a workspace service and print it as JSON. Send it as the GitSpace-Ingress header to routes that set tokens: true.
Options: --ttl (from 60s to 8h, default 8h), --refresh (also issue a 7-day refresh token), --port <name> (default: the service's first http port). Run it in a workspace terminal or agent command, or pass --project and --workspace. See Service tokens.

Diagnostics

CommandPurpose
gitspace doctorCheck machine enrollment, installed runtime components, Git/OpenSSH tools, and account connectivity.
gitspace --helpShow the command tree.
gitspace --versionShow the installed client version.
Git and the OpenSSH client are system prerequisites. The prebuilt machine runtime includes Bun and Git LFS. The machine puts its pinned tools first on the PATH it gives to Git and terminals. GitSpace does not change your Git configuration; repositories that track files with LFS need the usual filter.lfs settings, such as those git lfs install writes. You do not need a source checkout or local build tools.

Software releases

The account release system manages Worker, frontend, and machine versions. The local client has no account login, logout, or standalone update command. Pair a computer through the browser and use the account release controls for runtime changes.
Pi inference and conversation state run in the cloud. Machines execute authorized tools and lifecycle processes. Machine releases use the deployment executable manifest to verify their artifacts. Provider inference credentials remain under cloud authority, separate from machine tool installations.