OpenClaw Zero to One
Setup Guide
Run your own always-on AI agent on a private server โ for as little as $9.99/month. This guide covers the full stack: VPS provisioning, Tailscale security, OpenClaw install, Telegram integration, and hatching your first Claw.
OpenClaw is an always-on AI agent that runs on your own server, 24/7 โ even while you sleep. Think of it as Jarvis from Iron Man: it monitors channels, executes tasks, remembers your preferences, and can orchestrate sub-agents to do complex work autonomously.
Unlike Claude.ai or ChatGPT sessions, OpenClaw persists between conversations, builds long-term memory about you, and proactively does things without you asking.
The second you spin up a VPS, bots immediately start probing it. Tailscale creates a private network overlay that makes your server invisible to the public internet โ only your devices can reach it.
Think of it as: your VPS moves from a public street address to a gated community where only you know the address.
The gateway is a message bus that runs 24/7 on your server. Everything flows through it:
- Inputs: Messages from you (Telegram/Discord/Slack) + messages from sub-agents
- Queue: Incoming messages wait in a queue
- Main Agent: Picks up messages, takes action, orchestrates sub-agents
- Outputs: Replies back to you + instructions to sub-agents
This is what enables true agent collaboration โ your Claw can spin up a sub-agent, they communicate through the gateway, and you get a final result.
| Concept | What it is | Example |
|---|---|---|
| Skill | Markdown file = instructions for a specific workflow | GitHub PR flow, Notion writes, image generation |
| Hook | Code that fires when a specific event occurs | boot.md (runs on startup), command logger (records all actions) |
| Term | What it means |
|---|---|
| Tailscale | Private network overlay โ makes VPS invisible to the public internet. Only your devices connect. |
| Gateway | The central message bus. Runs 24/7. Routes all messages between you, the Claw, and sub-agents. |
| Skills | Markdown instruction files for specific workflows (think: YouTube tutorial for your agent). |
| Hooks | Event-triggered code that fires when things happen (boot, command run, etc.). |
| Hatching | First-run onboarding. The Claw wakes up and learns who you are. |
| BotFather | Telegram's official bot for creating new Telegram bots โ used to get your bot token. |
ssh user@<tailscale-ip>openclaw onboard โ select Quick Startopenclaw onboard
/newbot โ give it a display name (e.g. Ron)bot (e.g. RonJohnbot) โ most short names are takenboot.md (runs on startup) and command logger (records all actions for memory)openclaw hatch in your terminal| Model | Use Case | Trade-off |
|---|---|---|
| GPT-4.5.3 Codex | Default for most use cases | High rate limits, cost-effective, no subscription bypass needed |
| Claude Opus (Anthropic API) | Complex agentic reasoning | Best quality, but expensive โ Claude Code sub token won't work here |
The best starting point: personal assistant for email + Slack + task management.
- Monitor your Slack channels and email inbox
- Keep a self-updating task tracker
- Message you daily with your to-dos and priorities
- When it breaks, ask why โ the amount it can self-correct will surprise you
Once this runs smoothly, expand to custom workflows specific to your work โ GitHub PRs, content creation, research, client management, etc.
openclaw onboardopenclaw hatch