---
title: "Deploy nanobot"
description: "🐈 nanobot: The Ultra-Lightweight OpenClaw"
category: "AI/ML"
url: https://railway.com/deploy/nanobot-2
---

# Deploy nanobot

🐈 nanobot: The Ultra-Lightweight OpenClaw

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

- **Creator:** ⓁⓅ's Projects
- **Category:** AI/ML
- **Total deploys:** 6

## Template content

### nanobot https://images.techulus.cloud/v1/crop/0/0/430/480?url=https://raw.githubusercontent.com/HKUDS/nanobot/refs/heads/main/nanobot_logo.png

- **Source:** Lima-e-Silva/nanobot

## Documentation

# Deploy and Host nanobot on Railway

nanobot is an ultra-lightweight personal AI assistant inspired by OpenClaw, delivering core agent functionality in just ~4,000 lines of code — 99% smaller than Clawdbot's 430k+ lines.

## About Hosting nanobot

This template provides a straightforward setup for nanobot with data persistence, using telegram as channel (you can change it by editing the config.json file)

## Common Use Cases

- Create and customize your AI agent
- Create custom skills or import from [ClawHub](https://clawhub.ai)
- Contact the agent from multiples channels (like Telegram, Discord, etc)

## Dependencies for nanobot Hosting

- [nanobot](https://github.com/HKUDS/nanobot)

### Deployment Dependencies

- [nanobot](https://github.com/HKUDS/nanobot)

You also need to set these environment variables in your Railway project:

- `LLM_PROVIDER`: Which LLM provider to use (e.g., `openai`, `anthropic`, `openrouter`, `deepseek`)
- `LLM_MODEL`: Which model to use (e.g., `gpt-5.1`, `moonshotai/kimi-k2.5`, `anthropic/claude-opus-4-5`)
- `API_KEY`: Your API key for the chosen provider
- `TELEGRAM_BOT_TOKEN`: Your bot's token generated in Telegram's BotFather
- `TELEGRAM_ID`: Your Telegram account's ID

## Why Deploy nanobot 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 nanobot 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

- [Chat Chat](https://railway.com/deploy/-WWW5r) — Chat Chat, your own unified chat and search to AI platform.
- [stella](https://railway.com/deploy/stella) — Self-host stella with web, API, Postgres, Redis, and object storage.
- [Hermes Agent | OpenClaw Alternative with Dashboard](https://railway.com/deploy/hermes-agent-or-openclaw-alternative-wit) — Self-Hosted Hermes AI Agent for Telegram, Discord & Slack

Open this page in a browser: https://railway.com/deploy/nanobot-2
