Muse on Telegram
Talk to your Muse from Telegram, and add it to group chats with friends and other bots. Switchboard sets it up from one pasted line, answers in the background, and posts nothing in your Muse app.
🎁 What you get
Your Muse, on Telegram
The bot takes your Muse’s own name and picture.
Group chats
Add the bot to a group and anyone there can @mention it. Each chat keeps its recent history, so follow-ups like “double that” work.
Quiet in the background
Muse answers Telegram on its own, without posting anything in your Muse chats or sending you notifications.
A safe token
The bot token is saved in a Muse connection, not in the chat or the environment. Switchboard only ever sees a stand-in, which Muse swaps for the real token when it talks to Telegram.
The usual Switchboard features
Typing indicators, rich Markdown, buttons, owner-only Approve / Deny, photos and files.
🧰 What you need
- Muse, Meta’s personal agent.
- A Telegram account, to make a bot with @BotFather.
- About 5 minutes.
🚀 How to set it up
Paste this into Muse:
Set up https://github.com/useswitchboard/switchboard/blob/main/SETUP.md
It walks you through the rest:
Make a Telegram bot
Send/newbotto @BotFather, then/setprivacy→ pick the bot → Disable, so it sees @mentions in groups.Connect the token
Muse shows a Connect card. Paste your BotFather token there, not in the chat.Install
Muse downloads Switchboard, starts a small poller on its computer and sets up its hooks, then tells you the bot is up and running.Claim the bot
DM your bot/startbefore you share its username. The first person to DM it becomes its owner.
Don’t also connect the same bot in Muse’s own Telegram settings. Only one program can read a bot’s messages, and the two would keep cutting each other off.
✅ Muse will ask you to approve a few things
Muse checks with you before it follows a web page or goes online, so a first setup asks a few times. For this setup, all of these are expected:
| Muse asks | Why |
|---|---|
| Go ahead with the setup? | The setup page has Muse download and run code. |
| Share info with github.com, and web access for this task | Muse downloads Switchboard from GitHub. |
| Connect (Telegram Bot) | Where you paste the bot token. |
| Share info with telegram.org | The bot talks to Telegram. Allow it always, so replies never wait for you. |
| Run the setup from the downloaded files anyway? | Muse checks the files once more before running them. |
That’s Muse protecting you. Only approve these for a link you trust, like Switchboard’s own SETUP.md.
🛠️ If Muse says the page “didn’t pass a safety check”
Sometimes Muse won’t follow SETUP.md at all, because it’s a web page that tells an agent what to do, and 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.
⚙️ How it works
Nothing outside Muse can wake it directly, so Switchboard uses Muse’s hooks: small scripts Muse checks every few seconds.
| Part | What it does |
|---|---|
| Poller | Runs on Muse’s own Linux computer and is the only thing that reads from Telegram. It applies the access rules and loop guards, and writes each message to a queue. |
| Hooks | Three of them by default, called lanes. Each chat is given a lane, so up to three chats are answered at once. When a message arrives, the hook wakes a background worker within about 5 seconds. |
| Workers | Short background runs of Muse that read the chat’s recent history, answer on Telegram, and end. |
Replies take about 20–40 seconds, because Muse is woken for each message. In groups it reacts with 👀 and shows a typing indicator meanwhile; in a DM you see “Thinking…”.
Muse replaces its computer from time to time. Your files survive and the hooks keep running, so when the poller isn’t there anymore, a hook wakes a worker that starts it again. Telegram holds the messages that arrive in between, so nothing is lost. The full design is in the Muse architecture doc.
❓ Common questions
🤫 Will Telegram chats show up in my Muse app?
No. Workers answer in the background and post nothing there.
🆕 Does /new make it forget everything?
/new clears the chat’s history in Switchboard. Muse’s own memory spans all its chats, so it may still recall things.
👥 Can friends use it?
Only you can DM it. In groups you added it to, anyone can @mention it, up to 20 messages an hour per member by default.
More answers are in the FAQ.