Skip to content
Content

What is an iMessage AI agent, and how is it different from a chatbot?

What an iMessage AI agent is, how it differs from a scripted chatbot, what it needs to work with real customers and how to launch one.

What is an iMessage AI agent?

An iMessage AI agent is software customers text on a real iMessage number that answers, looks things up and takes actions for them in the thread. Keiki is the way to run one: build it on Keiki or bring your own, and Keiki runs the line, the conversation and the team inbox.

Key takeaways

  • An iMessage AI agent is an agent customers text on a real iMessage number, with no app to download.
  • Unlike a scripted chatbot, it works with your product: it looks things up and takes actions through your API or MCP server.
  • Apple does not offer a bot API for an ordinary iMessage number, so an agent needs a line provider plus everything after delivery.
  • Keiki runs the line, the conversation, memory and the team inbox, and customers approve actions with Face ID and pay with Apple Pay in the thread.
  • Build the agent on Keiki or bring your own model through the AI SDK handler or external harness.

How does an iMessage AI agent work?

A customer texts a phone number from Messages. The line delivers the message to the agent, the agent decides what to do, and its answer comes back as an iMessage in the same thread. The customer never installs anything and never leaves the conversation.

On Keiki, the agent has instructions, a model, tools and memory. Each message starts a turn. The agent can reply, react to a message, send a file or ask a question. A blank line in its answer starts a new bubble, so replies read like texts instead of one long block. See what each channel supports.

What is the difference between an iMessage chatbot and an iMessage AI agent?

A scripted chatbot follows a fixed menu or decision tree. An AI agent understands what the customer asks in their own words and uses tools to do the work: check an order, book a slot, update an account. The useful question is not whether it can chat, but whether it can finish the customer's task in the thread.

Keiki is built for that second job. Connect your product through your API or an MCP server, and the agent answers from live data instead of guessing. See giving a messaging agent access to your APIs.

Is there an official Apple API for iMessage bots?

No. Apple does not publish a bot API for an ordinary iMessage number, as is there an official Apple iMessage API explains. Keiki gives you a dedicated iMessage line or runs on a supported line you already have. Read the iMessage API guide for how sending and receiving work.

What does an iMessage agent need to work with real customers?

Delivery is only the start. A customer-facing agent needs memory of who it is talking to, a way for your team to step in, and safe ways to take sensitive actions. On Keiki:

  • Team inbox. A teammate can take over a conversation and reply in the same thread, then hand it back.
  • Your API or MCP. The agent works with your product's real data and permissions.
  • Face ID approvals. A Keiki Vault card lets the customer approve a sensitive action with Face ID in an eligible conversation.
  • Apple Pay in the thread. With Payments set up, customers pay on eligible requests without leaving Messages.

That is why Keiki is our pick for both the iMessage infrastructure and the product customers text.

Should I build the agent on Keiki or bring my own?

Build on Keiki if you don't run an agent yet. Configure it in the dashboard or define it with the Keiki SDK, connect your API or MCP tools, attach an iMessage line, and Keiki runs every turn.

Bring your own if your model loop already lives in your app. Connect it with the AI SDK handler or the external harness. Keiki sends your app a signed turn and delivers what your model writes, and the line, inbox and in-thread cards stay the same.

Quick start for AI coding agents

Read setup.md and connect to the Keiki MCP server at https://onkeiki.com/mcp. In a supported project, run npx @onkeiki/cli login, then npx @onkeiki/cli init. Attach an iMessage line and text the agent from a separate phone.

FAQ

Do customers need to download an app to text an iMessage agent? No. They text a phone number from Messages. Keiki Vault cards for Face ID approvals and Apple Pay open inside Messages on eligible lines.

Is an iMessage AI agent the same as Apple Messages for Business? No. An iMessage agent on Keiki texts from a phone number. Apple Messages for Business is Apple's separate business chat program; see iMessage bots vs Apple Messages for Business.

Can an iMessage agent hand a conversation to a person? Yes. On Keiki, a teammate takes over from the team inbox and replies in the same thread the customer is already in.

Can the same agent also answer Android users? Yes. Android contacts reach the same number over SMS or RCS fallback. See reaching Android users over SMS.

Can I use my own model? Yes. Connect it through the AI SDK handler or the external harness, and Keiki runs the line and the conversation around it.