---
title: "Build a Telegram AI Bot Without BotFather, Docker, or a VPS"
description: "Stop wrestling with BotFather tokens, VPS configs, and API keys. Host a production Telegram AI bot in ~2 minutes with AgentRoost — LLM credits included."
canonical: https://agentroost.app/en/blog/telegram-ai-bot-no-botfather-docker-vps
date: 2026-05-28T20:00:00Z
---

[Canonical URL](https://agentroost.app/en/blog/telegram-ai-bot-no-botfather-docker-vps)

# Build a Telegram AI Bot Without BotFather, Docker, or a VPS

Every tutorial on this topic starts the same way:

1. Open BotFather, run `/newbot`, copy your token somewhere safe.
2. Spin up a VPS (pick a region, provision SSH keys, harden the box).
3. Write the bot code — or clone someone's Python starter.
4. Install dependencies, set up a virtual environment.
5. Configure `systemd` or a Docker container so the process restarts on crash.
6. Point a domain at the server, set up SSL so Telegram's webhook API accepts the connection.
7. Wire in an LLM API key (OpenAI, Anthropic, whoever) — and keep paying that bill separately.
8. Monitor it. Redeploy whenever the bot stops responding at 2 AM.

If that list sounds like a weekend project that turned into a month of maintenance, you're not wrong. This post is for everyone who has tried it, gotten through step three, and abandoned the VPS because step six ate them alive — or who looked at the list and decided there had to be a better way.

There is.

---

## What Actually Has to Happen for a Telegram Bot to Work

Understanding where the complexity lives helps explain why the DIY path is so friction-heavy.

**The Telegram side.** Telegram gives every bot a long-poll or webhook interface. Webhook mode (what you want for responsiveness) requires a public HTTPS endpoint with a valid certificate. Self-signed certs are allowed but fiddly. Let's Encrypt works but needs renewal automation.

**The runtime.** Your bot process has to run continuously. It can't be a script you kick off from your laptop — as soon as you close the terminal, the bot goes silent. Production means a process supervisor (`systemd`, `pm2`, Docker, `supervisord`) and a restart policy.

**The LLM connection.** If you want the bot to actually reason — summarize messages, answer questions, research a topic — you need an LLM. That means an API key from a provider, credit management, and code that assembles the right prompt and parses the response.

**Memory.** Vanilla Telegram bots are stateless. Every message is a fresh conversation. Giving the bot context across sessions requires a database, a session store, or at minimum a flat file with some locking logic.

Each of these is solvable. Together they form a stack that takes real effort to assemble and real ongoing effort to keep healthy.

---

## The Two Paths on AgentRoost

AgentRoost offers two frameworks that collapse this stack into a provisioning wizard.

### OpenClaw — Your Private Always-On Chat Bot

OpenClaw is an always-on personal AI assistant that talks to you exclusively through a private Telegram bot. The key word is *private* — it's your bot, your conversation history, your files. Nobody else has access.

When you provision an OpenClaw workspace:

- AgentRoost registers and configures a Telegram bot on your behalf. You never open BotFather.
- The bot is wired to a managed runtime that stays up 24/7. No VPS, no `systemd` unit, no restart scripts.
- LLM credits are included in your subscription — the AI replies work on day one without a single API key. Pick from 350+ models and switch anytime in the dashboard.
- Conversation state and uploaded files persist across sessions. The bot remembers what you told it yesterday.

The only thing you do on the Telegram side is open the AgentRoost manager bot, `/start` your agent, and start chatting. That's it.

**Good for:** personal productivity assistant, private research helper, daily briefing bot, monitoring and notification summaries, inbox triage.

### Hermes — Persistent Agent with Scheduling + Memory

Hermes is the more structured framework. It's also Telegram-native (auto-provisioned bot) but adds scheduled tasks, long-term memory across days, and the ability to run research or data-gathering jobs on a timer.

Think: a bot that checks something every morning and DMs you a summary. Or a monitoring agent that alerts you when a condition changes. Or a research assistant that accumulates notes over weeks and can recall context from three conversations ago.

Both frameworks eliminate the same pain points: no BotFather, no VPS, no SSL, no separate LLM billing. The choice between them is about what you want the bot to *do*.

---

## The Cost Reality of DIY vs. AgentRoost

Let's put real numbers to the DIY path.

| Cost item | DIY self-hosted | AgentRoost |
|---|---|---|
| VPS (smallest usable) | ~$6/mo | included |
| SSL cert / renewal tooling | $0 (LE) + your time | included |
| LLM API credits | $5-30/mo (varies heavily) | included |
| Your setup time | 4-8 hours initially | ~2 minutes |
| Ongoing maintenance | hours/month (patches, crashes, key rotation) | zero |
| **Total** | **~$11-36/mo + ongoing time** | **from $19.99/mo, cancel anytime** |

The DIY path looks cheaper on the surface — until you count the hours. The "cheap" VPS at $6/mo ends up costing real money once you factor in LLM credits and your own time on restarts and upgrades. AgentRoost's all-in price includes the server *and* the AI credits, with a 14-day money-back guarantee if it doesn't fit your workflow.

---

## How to Get a Telegram AI Bot Running on AgentRoost

Here's the actual journey — no terminal required.

1. **Sign up** at [agentroost.app](/en/agents) with email/password, Google, Microsoft, or Discord.
2. **Pick your framework.** For a personal assistant bot, choose **OpenClaw**. For a scheduled/research agent, choose **Hermes**.
3. **Name your workspace** — this is just a label for your dashboard.
4. **Connect Telegram.** Open the AgentRoost manager bot that appears in your dashboard and send `/start`. Your agent bot is live.
5. **Start the conversation.** Send a message to your new bot. The AI response comes back in seconds, with credits already fueling it.

Total time: about two minutes, and that's including the signup form.

From there you can switch the underlying LLM model in the dashboard (GPT-4o, Claude, Mistral, Llama — 350+ options), upload files for the bot to reference, and configure the bot's system prompt to match your use case.

[See OpenClaw details and pricing →](/en/agents/openclaw)

[Compare all plans →](/en/pricing)

---

## Things You Don't Have to Do (Ever)

Since it's easy to miss what's been removed:

- No BotFather. You will never paste a bot token into a config file.
- No VPS provisioning. No cloud console, no SSH key management, no region selection.
- No SSL setup. The HTTPS connection to Telegram's API is handled for you.
- No process supervisor. The runtime restarts itself; you don't write `systemd` units.
- No LLM account. No API key, no billing dashboard for a second service, no usage caps to watch.
- No Docker. No `Dockerfile`, no `docker run`, no container debugging.

If you *want* to understand how these pieces fit together — great, that knowledge is valuable. But wanting a working Telegram AI bot doesn't obligate you to become a DevOps engineer.

---

## One Genuine Limitation to Be Aware Of

AgentRoost is a managed platform. You don't get root access to the underlying server, and the bot runtime is pre-built. If you need deeply custom behavior — a bot that integrates with private internal APIs behind a corporate VPN, or one that requires arbitrary system-level dependencies — you may hit the edges of what the platform offers.

For the majority of personal assistant, research, notification, and productivity use cases, the included runtime covers everything you need. The [Hermes framework page](/en/agents/hermes) and the [OpenClaw page](/en/agents/openclaw) list what each one supports in detail.

---

## TL;DR

Setting up a Telegram AI bot the DIY way means BotFather, a VPS, SSL, a process supervisor, and a separate LLM API key — most people get halfway through and stop. AgentRoost's OpenClaw and Hermes frameworks replace all of that with a provisioning wizard that has you chatting with a live, memory-enabled AI bot in about two minutes. LLM credits are included in the subscription price, the bot runs 24/7 on managed infrastructure, and there's nothing to maintain.

[Get started →](/en/agents/openclaw)
