Skip to content
Templates

AI bot for iMessage group chats

Put your product in iMessage with Keiki as a group chat member that stays quiet until someone says its name.

View imessage-group-chat-bot on GitHub

How do I add an AI bot to an iMessage group chat?

  1. Clone and deploy: git clone https://github.com/Mail-0/imessage-group-chat-bot && cd imessage-group-chat-bot && npm install, then deploy to Vercel with OPENAI_API_KEY set (or use the Deploy button).
  2. Connect it to Keiki: npx @onkeiki/cli init --dispatch-url https://your-app.example.com/api/keiki, then add the KEIKI_SIGNING_SECRET it writes to .env.local to your Vercel env and redeploy.
  3. On the agent page turn on Group chats and set Group replies to Auto, attach an iMessage line that supports groups, add it to a group chat and mention the agent by name.

Your code, your model, your servers. Keiki only handles the channels.

Details