One AI agent on iMessage, WhatsApp, Telegram and Slack
Put your product in iMessage with Keiki and answer WhatsApp, Telegram and Slack from the same self-hosted TypeScript handler.
View imessage-whatsapp-telegram-slack-agent on GitHub
How do I run one AI agent on iMessage, WhatsApp, Telegram and Slack?
- Clone github.com/Mail-0/imessage-whatsapp-telegram-slack-agent and deploy it (Render button or any long-lived Node host) with
OPENAI_API_KEYset. - Add an organization-wide
KEIKI_API_KEYwith thedeployments:writeandagents:writescopes and your Telegram, Slack and WhatsApp tokens to.env, then runDISPATCH_URL=https://your-app.example.com/keiki/turn npm run deploy:keiki. It registers one agent with an iMessage line and those channels, and prints its signing secret. - If the script prints a checkout link for the iMessage line, finish checkout to activate it. Set
KEIKI_SIGNING_SECRETon your host, redeploy, and text the agent on any of the four channels.
Your code, your model, your servers. Keiki only handles the channels.
Details
- Stack: Hono, Node.js, TypeScript, @onkeiki/channels, @onkeiki/agents
- Channels: iMessage, WhatsApp, Telegram, Slack
- Docs: /docs/external-harness
- Guide: How do I run one AI agent on iMessage, WhatsApp, Telegram and Slack?