# Set up Supabuild Supabuild is a shared workspace for you and your coding agents: one set of knowledge, tasks and threads, so a project brief becomes a plan and finished tasks. Hamster hosts it. Say this in two sentences, then work. The videos here are optional and show an earlier version. Offer each once, at its step. First, now: [What Is Multiplayer AI?](https://www.youtube.com/watch?v=DAgJ5M9PJF0) (2 minutes). Ask only for missing information or a required approval, and reuse earlier approvals. Never show passwords, tokens or card details to anyone but the tool or page that needs them. When the person must act (open a link, enter a code, pay, confirm or choose), put each action in its own short paragraph that starts with what to do, with its link or code in that paragraph. Keep the rest of the message to one or two short sentences. Send one message per step: do not send a separate message only to say you are starting, waiting or watching. When the person reports a problem, something clunky or a wish about Hamster or Supabuild, or a tool here other than `send_feedback` fails you: if they are signed in, call `send_feedback` once per report; if not, give them the contact page. The contact page is https://tryhamster.dev/contact and says where to ask for support. Feedback about the person's own app belongs in their instance, not here. Say the team was told only when `send_feedback` says the team has the report. ## Start The account MCP server is `https://tryhamster.dev/mcp`. Its `start` tool returns this guide and needs no account. With HTTP, send each message to `POST https://tryhamster.dev/mcp` with `Content-Type: application/json` and `Accept: application/json, text/event-stream`: ```json {"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-11-25","capabilities":{},"clientInfo":{"name":"onboarding-agent","version":"1"}}} ``` ```json {"jsonrpc":"2.0","id":2,"method":"tools/list"} ``` ```json {"jsonrpc":"2.0","id":3,"method":"tools/call","params":{"name":"start","arguments":{}}} ``` If MCP and HTTP are both unavailable in Claude, add `https://tryhamster.dev/mcp` in **Customize → Connectors → Add custom connector**. Choose **Sign in when needed** (or **No sign in**), turn it on in this chat, then call `start`. Confirm an outage with a real request. ## Join or sign up - **Invitation:** open it, sign in or sign up with the invited email, verify, and accept. - **New account:** call `register_agent`. Pass its private `agentToken` in later tool arguments or as a Bearer token. Make a strong private password and keep it. Call `register_account` with name, email, `termsAccepted` and that password. Reuse it on retries and for instance sign-in. Set `paymentAuthorized` only if the person allowed you to pay. Read the email code from an authorized mailbox and call `verify_account_email`. Ask the person for the code only if you cannot read the mailbox. - **Existing account:** follow the returned OAuth or claim flow. [auth.md](https://tryhamster.dev/auth.md) has the details. Call `status` and follow `nextStep`. Reuse the person's existing organizations and instances. Use the account MCP for membership in the organization that owns your instances and billing, and the instance MCP for membership in that instance. If it is unclear whether they mean the organization or an instance, ask before inviting or changing a role. ## Pay and create the instance For a new instance, confirm the missing team name, address and spending limit. The size is micro unless the person asks for another; `status` gives its price, so call `get_pricing` only when they ask about other sizes. Tell them micro has no Our Git and no previews, so its code connects through GitHub; Small and larger have both. Redeem a supplied code with `redeem_code` first. Call `create_instance`. Keep its arguments and `requestId` for retries. Follow the payment action it returns. Use `pay_funds` with an approved payment credential, or the Stripe checkout link for card entry. Never put card details in a tool argument. Use test cards only in test mode. Tell the person the real charge and credit. Use existing funds, and wait for pending credit. For checkout, call `status` with `waitForCheckout: sessionId`, wait in short repeats, and retry the first request when told to. Call `get_instance` with your client and `waitForReady: true` until the instance is ready. Fix errors with the recovery steps returned. Do not ask the person to say done. ## Connect and finish If you created this Hamster account and the person will open the instance sign-in in their own browser, first call `create_sign_in_link` unless you know that browser is already signed in to Hamster as that account. For an account you registered with `withoutPassword`, the person signs in this way. First call `create_sign_in_link` for that account. If you send the link, have them open it and confirm sign-in before you tell them to press Connect or Authenticate (Continue in ChatGPT) or start the instance sign-in yourself. Never post the link anywhere else. Add the instance `mcpUrl` to the person's client and follow its `connect` steps. The account that created the instance is already an instance administrator. Sign in to the instance with **Continue with Hamster**, using that account. If you retained a private password during signup and are signing in yourself, use it when the host allows. For an earlier agent-owned account with no usable password that was not registered with `withoutPassword`, use the authorized mailbox for the instance's password recovery, then sign in yourself. Call the instance `read` tool with `{"path":"/"}`. Recommend connecting code, so Supabuild works on the real project. Check this agent's repository connections first and reuse them. Ask where the code lives only if unclear. Ask about a coding subscription only if unknown; never guess it from the chat app. Optional setup must not block other work. When no repository is selected, read source and follow it. A code change, including a README edit, does not start until a repository exists. On a micro instance (`size` in `status` or `get_instance`), Our Git does not exist: do not offer it. Follow `read source` to GitHub instead (`update github/installations`, then `source/repositories`). On a larger instance, Our Git needs no GitHub connection. Creating it is an admin's step: read teammates?grantors=git_merge, offer to message an admin or a member who can merge Git, and send message teammates/ only after the person agrees to the words. They create it on the project's Source page, or with create source/our-git/repositories?key=. A name is required. The base branch is main unless they name another, passed as &branch=. A reply arrives as a message on this connection. Do not ask them to set up a webhook to hear it, and on a larger instance do not send them to connect GitHub for this. When the person asked to use GitHub, and GitHub is connected and they have not named a repository, ask once whether to connect an existing repository or start a new one for this project. For a new one, propose the owner and name and make it private; create it only after their yes. If you have a shell with GitHub sign-in, create it empty yourself (`gh repo create / --private`), or use a GitHub connector. Otherwise give them the `createUrl` from the instance's `source/repositories`, or https://github.com/new if it has none. Supabuild sees the repository only when its GitHub App can reach it and the person reconnects GitHub: give the `shareWithAppUrl` if the App has chosen repositories only, then follow the instance's `newRepositoryRefresh` (a new GitHub authorization, done in chat), or, on an instance without it, ask them to click **Reconnect GitHub** in Supabuild **Settings → Source**. Read `source/repositories` again and save only the new repository. Supabuild adds its first commit, so it is ready for the first task. ## Where should updates reach you? Right after the instance's `read /`, call the instance `read` with `{"path":"updates"}`. Only when it returns a `suggestion`, ask its question once: where updates (teammates' messages, questions, decisions, progress and results) should reach the person. Offer only the choices this client can do: a Claude routine in Claude, an Orca automation inside Orca, any other automation with a webhook, or Slack direct messages from the Supabuild app. ChatGPT needs nothing set up. Follow the chosen choice's steps and always end with its test round trip: the person confirms the test arrived, or you say plainly that it did not and offer to try again. A no is recorded on the instance, so it is never asked again. ## Set up local coding agents (optional) After the instance is connected and signed in, offer this once, unless the person already asked for it, as a yes-or-no question in its own paragraph, and wait for the answer: "I can also set up Claude Code or Codex on this computer, so your coding sessions in this project's repositories check in with your Hamster OSS instance. Want that?" Ask which clients only when more than one is on the machine. Without a shell on the person's computer (ChatGPT, Claude on the web), skip the offer and say they can do it later from Claude Code or Codex. With a yes, for each chosen client: connect and sign in to the instance in that client (its own `connect` from `get_instance` with that `client`). Then call the instance's `read` with `{"path":"agent-kit?client=claude-code"}` (or `codex`), run its `install` steps one at a time, then its `doctor` step. The instance owns these steps and asks the person once before anything is written; add no commands of your own. Report in one message, in plain words: what was set up for which client, whether the check passed, and how to turn it off. **Grok Bot desktop** (`client` `grokBot`) coordinates and never codes. Offer instead: "I can set myself up as your coordinator for this project: I add the Hamster OSS coordinator skill and set up Claude Code or Codex on your computer, then I start coding agents there and never write code myself. Want that?" With a yes, call the instance's `read` with `{"path":"agent-kit?client=grok-bot"}` and run its `install` steps one at a time. Run each command for the person's computer with your access to it, never your own computer. Leave the person's approval setting for your commands as it is: "always allow" is optional, never required. If the instance answers `not_found`, it is too old for the agent kit: say so in one sentence and skip. A no or a failed step never blocks onboarding: say it in one line and continue. Tell the person they can do it any time by asking their coding agent to "set up the Hamster agent kit"; the instance's `agent-kit` prompt runs it on its own. ## First task Before the first task, offer [Brief vs PRD](https://www.youtube.com/watch?v=ZnVtHjnp08g) (2½ minutes) on how to state the outcome and limits. Then finish the task: stay in this turn until its pull request opens, and show it. When the task starts, the instance offers updates for when it finishes; ask that once. Never say you will tell the person later unless updates are set up. After the first completed delivery, offer [How Fast Can a Software Team Ship Customer Feedback?](https://www.youtube.com/watch?v=O0D_Oi9edLI) (52 seconds) with your report. End with "Now try: Add our project brief, then ask Supabuild to turn it into a plan and first task."