DEV Community

Cover image for Deploy Your Personal AI in Under 5 Minutes: Nanobot The Ultra Lightweight OpenClaw Alternative
Raka Widhi Antoro
Raka Widhi Antoro

Posted on

Deploy Your Personal AI in Under 5 Minutes: Nanobot The Ultra Lightweight OpenClaw Alternative

If you’ve tried setting up OpenClaw (the popular self hosted AI assistant), you probably felt the pain: hundred of thousand of lines of code, complex dependencies, and a setup that take 30+ minutes.

Meet Nanobot, the “ultra lightweight OpenClaw” that does almost everything OpenClaw can do, but in just ~4,000 lines of clean Python.

You can now have a fully working personal AI Telegram bot running in under 5 minutes.

Why Nanobot is a Game Changer

  • 99% smaller than OpenClaw (3.8k–4k lines vs 430k+ lines)
  • Blazing fast startup and extremely low resource usage
  • Super clean & readable code (perfect for learning or extending)
  • Full support for Telegram, web search (Brave), OpenRouter, Anthropic, OpenAI, etc.
  • Persistent memory, tool calling, scheduled tasks. Everything you need in a personal AI companion

It’s quickly becoming the go to lightweight alternative (already 20k+ star on GitHub).

The Easiest Setup in the AI Agent World

No Docker headaches. No manual systemd service. No fighting with dependencies.

Just follow these 4 simple step:

1. Clone the Easy Installer

git clone https://github.com/zororaka00/easy-nanobot.git ~/easy-nanobot
cd ~/easy-nanobot
Enter fullscreen mode Exit fullscreen mode

2. Prepare Your Config (take 60 seconds)

cp config.json.example config.json
nano config.json
Enter fullscreen mode Exit fullscreen mode

Fill in:

  • Your OpenRouter API key
  • Your Brave Search API key (for web search tool)
  • Your Telegram Bot Token (@botfather)
  • Your Telegram User ID (in allowFrom)

3. Run the Magic Script (one command)

chmod +x *.sh
bash setup-nanobot.sh
Enter fullscreen mode Exit fullscreen mode

What happen automatically:

  • System update + install uv, tmux, etc.
  • Install latest nanobot-ai via uv
  • Run nanobot onboard
  • Merge your config automatically
  • Start the gateway in a detached tmux session (nanobot-gateway)

4. Done 🎉

Open Telegram → talk to your bot. It’s alive.

Upgrading Later? Still One Command

cd ~/easy-nanobot
bash upgrade-nanobot.sh
Enter fullscreen mode Exit fullscreen mode

It stop the old version, pull the latest Nanobot, and restart everything.

Nanobot prove that powerful AI agent don’t need to be bloated. Combined with the easy-nanobot installer, it’s now one of the most accessible self hosted AI project in 2026.

Whether you’re a developer who want full control, a privacy enthusiast, or just someone who want their own “Claude in Telegram” without the hassle, this is currently the best solution.

Links:

Top comments (0)