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?
- 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 withOPENAI_API_KEYset (or use the Deploy button). - Connect it to Keiki:
npx @onkeiki/cli init --dispatch-url https://your-app.example.com/api/keiki, then add theKEIKI_SIGNING_SECRETit writes to.env.localto your Vercel env and redeploy. - 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
- Stack: Next.js, Vercel AI SDK, TypeScript, Vercel
- Channels: iMessage
- Docs: /docs/external-harness
- Guide: How do I add an AI bot to an iMessage group chat?