Skip to content
Templates

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?

  1. Clone github.com/Mail-0/imessage-whatsapp-telegram-slack-agent and deploy it (Render button or any long-lived Node host) with OPENAI_API_KEY set.
  2. Add an organization-wide KEIKI_API_KEY with the deployments:write and agents:write scopes and your Telegram, Slack and WhatsApp tokens to .env, then run DISPATCH_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.
  3. If the script prints a checkout link for the iMessage line, finish checkout to activate it. Set KEIKI_SIGNING_SECRET on 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