Railway

Deploy nullclaw (OpenClaw compatible)

Fastest, smallest, and fully autonomous AI assistant infrastructure.

Deploy nullclaw (OpenClaw compatible)

Just deployed

/home/nullclaw/

Deploy and Host NullClaw on Railway

NullClaw is an AI agent gateway compatible with the OpenClaw. Full-featured: 22+ providers, 11 channels, hybrid memory, tools, voice. In a 678 KB binary with ~1 MB peak memory usage.

About Hosting NullClaw

NullClaw runs as a persistent gateway that routes incoming messages through your LLM provider of choice. It's a single static binary with no runtime or framework overhead — starts in under 8 ms and runs comfortably on Railway's smallest instances. All you need is a volume for SQLite persistence and an API key from your provider.

Common Use Cases

  • Lightweight OpenClaw-compatible agent gateway as a drop-in alternative to heavier runtimes
  • Privacy-first AI agent backend for resource-constrained environments

Dependencies for NullClaw Hosting

  • An API key from a supported LLM provider (e.g. OpenRouter, Anthropic, OpenAI)

Deployment Dependencies

Implementation Details

NullClaw reads config from ~/.nullclaw/config.json. This template's entrypoint seeds that file from environment variables on first boot. If the file already exists on the volume, it is not overwritten.

VariableRequiredDefaultDescription
NULLCLAW_API_KEYAPI key for your LLM provider
NULLCLAW_PROVIDERopenrouterProvider ID (openrouter, anthropic, openai, groq, mistral, deepseek, gemini, ollama)
NULLCLAW_MODELanthropic/claude-sonnet-4Model to use for inference
NULLCLAW_TEMPERATURE0.7Inference temperature
PORT8080Must match Railway's networking config
NULLCLAW_MEMORY_BACKENDsqliteMemory backend
NULLCLAW_MEMORY_AUTO_SAVEtrueAuto-save memory
NULLCLAW_EMBEDDING_PROVIDERopenaiEmbedding provider for vector memory
NULLCLAW_VECTOR_WEIGHT0.7Vector search weight
NULLCLAW_KEYWORD_WEIGHT0.3Keyword search weight
NULLCLAW_AUTONOMY_LEVELsupervisedAutonomy level (supervised, full)
NULLCLAW_WORKSPACE_ONLYtrueRestrict agent to workspace
NULLCLAW_MAX_ACTIONS_PER_HOUR20Action rate limit
NULLCLAW_MAX_COST_PER_DAY_CENTS500Daily cost cap in cents
NULLCLAW_SANDBOX_BACKENDautoSandbox backend
NULLCLAW_MAX_MEMORY_MB512Max memory for sandboxed processes
NULLCLAW_MAX_CPU_PERCENT80Max CPU for sandboxed processes
NULLCLAW_AUDIT_ENABLEDtrueEnable audit logging
NULLCLAW_AUDIT_RETENTION_DAYS90Audit log retention in days
NULLCLAW_TUNNEL_PROVIDERnoneTunnel provider
NULLCLAW_IDENTITY_FORMATopenclawIdentity format
NULLCLAW_SECRETS_ENCRYPTtrueEncrypt secrets at rest
NULLCLAW_HEARTBEAT_ENABLEDfalseEnable heartbeat
NULLCLAW_HEARTBEAT_INTERVAL30Heartbeat interval in minutes

Why Deploy NullClaw 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 NullClaw 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
N8N Main + Worker
Deploy and Host N8N with Inactive worker.

jakemerson
View Template
Postgres Backup
Cron-based PostgreSQL backup to bucket storage

Railway Templates
View Template
Prefect [Updated Feb ’26]
Prefect [Feb ’26] (ETL & Automation alternative to Airflow) Self Host

shinyduo