BOTBUS / BLOG

Control Claude Code from Telegram: chat bots vs a mobile app

Telegram, Discord and Slack bots can drive Claude Code, Hermes or Codex. Compare Claude Code Channels, the Hermes gateway and cc-connect with a dedicated app.

Short answer

Driving a coding agent from a chat app works today, and you don't have to build it yourself. Claude Code's official Channels feature ships Telegram, Discord and iMessage plugins. Hermes Agent has a built-in messaging gateway that covers Telegram, Discord, Slack, WhatsApp, Signal and a long list of others. The community project cc-connect bridges Claude Code, Codex and several other CLIs to Slack, Telegram, Discord, Feishu/Lark and more. (All checked on 2026-11-02.) The big win is that there's nothing new to install on your phone, and a bot can sit in a team channel.

What they share is the shape of a chat window: one long stream of messages rather than a task list, no view of the sessions you already have open on your computer, approvals and diffs squeezed into chat bubbles, and every message passing through the chat platform's servers. A dedicated app such as BotBus fills those gaps, at the cost of one more app and no group-chat collaboration. Here is the comparison in detail.

The chat-bot options today

Claude Code Channels (official, research preview)

A channel is an MCP server that pushes outside events into the Claude Code session you already have open. Anthropic ships Telegram, Discord and iMessage plugins, plus a local "fakechat" demo. The flow: install the plugin, configure your bot token, restart with claude --channels plugin:telegram@claude-plugins-official, message your bot to get a pairing code, pair it in the terminal, then lock access down to an allowlist.

Points worth knowing, all from the official docs:

Hermes Agent's messaging gateway

Hermes has the widest platform list of the three. hermes gateway runs a background process, and the docs list Telegram, Discord, Slack, WhatsApp, Signal, Matrix, Microsoft Teams, LINE, Feishu/Lark, DingTalk, WeCom and more. Unknown users are denied unless they are on an allowlist or paired by DM. Dangerous commands are approved with /approve or /deny, past sessions come back with /sessions and /resume, and /stop cancels the current turn. We covered Hermes on mobile in more depth in Hermes Agent on your phone.

cc-connect (community, MIT)

cc-connect is an open-source bridge, not affiliated with any agent vendor. It connects Claude Code, Codex, Cursor Agent, Gemini CLI, OpenCode, Pi and others to Slack, Telegram, Discord, Feishu/Lark, DingTalk, WeCom, QQ, LINE, Matrix and more. Its README says most platforms need no public IP (LINE and WeCom's webhook mode are the exceptions). Sessions are managed with /new, /list and /switch; permissions are switched with /mode default (ask for each tool) and /mode yolo (approve everything); admin_from restricts sensitive commands such as /shell.

Where chat bots are genuinely better

If you mostly talk back and forth with one session, or your team already lives in Slack or Discord, a bot may be all you need.

Where chat bots get awkward

A stream, not a list. With three projects running, finding out which one is waiting on you means scrolling. Channels only feed the one session you started with --channels. Hermes and cc-connect sessions start from the chat; neither set of docs explains how to attach a session you already started in your terminal.

Approvals squeezed into bubbles. Claude Code relays the tool name, a description and an argument preview. Per the docs, each field over 3,500 code points is shortened to its start and end, and recognizable credentials become [REDACTED]. That's sensible for safety, but reading a long command in a phone chat bubble isn't pleasant. Hermes uses typed /approve replies; cc-connect's README describes permission modes rather than per-call buttons.

No view of the changes. Which files changed, how many lines, what the diff looks like: in chat you either trust the agent's summary or have it send files you can't easily compare.

The platform sees the traffic. Bot chats on Telegram are cloud chats, not end-to-end encrypted, and workplace tools store messages according to their own and your company's policies. Commands, paths and code snippets all travel that way. With permission relay, anyone who can reply in that chat can approve tool calls, which is why the docs tell you to allowlist only people you trust.

What a dedicated app adds: BotBus as the example

BotBus runs on your computer (a menu bar app on Mac, plus Linux and Windows versions), finds the Codex, Claude Code, Hermes, Pi, OpenClaw and DeepSeek Harness sessions on that machine, along with other agents connected over ACP, and syncs them through an end-to-end encrypted relay to your phone and watch. Compared with a chat bot:

BotBus approval card on the phone

Limits

Using both

They overlap but don't conflict. A common split: team-visible work goes through a Slack or Telegram bot, while the Codex and Claude Code sessions on your own machine are watched in the app. Hermes gateway conversations also show up in BotBus, under your home-directory project. For a single Claude Code session, though, pick one approval path: running Channels permission relay and BotBus hooks together means two places can answer the same prompt, and it gets hard to tell who approved what.

FAQ

Can I control Claude Code from Telegram?

Yes. Claude Code Channels has an official Telegram plugin, with approval buttons via permission relay. The session must be started with --channels and stay open, and you need Anthropic authentication.

Does Claude Code Channels work with Bedrock or a third-party API proxy?

The docs say Channels require a claude.ai login or a Console API key and are not available on Bedrock, Google Cloud or Microsoft Foundry. Third-party proxies aren't mentioned. BotBus works with the Claude Code installed on your machine whatever it signs in with; see Claude Code with an API key or proxy on your phone for the one setting to get right.

Is a chat bot or a dedicated app more secure?

It depends on what you care about. Bot messages pass through the chat platform, and whether it can read them depends on its encryption. BotBus encrypts content end to end but its relay still sees metadata. Either way, whoever can approve can make the agent run commands on your computer, so keep the allowlist and pairings tight.

I already use the Hermes Telegram gateway. Do I need BotBus?

Not necessarily. If Hermes is your personal assistant and you want to approve risky commands in chat, the gateway covers it. BotBus makes sense when you want Hermes, Codex and Claude Code in one list, including sessions started on your computer and the code they changed.

← All posts