Personal AI assistant on iMessage
Put your product in iMessage with Keiki: a self-hosted personal assistant people text to set reminders, search the web and remember things.
View imessage-personal-assistant on GitHub
How do I build a personal AI assistant people text on iMessage?
- Clone Mail-0/imessage-personal-assistant and deploy it to Vercel with
OPENAI_API_KEY,KEIKI_API_KEYandCRON_SECRETset. - Run
npx @onkeiki/cli init --dispatch-url https://your-app.vercel.app/api/keikiin the project folder, then add theKEIKI_SIGNING_SECRETit writes to your Vercel env and redeploy. - Attach an iMessage line to the agent, schedule
GET /api/remindersevery minute withAuthorization: Bearer $CRON_SECRET, and text it "remind me to call the dentist at 3pm". Replace the in-memorylib/store.tswith your database first: serverless instances do not share memory, so the scheduled route cannot see reminders saved by another instance.
Your code, your model, your servers. Keiki only handles the channels.
Details
- Stack: Next.js, Vercel AI SDK, TypeScript
- Channels: iMessage
- Docs: /docs/ai-sdk
- Guide: How do I build a personal AI assistant people text on iMessage?