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

Connect machines and browsers

GitSpace uses separate identities for the account root, each machine, and each browser. Enrollment decides which device may call account and machine APIs.

Connect a machine

Open Settings › Machines › Add a computer in your account and choose whether the computer is Mine or The team's. A personal machine joins only workspaces you hold and uses your own SSH key; a team machine joins any workspace and uses the team SSH key. Only Owners and Admins pair team machines. Install the client on that computer and run the short-lived pairing command shown by the walkthrough:
bash
gitspace machine setup --pair <token>
The computer creates its own Ed25519 and X25519 keys. Compare the signing key in the terminal with the browser, then approve it. The browser signs a delegated machine grant backed by its account-root authorization chain. Setup downloads the verified runtime and starts it without a source checkout or account recovery key.
The started runtime connects to the account relay. It manages attached checkouts and runs authorized file, shell, terminal, and service operations. Pi conversations, task state, inference, and provider authentication stay in the cloud; the machine does not host a fallback agent session.
To let agents use Chrome on that computer, run gitspace browser install. It puts your account's Chrome extension in ~/gitspace/chrome-extension and keeps it up to date. Load it in Chrome with Load unpacked, check that its fingerprint matches, then choose its projects. The pairing waits 10 minutes.

Connect a browser

With a passkey

Visit your account URL, such as https://your-handle.gitspace.sh, in the new browser and choose Sign in with a passkey. Use a passkey synced to this device (iCloud Keychain, Google Password Manager), a security key such as a YubiKey over USB or NFC, or a phone nearby through the browser's QR code. The new browser creates its own key, and the passkey signs an invitation naming that key. Browsers a passkey connected keep working if you later revoke the passkey; revoke them under Browsers.
Enroll passkeys under Settings › Passkeys and devices in a connected browser. Enroll this device creates the first one. Adding or revoking a passkey once you have one asks for a passkey you already have, or your recovery key. With one passkey, add a second from another provider (a security key, or another platform), or keep your recovery key: losing every passkey, every browser and the recovery key leaves no way back in.

From a connected browser

Open Settings › Passkeys and devices › Browsers › Connect another browser. Create an invitation, then copy its link or scan its QR code in the new browser. Only a browser with permission to enroll devices can create an invitation. Once the account has a passkey, creating the link asks you to confirm with it (or with your recovery key).
The link works once and expires after five minutes. Anyone holding it can connect to your account before it expires. Cancel link invalidates the link, including copies you already shared. After someone redeems it, revoke that browser from the device list instead.
An invited browser depends on the browser that invited it. Signing out or revoking the sending browser also disables browsers it connected. Passkey and recovery-key enrollment do not depend on another browser.

With your recovery key

Visit your account URL in the new browser. Under Use your recovery key, enter your saved gsr_ key and choose Connect with recovery key. The page already knows your account handle. This does not create a new account.
The private root key stays in the page while it signs the request and invitation. GitSpace does not send it to the server or save it in browser storage. Recovery clears the key from the form when the attempt finishes.
If you already have an invitation, expand Already have an enrollment link? and paste it.
The enrollment token travels in the URL fragment and the app removes it before making the enrollment request. The browser generates a non-extractable Ed25519 key in IndexedDB, redeems the invitation, and receives a revocable device grant. Future requests use that device key.
Once linked, gitspace open opens the account URL only. It does not mint an invitation or copy authority from the machine.

People on a team

Each person on a team joins from an invite link and signs in with their own passkey; the recovery key stays the account root's. A person's browsers, passkeys and MCP clients are their own, and an Owner or Admin can revoke them from that person's page under People. See Teams.
Apps connect as a person over MCP, within the projects and permissions that person gives them. See MCP clients.

Request path

text
Browser | signed account or machine RPC request v Account Worker and workspace Durable Object | cloud conversations, tasks, provider auth, inference, committed code reads | authorized machine effects through the relay v Machine supervisor and attached checkout | execution evidence and results v Cloud task state and browser view
The browser uses cloud APIs for durable workspace state and the relay for machine-scoped operations. Enrollment identifies a machine; a workspace attachment and its authority generation determine which effects it may run. A reachable tunnel alone does not authorize execution.
Provider login and inference need no machine connection. The encrypted cloud vault retains login state and credentials, refreshes tokens, and selects accounts within the project's inference profile. Device-code polling continues without an open browser. Reopening the same browser restores a saved login flow; manual code and callback flows still wait for your input.

Account access and billing

Routine requests check device permissions and account and tenant access state. Access restrictions still apply, including suspension and quarantine. Requests fail closed when the account or tenant access authority is unavailable.
GitSpace records worker-request usage in the background on a best-effort basis. A billing outage does not block ordinary requests, but it can leave usage unrecorded. Issue #147 tracks durable usage delivery, automatic overage enforcement, and shutdown policy.

Important security boundary

Signed requests provide device authentication and tamper detection. They do not, by themselves, hide the RPC body from the Worker or relay that routes it.
GitSpace encrypts artifact and checkpoint blobs with AES-GCM. Machine credentials are sealed to machine keys with ephemeral X25519, HKDF-SHA256, and AES-GCM. These are scoped protections. Browser and terminal RPC bodies are not currently encrypted end to end.
Read Security boundaries for the implemented guarantees and limits.

Troubleshooting

bash
gitspace machine status gitspace doctor
machine status reports the local daemon and probes the relay service and this machine's tunnel separately. A reachable relay does not prove that the machine tunnel works. doctor checks machine enrollment, bundled runtime components, Git/OpenSSH prerequisites, and account connectivity. Account release controls manage subsequent runtime changes.
There are three active release targets: Worker, frontend, and machine. A native-v1 host needs the existing authenticated recovery/bootstrap path before it can accept native-v2; changing the selected release does not make an old host compatible.
If an open request loses its response, the machine may still be restoring the workspace. Refresh the recorded cloud state before another attempt. GitSpace does not replay an open request after a tunnel failure. A project that still says cloud-only may have a clone in progress; that label alone does not make another open safe.
Losing a tunnel also does not prove that a shell command or service stopped. GitSpace keeps unresolved effects uncertain until it can reconcile execution evidence. Do not treat reconnecting, restarting a cloud conversation, or selecting another machine as permission to repeat an effect.