Deploy Rakazo

Grok Bot alternative for persistent AI teammates that do real work

Deploy Rakazo

/var/lib/postgresql/data

Just deployed

/data

Deploy and Host Rakazo on Railway

Rakazo is an open-source, self-hosted platform for persistent AI teammates. Each bot keeps its own memory, routines, apps, and optional sandboxed computer, and works from the web, desktop, or mobile clients. Connect your own model provider and keep credentials and data on infrastructure you control.

About Hosting Rakazo

Hosting Rakazo on Railway runs the API, background worker, and web client in one service backed by Railway-managed PostgreSQL. A persistent volume keeps bot workspaces, uploads, and artifacts across redeploys. The template uses SANDBOX_PROVIDER=e2b: it boots with no key at all — chat, memory, routines, and connected apps work — and adding an E2B key enables bot computers without any Railway token. A Railway-token alternative and other managed providers are supported too. The first start applies migrations, provisions a restricted runtime role, and creates the initial owner account. Railway supplies HTTPS and the domain, while the API stays on loopback behind the web proxy.

Common Use Cases

  • Run a personal AI teammate that triages email, drafts replies, files issues, and works in a browser.
  • Schedule recurring routines such as daily reports, inbox summaries, and monitoring checks.
  • Give several bots a shared memory and let them collaborate in group chats.
  • Research and collect data with a sandboxed desktop, terminal, files, and browser.
  • Replace per-task automation subscriptions with your own model keys and infrastructure.

Dependencies for Rakazo Hosting

  • Official Rakazo application image ghcr.io/elie222/rakazo/app:v0.14.0, extended with a process supervisor and start script.
  • One Railway-managed PostgreSQL database (PostgreSQL 16 or newer) for accounts, chats, memory, and the job queue.
  • One persistent volume at /data for bot workspaces, uploads, and local artifacts.
  • A model provider account or key (OpenRouter, Anthropic, OpenAI, and others), connected after sign-in.
  • Railway usage for the app, database, and volume, plus model usage billed by your provider.
  • Optional: a sandbox provider for bot computers — an E2B_API_KEY for the default e2b provider (the product boots without it), Novita, Daytona, CreateOS, Boat, Boxd, or Instabox keys, or a Railway workspace token if you prefer Railway as the provider.
  • Optional integrations: SMTP or Resend for email, Google or Apple OAuth, Slack, Telegram, WhatsApp, and MCP servers.

Implementation Details

The service runs three processes: the Hono API on loopback port 3100, the Graphile worker, and the Vite web preview on port 5173. The start script applies migrations with the database owner, creates the restricted rakazo_app login used by the application, bootstraps the owner account, and then supervises all three processes; if any process exits, Railway restarts the service. Public registration is disabled on every start, and only the operator account is created. Health checks probe the web port at /; the start script waits for the API's /ready endpoint before exposing the web client. Bot computers are off unless you configure a sandbox provider; with SANDBOX_PROVIDER=railway they live in a separate Railway environment named from a hash of the project, service, and application environment, and idle computers stop after ten minutes by default. Run one replica and keep service sleeping disabled, because all processes share the same volume.

Comparison with Alternatives

✅ = built in or available directly, ❌ = not available or requires a workaround.

CapabilityThis template (Rakazo)Zapier Central / MakeGrok Bot
Hosting modelSelf-hosted on RailwayVendor cloud onlyVendor cloud only
Source licenseApache-2.0ProprietaryProprietary
BillingRailway usage plus your model providerPer-task or per-operation subscriptionVendor subscription
Model choiceYour own providers or a local OpenAI-compatible serverVendor-managed modelsxAI models
Persistent teammate memory and routines✅❌ (workflow data only)✅
Sandboxed computer per bot✅ optional — needs a sandbox provider (Railway token or a managed provider key)❌✅
Web, desktop, and mobile clients✅WebVendor clients
Credentials and data stay on your infrastructure✅❌❌

Rakazo is also a self-hosted alternative to OpenClaw and Hermes Agent. Those are agent runtimes and gateways; Rakazo adds a full teammate product with a per-bot computer, memory, routines, and clients for every device.

Security Considerations

  • RAILWAY_API_TOKEN is only needed when you opt into SANDBOX_PROVIDER=railway for bot computers. It can create environments and sandboxes: use a dedicated workspace and the narrowest token that works; never store it in bot files, prompts, or model connection settings. Provider keys such as E2B_API_KEY are stored like any other secret and should be rotated if exposed.
  • Bot computers run in a separate Railway environment. Do not add production services, databases, or shared secrets to that environment.
  • The generated owner password is visible in the service variables. Change it after the first sign-in. Changing the variable later does not reset an existing account.
  • Keep ENCRYPTION_KEY and the database password stable across redeploys. Changing the encryption key makes stored credentials and encrypted content unreadable.
  • Public registration is closed on every start. This template is intended for a personal or small-team deployment with one operator account.
  • PostgreSQL is private and only the web port is published. The API listens on loopback inside the service.
  • Run a single replica with sleeping disabled. Multiple replicas would run duplicate workers against one volume and the same job queue.
  • Back up PostgreSQL, the /data volume, and ENCRYPTION_KEY together, and test restoring them as a set. Railway volume persistence is not a backup.
  • Content encryption is on by default. Keep it enabled unless you have a specific reason to store content readable at rest.

Why Deploy Rakazo on Railway?

Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.

By deploying Rakazo on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.

Railway also supplies the managed PostgreSQL database, persistent storage, TLS, and the isolated sandbox environment that Rakazo uses for bot computers, so there is no Docker host to maintain and no separate sandbox service to pay for.


Template Content

More templates in this category

View Template
Chat Chat
Chat Chat, your own unified chat and search to AI platform.

okisdev
117
View Template
Weaviate
Vector database with hybrid search and an API key-protected API

GitHub Locker
1
View Template
Möbius Personal AI OS
Self-hosted AI agent that builds and runs apps for you, with memory.

Tracklayer
1