Skip to content
Templates

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?

  1. Clone Mail-0/imessage-personal-assistant and deploy it to Vercel with OPENAI_API_KEY, KEIKI_API_KEY and CRON_SECRET set.
  2. Run npx @onkeiki/cli init --dispatch-url https://your-app.vercel.app/api/keiki in the project folder, then add the KEIKI_SIGNING_SECRET it writes to your Vercel env and redeploy.
  3. Attach an iMessage line to the agent, schedule GET /api/reminders every minute with Authorization: Bearer $CRON_SECRET, and text it "remind me to call the dentist at 3pm". Replace the in-memory lib/store.ts with 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