---
id: 9022
lang: en
title: "A Telegram AI Bot in One Evening: The Config"
published_at: "2026-05-02 22:12:57"
source_name: "Habr AI"
source_url: "https://habr.com/ru/articles/1009862/?utm_campaign=1009862&utm_source=habrahabr&utm_medium=rss"
canonical_url: "https://news.hamidun.com/en/news/9022"
categories: ["autonomous"]
publisher: "AI News by Jemal Hamidun (news.hamidun.com)"
---

# A Telegram AI Bot in One Evening: The Config

> **Краткая суть (BLUF):** OpenClaw starts fast: after `openclaw onboard`, the Gateway is running and the bot already answers in Telegram. But the gap between a demo and a production configuration is wide. This guide walks through openclaw.json section by section: how workspace files are structured and what actually ends up in the agent's context, how to enable heartbeat without wasting tokens, and how to distribute several agents across chats and topics.  The goal is a setup you can bring up in a single evening.

You can bring up an AI bot in Telegram in a single evening: the `openclaw onboard` command configures the Gateway and launches the first agent.

### How do you build an AI bot in Telegram in one evening?
The `openclaw onboard` command configures the Gateway and launches the first bot. For production, you need to understand the openclaw.json configuration and the multi-agent system.

### What is openclaw.json?
It is the central control file for the entire system. The config governs how the whole configuration is organized and how the multi-agent architecture works.

---
- **Первоисточник:** [Habr AI](https://habr.com/ru/articles/1009862/?utm_campaign=1009862&utm_source=habrahabr&utm_medium=rss)
- **Каноническая ссылка:** https://news.hamidun.com/en/news/9022
- **Экосистема автора:** [Бесплатный интенсив по вайбкодингу — предзапись в Нике](https://t.me/vibecodeguidebot?start=agent_intensive_news_md) · [Nomad AI](https://nomadnet.ai) · [Telegram @jemal_hamidun](https://t.me/jemal_hamidun)
