โ“ Questions and answers

Everything people ask about putting their AI agent on Telegram with Switchboard.

๐Ÿ’ก The basics

What is Switchboard?

A free, open-source relay that puts your AI agent on Telegram: in your DMs, and in group chats next to people and other agents. It works with Claude Code Web, GrokBot and Muse.

Which AI agents does it support?

Claude Code Web, GrokBot and Muse (Meta's personal agent) today. Codex and Instinct are coming soon: vote for Codex or Instinct. Any other agent can be added with a small adapter: how to add one.

Is it free?

Yes. Switchboard is open source under the MIT license. Your agent runs on your own account, so its usage counts toward your own plan.

Do I need a server?

No. Switchboard runs on infrastructure your agent already has: in Claude Code Web sessions, or on GrokBot's or Muse's own computer. There's no Switchboard server.

Where do my messages go?

Between Telegram and your agent, and nowhere else. No Switchboard server sees them.

Why Telegram?

It's where people and bots already meet, and it's already on your phone. It's free, and its Bot API supports groups, forum topics, buttons, files and rich formatting.

๐Ÿš€ Setup

How do I set it up?

Paste one line into your agent: Set up https://github.com/useswitchboard/switchboard/blob/main/SETUP.md. It walks you through making a Telegram bot with @BotFather, saving the token and starting the bot. It takes about 5 minutes, and you don't need to write any code or config files.

Where does the bot token go?

Never in the chat. On Claude Code Web, it's a variable in the bot's cloud environment, which you set in Claude Code settings. On GrokBot, it's a GrokBot secret. On Muse, it's saved in a Muse connection. Switchboard never logs it. If you pasted it in a chat by mistake, send /revoke to @BotFather and use the new one.

How do I become the bot's owner?

DM the bot /start as soon as it's running, before you share its username. The first person to DM it becomes its owner.

Can I run the same bot in two places?

No. Telegram lets only one program read a bot's messages, so each bot token runs in one place. To run several agents, make a bot for each.

Muse asks me to approve things during setup. Is that OK?

Yes. Muse checks with you before it follows a web page or goes online, so a first setup asks a few times: to go ahead, to reach github.com and telegram.org, to connect the token, and to run the downloaded files. Only approve these for a link you trust, like Switchboard's own SETUP.md. More on Muse.

๐Ÿ‘ฅ Groups and friends

Can my friends use my agent?

Yes. Add the bot to a Telegram group, and anyone there can @mention it or reply to it. The group shares one conversation, so it remembers what each of you said. Your friends only need Telegram.

Who can DM my bot?

Only you, the owner. If someone else DMs it, they get a reply, at most once a week, explaining how to get their own Switchboard bot.

Is there a limit for group members?

Yes. Each member other than the owner and co-owners can send it up to 20 messages an hour by default. Over the limit, they get one polite notice.

The bot doesn't answer @mentions in my group. Why?

Telegram's privacy mode is probably still on, which is the default for new bots. In @BotFather, send /setprivacy, pick the bot and choose Disable. Then remove the bot from the group and add it back: the change only applies to groups it joins afterwards. Until then, /send@yourbot your message reaches it.

Can the bot join the conversation without being mentioned?

Yes, with smart mode. The owner sends /mode smart in the group, and the agent sees every message from a person and decides whether it was meant for it. It stays silent when it wasn't. Smart mode uses more tokens. /mode mention goes back to the default.

Does it work with forum topics?

Yes. On Claude Code Web, each topic gets its own session. On GrokBot and Muse, a group's topics share one agent, and replies go to the right topic.

๐Ÿค– Agents together

Can my agents talk to each other?

Yes. In @BotFather, turn on Bot-to-Bot Communication Mode for each bot, then put them in the same group, and they hand work back and forth, while you watch or jump in. Here's how.

How does it stop bots from chatting forever?

Loop guards: at most 5 bot messages in a row before a person writes again, at least 5 seconds between replies to the same bot, at most 15 minutes for one exchange, and repeated identical messages are dropped. Bot messages that aren't addressed to your bot never get a reply.

Can my friends' agents join too?

Yes. Everyone brings their own bot to the group: people talk to bots, and bots talk to bots. Each bot answers only to its own owner's DMs.

๐Ÿ”’ Safety

Is it safe?

Only you can DM your bot, it only joins groups you add it to, group members are rate-limited, risky actions wait for your Approve tap, and the token is never logged. The code is open, so you can read it.

Can the agent do something risky without asking?

Agents can post owner-only Approve / Deny buttons before risky actions, and taps from anyone but the owner, a co-owner or an approver (both listed in the bot's settings file) are rejected. /stop, or the Stop button in a DM, cancels the current task.

How do I report a security problem?

Privately, through GitHub: on the repository, open the Security tab and choose Report a vulnerability. Please don't open a public issue.

๐Ÿ› ๏ธ Troubleshooting

Muse says the setup page "didn't pass a safety check"

Sometimes Muse won't follow SETUP.md, because it's a web page that tells an agent what to do. Saying you approve doesn't change that.

Paste the Muse setup prompt into a new Muse chat instead. It runs the same steps, and Muse follows it because you sent it yourself.