Deploy ZeroClaw

Autonomous AI assistant in Rust with web dashboard, memory and webhook

Deploy ZeroClaw

/zeroclaw-data

Deploy and Host ZeroClaw on Railway

ZeroClaw is an open-source (Apache-2.0) autonomous AI personal-assistant runtime written in Rust. One small binary runs an agent with memory, tools, scheduled jobs and chat channels, plus a web dashboard and an HTTP/WebSocket gateway. You bring an API key for any OpenAI-compatible model. This template deploys ZeroClaw v0.9.0.

About Hosting ZeroClaw

ZeroClaw runs as one long-lived daemon that keeps its config, memory database and workspace on disk. This template builds the official ghcr.io/zeroclaw-labs/zeroclaw Debian image (pinned by version and digest) from a small wrapper repository. The gateway listens only inside the container; a Caddy front on Railway's port asks for a generated dashboard password, so nobody can spend your API key through an open URL. All state lives on a Railway volume and survives redeploys. Your LLM key, base URL and model come from Railway variables at every start. It idles at about 30 MB of RAM.

Common Use Cases

  • A private, always-on AI assistant you chat with from the browser dashboard
  • An agent behind a webhook that other tools, scripts or automations can call
  • Connecting the assistant to chat channels (Telegram, Discord, Slack and others) from the dashboard

Dependencies for ZeroClaw Hosting

  • An API key for an OpenAI-compatible LLM provider (OpenAI, OpenRouter, Groq, DeepSeek, Together and others)
  • A Railway volume for config, memory and workspace (included)

Deployment Dependencies

Implementation Details

Services

ServiceWhat it does
ZeroClaw (public)The ZeroClaw daemon (gateway, dashboard, agent, scheduler, channels) on loopback, behind a Caddy password front on Railway's port. Health check /health (no password). Volume at /zeroclaw-data holds the config, memory and workspace.

After deploying

  1. Enter LLM_API_KEY when you deploy. This is the only prompt.
  2. Open the service's public URL. Log in as admin with the password in the DASHBOARD_PASSWORD variable (service, Variables tab).
  3. Chat with the assistant in the dashboard, or call the webhook:
curl -u admin:YOUR-DASHBOARD-PASSWORD -H 'Content-Type: application/json' \
  -d '{"message":"Hello"}' https://YOUR-DOMAIN/webhook
  1. To use another provider, change LLM_BASE_URL and LLM_MODEL, for example https://openrouter.ai/api/v1 with openai/gpt-4.1-mini, or https://api.groq.com/openai/v1 with llama-3.3-70b-versatile. Other settings (channels, tools, schedules) are edited in the dashboard; restart the service after saving config.

Variables

VariableDefaultWhat it is
LLM_API_KEYyou enter itAPI key for your OpenAI-compatible LLM provider.
LLM_BASE_URLhttps://api.openai.com/v1Base URL of the OpenAI-compatible API.
LLM_MODELgpt-4.1-miniModel name sent to that API.
DASHBOARD_USERNAMEadminLogin name for the dashboard, API and webhook.
DASHBOARD_PASSWORDgenerated (24 characters)Password for the dashboard, API and webhook. The service refuses to start without one.
PORT8080Port of the password front that Railway routes to.

Resources. Tested with 0.5 GB RAM and 1 vCPU: ZeroClaw and Caddy together used about 30 MB. If either process stops unexpectedly the container exits non-zero and Railway restarts it.

Updates. Railway shows an update notice when this template's repository pins a new ZeroClaw version. Read the repository's CHANGELOG.md first, then apply it; your config and memory stay on the volume.

Left out. Docker-based sandboxed shell execution (needs Docker-in-Docker, which Railway does not offer) and local models such as Ollama (no GPU on Railway). The agent runs in the supervised risk profile with only low-risk tools auto-approved.

Why Deploy ZeroClaw 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 ZeroClaw 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.


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