Install Superbot on an agent computer
This page is for an agent that has its own Linux computer: xAI Grok Bot, Meta Muse, OpenAI dots, Manus, Cognition Devin, or any Linux VM an agent drives. It installs the Helper on that computer and links it to the user's Superbot account. The user's request usually reads "Install Superbot from superbot.gg/agent".
Vendor notes: Grok Bot, Muse, dots, Manus, Devin.
Not for session sandboxes
Codex cloud tasks and Claude Code on the web run in a container that is thrown away when the session ends, so a Helper installed there would be linked to a computer that no longer exists. Do not run the command there. Connect the remote MCP server instead:
- endpoint:
https://api.superbot.gg/mcp - Claude Code link:
curl -fsS -X POST https://api.superbot.gg/mcp/install -d client=claude-code(reply:add,link_url) - Claude Code:
claude mcp add --transport http superbot https://api.superbot.gg/mcp -s user - Codex link:
curl -fsS -X POST https://api.superbot.gg/mcp/install -d client=codex(reply:config_toml,link_url) - Codex without a key: the
[mcp_servers.superbot]entry withurl = "https://api.superbot.gg/mcp"in~/.codex/config.tomlalso connects; its first call answers with alink_url.
No account yet? Follow https://superbot.gg/auth.md: it signs the user in with an emailed code and gives you a token for https://api.superbot.gg/mcp.
Prerequisites
- Linux on x86_64 or arm64, with
sh,curl(orwget) andsha256sum. - Outbound HTTPS to one host, the one in
https://api.superbot.gg. Every download below comes from it. - Admins of Codex cloud, GitHub Copilot cloud agent and Claude Code on the web: allow outbound HTTPS on port 443 to the host in
https://api.superbot.gg, the one the command above downloads from.superbot-helper doctor --egressshows what the Helper can reach. - About 130 MB free under
~/.superbot. - No inbound access, no terminal and no browser are needed on the computer.
The command
Run this as one shell command. Set V to grok-bot, muse, dots, manus or devin, or leave it empty.
O=https://api.superbot.gg; V=grok-bot; cd "$(mktemp -d)" && curl -fsSo S "$O/download/helper/asset/sha256sums?via=origin" && curl -fsSo agent-bootstrap.sh "$O/download/helper/agent-bootstrap.sh" && grep '[ *]agent-bootstrap.sh$' S | sha256sum -c >&2 && sh agent-bootstrap.sh --origin="$O" --vendor="$V" --helper-sha256-x64="$(awk '$2=="superbot-helper-linux-x64"{print $1}' S)" --helper-sha256-arm64="$(awk '$2=="superbot-helper-linux-arm64"{print $1}' S)"It fetches the release checksums and the Helper's install script from https://api.superbot.gg, checks the script against its checksum line, and runs it. The script downloads the Helper build for this computer's uname -m, checks it against the pinned sha256, installs it at ~/.superbot/bin/superbot-helper, starts it in the background and asks for a link. It finishes in about 30 seconds and never reads from a terminal.
Where https://api.superbot.gg/bootstrap.sh answers (a self-hosted origin, or once sign-up opens to everyone), curl -fsSL https://api.superbot.gg/bootstrap.sh | sh -s -- --agent=grok-bot runs the same steps and also refuses to run in a session sandbox. The --agent flag is what says this is an agent, so keep it even when the computer has a terminal; --agent alone works too.
A computer linked this way gets link-level access. The checks prove the bytes match what https://api.superbot.gg serves over TLS, nothing more, so this path is never granted access to the user's data. That access comes only from the command the Superbot app hands out.
If the user pastes a command from the Superbot app
It starts with curl -fsSLo sba.sh and carries --link=lnk_…. Run it exactly as given, as one command, instead of the command above. The app pinned every download to a hash it verified, and the one-time link carries the access the user approved in the app. Never print, log, store or repeat the --link value.
What to show the user
Standard output is one block of KEY=value lines. Progress goes to standard error.
SUPERBOT_BOOTSTRAP=v1
SUPERBOT_STATUS=awaiting_approval
SUPERBOT_LINK_URL=https://…/approve?user_code=…
SUPERBOT_USER_CODE=…
SUPERBOT_EXPIRES_AT=…awaiting_approval: give the userSUPERBOT_LINK_URLandSUPERBOT_USER_CODE, and ask them to approve this computer in the Superbot app (the approval sheet, or the link on their phone). Then run the same command again. Never ask the user for a password, token, recovery code or invite.denied: the user tapped Not me in the app. Stop, tell the user the link was declined, and do not run the command again unless the user asks.expired: the code lapsed (SUPERBOT_EXPIRES_AThas passed). Run the same command once more for a fresh code.linked: tell the user it is linked, with the masked account fromSUPERBOT_LINKED_TOwhen present.error: showSUPERBOT_ERROR(a code, then a message) and check Troubleshooting.
One line is enough, for example superbot relay: linked to a***@example.com, or superbot relay: approve this computer at <SUPERBOT_LINK_URL>.
Verify
Run the same command again. With the Helper already current it downloads nothing, and once the user has approved it prints SUPERBOT_STATUS=linked. To check the Helper process itself:
kill -0 "$(cat ~/.superbot/agent-helper.pid)" && echo runningRe-running
Running the command again is safe. When the computer is already linked (~/.superbot/key.json exists) it only restarts the Helper and never links again. To link to another account, add --relink after sh agent-bootstrap.sh. Running it again is also how the Helper updates to a new release, and what to do after the computer restarts or is updated.
Troubleshooting
download_failed, curl exit 6, 7 or 28, or a 403 from a proxy: the computer cannot reachhttps://api.superbot.gg. Allow that one host in the computer's network settings; no other host is needed. Behind a proxy, setHTTPS_PROXY(andhttps_proxyfor wget) before the command.curl -fsS -o /dev/null https://api.superbot.gg/download/helper/latest.json && echo reachabletells you whether the host is reachable. Once the Helper is installed,~/.superbot/bin/superbot-helper doctor --egress(on a Helper that has it) reports what the Helper itself can reach.edge_unreachable: the Helper could not reach Superbot. The block then carriesSUPERBOT_ALLOWLIST=<host>:443: allow that host and port, then run the command again.download_incomplete: the Helper download (about 125 MB) ran out of time. Run the command again; it resumes where it stopped.hash_mismatch, orsha256sum: WARNING: the bytes changed on the way, usually a proxy or cache. Nothing was installed. Run it again; if it repeats, something on the network is rewriting downloads.- A 404 on
agent-bootstrap.sh, orrelease_unsigned: the current Helper release predates this install path. Try again after the next release. - A 401 on a download: that origin does not serve the Helper to this computer. Use the origin this page names in the command.
start_failed: the Helper exited as it started. The end of~/.superbot/agent-helper.logsays why.link_timeoutorlink_unavailable: run the command again.unsupported_osorunsupported_arch: the Helper for agent computers ships for Linux on x86_64 and arm64 only.