Set up your own
One command on your Mac creates the agent and its workshop as Sprites in your Fly.io account, connects your keys through hidden prompts, and prints a pairing code.
curl -fsSL https://rusuban.xyz/install.sh | shWhat you need
- A Mac with Node.js 22 or newer,
curlandtar. - A Fly.io account with Sprites. The installer adds the
spriteCLI if it's missing and opens Fly's sign-in. - One AI key: OpenAI, Anthropic, Gemini or Ollama Cloud. Everything else is optional.
What the command does
install.sh only runs over HTTPS. It reads releases/latest.json from this site, downloads the release, checks its SHA-256 (and refuses to run if it doesn't match), unpacks it into ~/.rusuban/release/current, and starts the installer with your terminal attached. Flags pass through: sh -s -- --uninstall.
The twelve steps
Each asks in the terminal; Enter skips anything you don't have yet, and running it again only redoes what's missing.
Sprites CLI and sign-in. Installs sprite with the official script if you agree, then sprite login in your browser.
Agent and workshop Sprites. Creates rusuban-agent and rusuban-workshop with their labels, and makes the agent's URL public (every write still needs a device token).
Your API keys. The brain first (1 Ollama Cloud, 2 Google Gemini, 3 Anthropic, 4 OpenAI), then each optional service. Each key is pasted into a hidden prompt and goes straight into a Sprites connector; keys that can be tested are, with three tries.
Connectors you approve in the browser. GitHub (code tasks), Box (evidence, ledger, Rewind) and Slack (your mentions), each with "Connect … now?".
Google accounts through Composio. A Google sign-in link each for Gmail, Calendar and Drive; it waits up to 10 minutes for each.
Memory indexes in Pinecone. Creates the memory index and a second one the day-1 probe compares it with.
Phone calls. Shows the two steps you do yourself: import your Twilio number in ElevenLabs, and switch on the countries you'll call in Twilio's geo permissions.
Wake-up every 5 minutes. Asks for your Upstash QStash token (hidden, never saved), puts only the signing keys on the Sprite, and creates the 5-minute schedule.
Deploy the agent. Pushes the agent and its migrations, installs Linux builds of its dependencies on the Sprite, registers the service, saves a checkpoint, and calls /health.
Workshop. Pushes the workshop, sets a fresh signing secret on both Sprites, sets and reads back the workshop's outbound allowlist, and starts it.
Day-1 probe. Checks every connector from inside the Sprite and prints pass, warn, fail and skip counts.
Pair your first device. Prints the agent's address, a six-digit code (once, for 10 minutes) and a rusuban://connect link.
Keys and what they cost
| Key | Turns on | Their pricing, as the installer states it |
|---|---|---|
| AI service (one) | the brain | Ollama Cloud Pro $20/month with $60 of usage; Gemini free tier; Anthropic and OpenAI pay per use (a subscription doesn't count) |
| TypeSafe | sorting, money checks | fractions of a cent per item |
| Pinecone | memory | free Starter plan |
| Composio | Gmail, Calendar, Drive | free up to 10,000 actions a month |
| AgentMail | Rusuban's own address | free (3 inboxes) |
| ElevenLabs | phone calls | free plan has 15 call minutes |
| Browserbase | web errands | free plan has 1 browser hour |
| Firecrawl, Exa | reading and searching the web | your plan; Exa has free starter credits |
| QStash | the 5-minute tick | 288 calls a day of the free 1,000 |
Where things are kept
~/.rusuban/state.json holds names and ids only (the agent's address, the AI service, Composio account ids, Pinecone index names, allowed web app origins, the schedule id, the Sprite names), no secrets. A key passes through a private temporary file on its way to the Sprites API and is deleted right after, even on Ctrl+C. Provider API keys never sit on the Sprites. What does: QStash's signing keys (they can only verify a tick); the secret the agent and the workshop share to sign jobs (on both Sprites); the agent's own web-push key and Rewind signing key, in its database; and, if you sign Codex in with your ChatGPT plan, that sign-in on the workshop Sprite.
Flags
| Flag | |
|---|---|
--name=rusuban-<x> | a second install in the same Fly.io org: its own Sprites, state file and schedule |
--own-keys | with --name, ask for separate keys instead of sharing the first install's |
--no-workshop | no workshop Sprite; code tasks and mini-apps stay off |
--step=<name> | run one step: preflight, sprites, connectors, oauth, composio, pinecone, elevenlabs, qstash, deploy, workshop, probe, pair |
--replace=<provider> | rotate a key on a Custom API connector |
--check=composio | test a Composio key without saving anything |
--uninstall | remove this install |
A second agent
Run with --name=rusuban-<x>. It asks once: Use the keys and accounts your main agent (rusuban-agent) already has? Say yes and its Sprite also carries the main agent's label, so it uses the same connectors, Composio accounts, Pinecone indexes and GitHub sign-in with nothing to type (pick its repos in Jobs → Code). --own-keys asks for its own instead.
Uninstall
curl -fsSL https://rusuban.xyz/install.sh | sh -s -- --uninstallIt asks you to type the install's name, then:
- removes the 5-minute schedule, if you paste the QStash token and it still points at this agent;
- deletes the connectors only this install uses if you say yes, or else locks them so no Sprite can use them;
- destroys the Sprites and deletes the state file.
It leaves your Pinecone indexes, Composio accounts, Box files, AgentMail inbox, ElevenLabs setup and ~/.rusuban/release alone.
Architecture
One Hono service and its worker on a Sprite with SQLite, a sandboxed workshop Sprite, an Expo app for web, iPhone and Android, and a static site, all in one repo.
Agent HTTP API
The agent's own API, the one the apps use: pair once for a device token, then JSON over HTTPS and one live event stream.