---
title: "Deploy nullclaw-railway-template"
description: "Deploy Nullclaw with one click on Railway"
category: "Other"
url: https://railway.com/deploy/nullclaw-railway-template
---

# Deploy nullclaw-railway-template

Deploy Nullclaw with one click on Railway

**[Deploy nullclaw-railway-template on Railway](https://railway.com/template/nullclaw-railway-template)**

- **Creator:** Codetitlan
- **Category:** Other
- **Total deploys:** 3

## Template content

### nullclaw-railway-template

- **Source:** codetitlan/nullclaw-railway-template

## Documentation

# Deploy and Host nullclaw-railway-template on Railway

A Docker-based deployment template for NullClaw — an AI agent framework supporting Claude, GPT, Llama, and other LLMs via Telegram, Discord, Slack, IRC, and CLI. Deploy to Railway.app or run locally with Docker in minutes.

## About Hosting nullclaw-railway-template

Hosting nullclaw-railway-template requires deploying a Docker container that runs the NullClaw binary. The template uses a multi-stage build to compile NullClaw from its GitHub repository with Zig. At runtime, `entrypoint.sh` generates a JSON configuration file from environment variables. The service exposes HTTP endpoints for health checks (`/health`) and API access on port 3000. You'll need at least one LLM provider API key — OpenRouter is recommended for its 100+ model support.

## Common Use Cases

- Deploy AI agents for personal assistance accessible via Telegram, Discord, or Slack
- Build intelligent chatbots with Claude, GPT, or Llama models
- Create CLI-based AI assistants for terminal workflows
- Run autonomous agents with configurable autonomy levels and sandbox isolation

## Dependencies for nullclaw-railway-template Hosting

- Docker and Docker Compose
- At least one LLM provider API key (OpenRouter, Anthropic, OpenAI, Groq, xAI, DeepSeek, Mistral, or Ollama)

### Deployment Dependencies

- [Railway.app Account](https://railway.app/)
- [Railway CLI](https://docs.railway.app/guides/cli) (optional)
- [NullClaw Documentation](https://github.com/nullclaw/nullclaw/blob/main/docs/en/configuration.md)
- [OpenRouter Models](https://openrouter.ai/models)

### Implementation Details

Railway uses `railway.json` for deployment configuration:
- Builder: Dockerfile
- Health check: `GET /health`
- Restart policy: ON_FAILURE (max 10 retries)
- Port: 3000 (Railway convention via `PORT` env var)

Required environment variables for deployment:
```bash
OPENROUTER_API_KEY=sk-or-v1-xxxxx  # At least one provider required
PORT=3000
DEFAULT_MODEL=openrouter/anthropic/claude-sonnet-4
```

## Why Deploy nullclaw-railway-template 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-railway-template 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.


## Similar templates

- [Rocky Linux](https://railway.com/deploy/rocky-linux) — Hosted Rocky Linux 9 workspace with SSH and persistent storage. 🚀
- [Foundry Virtual Tabletop](https://railway.com/deploy/X5tR6G) — A Self-Hosted & Modern Roleplaying Platform
- [Letta Code Remote](https://railway.com/deploy/letta-code-remote) — Run a Letta Code agent 24/7. No inbound ports, just deploy.

Open this page in a browser: https://railway.com/deploy/nullclaw-railway-template
