Messaging: other chat apps
Besides awe’s own text line, you can talk to your awe from the chat apps you already use: Telegram, Slack, Discord, Microsoft Teams, Google Chat, Signal, your personal WhatsApp, and iMessage on a Mac. It is the same awe, with the same memory and the same abilities. This page is for people who want awe in one of those apps and are comfortable creating a bot or app in that service.
This is different from texting awe’s number, which needs no setup at all. For that, see texting.md. Here, each chat app is connected to your own computer, using a bot or account that you create and own.
Where to set it up
- Make sure awe is running on your computer (
./start-awe.shfrom the awe folder). - Open the console at
http://127.0.0.1:8765. - In the sidebar, open Messaging → All messaging.
Each chat app has a card with numbered steps, the boxes to paste keys into, and a button to start it. Keys you paste are saved on your awe. You do not need to edit any file.
The chat apps
All of these come with awe. Nothing extra needs installing.
| Chat app | What you need | Notes |
|---|---|---|
| Telegram | A bot made with @BotFather, and its token | Optionally your own chat ID |
| Slack | A Slack app in your workspace with Socket Mode on: a bot token, an app token and the signing secret | Subscribe the app to message.im and app_mention |
| Discord | A Discord application with a bot, its token, and your server’s ID | Turn on the bot’s privileged intents, or messages arrive empty |
| Microsoft Teams | An Azure Bot with the Teams channel on: its app ID and client secret | Teams must be able to reach your computer at a public HTTPS address |
| Google Chat | A Google Cloud project with the Chat API on, and a service account key | |
| Signal | signal-cli installed and registered for your number |
|
| Nothing but your phone | See below | |
| iMessage | A Mac signed in to Messages | Mac only. See below |
The page also lists Voice and Web. They have no setup steps there and are not covered on this page.
WhatsApp (your own account)
This links awe to your personal WhatsApp, the way WhatsApp Web does.
- On the WhatsApp card, start the channel. A QR code appears.
- On your phone: WhatsApp → Settings → Linked Devices → Link a Device, and scan the code. If the code will not scan, enter your phone number on the card to pair with a typed code instead.
How it behaves:
- Only private one-to-one chats count. Group chats never reach awe.
- Only messages you send are passed to awe. Messages other people send you are not.
- The link survives restarts. You do not scan again each time.
iMessage on a Mac
This lets awe read and answer iMessages on the Mac it runs on.
- Give Node Full Disk Access in System Settings (the card shows the exact path to add). Messages are stored where macOS requires that permission.
- Start the channel. macOS asks once whether awe may control Messages. Allow it.
- In Allowed senders, turn the list on and add your own number, with country code. Otherwise anyone who has your number could message your awe.
- Test it by sending a message to your own number.
Who awe answers
Each card has an Allowed senders section with the switch Only reply to allowed senders (Slack and Teams word it as allowed channels or chats).
- On a fresh install, an empty list answers nobody. After you start a chat app, add yourself to its list before you expect a reply.
- Add your own ID, username or number, not the bot’s. The bot is the one receiving. The list controls who may message it.
- Not sure of your ID? Start the channel, send it one message, and look in that channel’s log (below) for the line that names the sender it turned away.
- WhatsApp’s list works differently: it is the list of contacts whose conversations with you awe may act in.
Anyone on the list is treated as you. They can ask your awe for anything you could. Keep the list short.
Fresh installs get this strict behaviour from the line AWE_CHANNEL_ALLOWLIST_ENFORCE=1 in .env in the awe folder. Without that line, a chat app with an empty list answers every sender. If you run awe where other people can reach the bot, leave the line in.
Photos and files
Pictures and documents sent in a chat app are passed to awe the same way as in the text thread. Two optional lines in .env limit which folders awe may read attachments from:
| Line | What it does |
|---|---|
CHANNEL_MEDIA_STRICT=1 |
Refuses any attachment path outside the allowed folders |
CHANNEL_MEDIA_ROOTS= |
The allowed folders, as full paths separated by commas |
Leave them out for ordinary use on your own computer.
When a chat app does not answer
- Check the list. An empty or wrong Allowed senders list is the most common cause.
- Check the card. It shows whether the channel is running, and can start it again.
- Read the log. Each chat app writes to its own file in the awe folder:
.awe/workspace/channels-<name>.log, for example.awe/workspace/channels-telegram.log. - Discord answers nothing, though messages arrive: the privileged intents are off in the Discord Developer Portal.
- Teams: the address in the Azure Bot’s messaging endpoint must reach your computer on port 3978, at the path
/api/messages.
Adding another chat app
Chat apps are add-ons. Under Community Channels on the Messaging page you can install one that someone else has published, by its package name. The name must look like @scope/channel-<name>.
Be careful: an installed channel runs inside awe with the same access to your computer that awe has. Only install one from a source you trust, and read its code if you can.
To write your own, start from the template that ships with awe in MCP-servers/awe-channels/packages/template/. Its README walks through the steps.
Related
- texting.md: awe’s own text line, which needs no setup
- setup.md: installing, starting and stopping awe
- console.md: the Messaging page and the rest of the console
- connections.md: connecting services awe works with, such as Google and Notion
- openai-compatible-api.md: for developers, talking to awe from your own program
- troubleshooting.md