Build an AI Agent
on iMessage
A complete, open-source example of a Claude-powered AI agent running on iMessage via the Linq Blue API. Fork it, customize it, and deploy your own in minutes.

Everything You Need to Get Started
Claude AI Responses
Powered by Claude Sonnet 4. Multi-message responses that sound like a real person texting.
iMessage Reactions & Effects
Tapbacks, custom emoji reactions, and full-screen effects like confetti, fireworks, and lasers.
Image Generation
Generate images on demand via DALL-E 3. Users ask Claude to draw something and it sends the image back.
Web Search
Real-time info like weather, news, and sports scores. Claude searches the web and responds with current data.
Conversation Memory
Remembers context per chat and learns facts about users permanently. Picks up right where you left off.
Group Chat Intelligence
Detects group chats, filters when to respond vs. react vs. ignore, and can rename chats or set icons.
Get started
Up and running in minutes
Clone the repo, add your API keys, and start building your own AI agent on iMessage.
Clone the Reponpm installcp .env.example .env # add your API keysnpm run devngrok http 3000 # expose your webhookSimple Integration
Ai Agent → iMessage
Try it yourself
Text our live demo agent running this exact code. Send a message to see Claude respond with reactions, effects, and more.