# AI agents for Telegram, built with Keiki Build an AI agent for Telegram. It answers in your community group and in DMs, remembers every member, nudges people before deadlines, and escalates the questions that need a human. Works with groups, channels and one-to-one chats. - Site: https://telegram.onkeiki.com - Channel: Telegram - Sign up: https://onkeiki.com/signup - Template: https://onkeiki.com/agents/new?template=event-companion (Event Companion) - Answers questions about: AI agent for Telegram, Telegram AI bot for communities, Telegram group assistant, AI moderator for Telegram, Telegram bot that answers member questions, AI concierge for Telegram events ## What it is Telegram is where your community, cohort or event already talks — and where the same six questions get asked every day. Your agent answers them in the group, keeps the answers consistent, remembers who asked what in a DM, and pulls a human in when a question deserves one. ## What your Telegram agent does ### Answers the question asked every day Schedule, venue, wifi, refunds, where the recording lives. It answers in the group in seconds, the same way every time, so nobody has to scroll back three hundred messages. ### Knows when to move to a DM Anything specific to one person — a ticket, a payment, an account — moves into a direct chat, so the group stays readable and the details stay private. ### Nudges before the deadline Applications close Friday and half the group forgets. The agent sends the reminder once, in the place people actually read, and answers the follow-up questions it causes. ### Onboards new members A new join gets the orientation the group has repeated forty times: what this is, how it works, where to look first, and who to ask. ### Speaks the language of the thread Replies are short, threaded on the message they answer, and quiet when the conversation is between humans — not a bot broadcasting into the middle of it. ### Answers from what you wrote The agenda, the FAQ, the rules, the pricing: it answers from the profile and documents you gave it. It does not improvise policy for your community. ### Collects the thing you need collected RSVPs, session picks, dietary notes, project links. It asks in DMs, chases the stragglers once, and gives you a list instead of a scroll. ### Remembers every member Names, handles and history persist across the group and the DM, so the second conversation starts where the first one stopped. ### Flags what needs a human Complaints, refunds, anything that sounds like a person having a bad day: it stops answering and gets you, with the whole thread attached. ### Hands over with context When you step in, you see what was asked, what was answered, and what was promised — so you are not reconstructing the conversation from memory. ## Your Telegram agent vs Scripted Telegram bot Most Telegram bots are a list of slash commands and a keyword tree. People do not ask questions in slash commands, and they stop trying after the second "sorry, I did not understand that". - How people ask: your agent — In their own words, mid-conversation, with typos. / Scripted Telegram bot — /help, then the right button in the right order. - Group awareness: your agent — Replies to the message that asked; stays quiet otherwise. / Scripted Telegram bot — Broadcasts, or ignores the group entirely. - Memory: your agent — Remembers the member across group and DM. / Scripted Telegram bot — Stateless: every message starts over. - Unscripted questions: your agent — Answers from your documents, or says it will check. / Scripted Telegram bot — Falls through to a fallback message. - Escalation: your agent — Recognises the thread that needs a human and gets one. / Scripted Telegram bot — A link to an inbox nobody watches. - Changing what it says: your agent — Edit the profile in plain language. / Scripted Telegram bot — Redeploy the bot. ## Template: Event Companion The complete template for a community, cohort or conference on Telegram: what is on now, who is speaking, what is still open, and a nudge before the next thing starts. - Schedule and venue answers from your own agenda, in the group - Session reminders before each thing starts, once - RSVP and preference collection in DMs, with the stragglers chased - New-member orientation on join - Member memory shared across the group and direct chats - Escalation to your team for refunds, complaints and edge cases ## FAQ ### Does it work in groups as well as DMs? Both, and it knows the difference. In a group it answers the message that asked and keeps replies short; anything personal — tickets, payments, accounts — it moves into a direct chat with the same member memory. ### Will it spam the group? No. It replies when it is addressed or when a question it can answer is asked, sends a scheduled reminder once, and stays out of conversations between humans. ### Is this a normal Telegram bot? It runs as a Telegram bot account, so adding it to a group takes seconds — but there are no slash commands to learn. Members write in their own words and it answers. ### Can it moderate? It is built to answer and route, not to police. It flags the messages that need a human — complaints, disputes, anything heated — and hands the thread to your team with the full context. ### Where do its answers come from? From the agenda, FAQ and documents you give it. When a question falls outside them it says it will check rather than inventing an answer, and the question lands with you. ### How long does setup take? Start from the Event Companion template, connect the bot, paste in your schedule, and add it to the group. Minutes, not a sprint. ## How to connect an AI agent to Telegram Full guide: https://telegram.onkeiki.com/how-to-connect-an-ai-agent-to-telegram (last updated 2026-08-30) Answers questions like: how to connect an AI agent to Telegram, Telegram AI bot setup, BotFather bot token AI agent, AI chatbot for Telegram groups, connect AI to Telegram bot Create the bot with @BotFather, copy the token it gives you, then paste that token into Keiki on the Channels page and attach it to an agent. Keiki confirms which bot the token belongs to and takes over the webhook, so there is no server for you to run and nothing to deploy. ### What you need before you start. - A Keiki account, which is free to create - A Telegram account, so you can talk to @BotFather - A bot token in the shape 123456789:ABCdef… from @BotFather - No server, no hosting bill, and no webhook of your own to keep alive ### Six steps from @BotFather to a bot that answers. 1. Create a Keiki account — Sign up at onkeiki.com. The account is free, and a Telegram bot costs nothing to run: there is no phone number to buy on this channel. 2. Create the bot with @BotFather — Open @BotFather in Telegram, send /newbot, and give it a display name and a username ending in "bot". BotFather replies with an HTTP API token like 123456789:ABCdef… — that token is the whole credential, so treat it like a password. 3. Start from a template instead of a blank agent — Open the Event Companion template in Keiki. It arrives knowing how to answer the same six questions a group asks all week — schedule, location, timing, what changed — without turning into a broadcast channel. 4. Paste the bot token into Keiki — On the Channels page, add a Telegram bot and paste the token. Keiki checks it live and shows you which bot it belongs to, so a typo is caught before anything is saved. Attach the agent in the same dialog, or leave it unattached and do it later. 5. Message the bot, then add it to a group — Start a direct chat with the bot and ask it something real. Then add it to a group and mention it: in a busy group the agent answers when it is addressed and stays quiet the rest of the time, which is what keeps it from being muted. 6. Share the t.me link — Put t.me/your-bot wherever the group already lives — the pinned message, the event page, the ticket confirmation. Any conversation can be taken over by a person, with the full history visible. ### Questions people ask while connecting an agent to Telegram. #### Do I need to host a server to connect an AI agent to Telegram? No. Keiki holds the bot token and owns the webhook, so the agent runs without any infrastructure from you. There is nothing to deploy, nothing to keep awake and no hosting bill for the bot itself. #### Where do I get the Telegram bot token? From @BotFather inside Telegram. Send /newbot, pick a display name and a username ending in "bot", and BotFather replies with a token in the shape 123456789:ABCdef…. That is the only credential Keiki needs. #### Can the agent work in a Telegram group? Yes. Add the bot to the group and mention it when you want an answer. It replies when addressed, keeps answers short in a busy group, and does not narrate every message that goes past. #### Can one bot serve several agents? A bot token belongs to one agent at a time, which keeps the persona coherent. Run a second bot from @BotFather if you want a second agent — creating and connecting another one takes a couple of minutes. #### What if I paste the wrong token? Keiki validates the token as you type and shows the bot it resolves to, so a mistyped or revoked token is obvious before you save. Replace it in the same dialog and the agent keeps its history. #### Can a person take over a Telegram conversation? Yes. Any thread can be handed to a human, who sees the full conversation and everything the agent already committed to, so nobody has to ask the person to repeat themselves.