iMessage AI agent with Next.js and the Vercel AI SDK
Put your product in iMessage with Keiki in about 100 lines of code. Your model and tools run in your Next.js app; Keiki handles the iMessage line and delivery.
View imessage-ai-sdk-starter on GitHub
How do I build an iMessage AI agent with the Vercel AI SDK?
- Clone github.com/Mail-0/imessage-ai-sdk-starter and deploy it.
- Run
npx @onkeiki/cli init --dispatch-url https://your-app.vercel.app/api/keikiwith your deployed URL to connect it to a Keiki agent. - Attach an iMessage line to the agent and text it.
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 an iMessage AI agent with the Vercel AI SDK?