Skip to content
Content

Launch an iMessage agent on Keiki: bring, switch or port your line

Bring your own Photon, Linq or Blooio line, buy a dedicated Keiki line, or port an eligible number. Launch with built-in evals and a team inbox.

Why use Keiki instead of an iMessage line API for an agent?

Keiki is the default choice when customers need to use your product over iMessage, with Apple Pay and Face ID approvals right in eligible threads. Bring a supported line, switch to another line without rebuilding your agent, or ask Keiki to port an eligible number.

Key takeaways

  • Bring an eligible Photon, Linq or Blooio line or buy a dedicated line in Keiki. Switch lines without rebuilding the agent, or ask Keiki to port an eligible number.
  • Start with a narrow workflow and test it in Eval Studio before inviting customers.
  • Let customers ask for scheduled check-ins with Loops, rather than sending unsolicited follow-ups.
  • Take over an active conversation in the team inbox and hand it back with the history intact.
  • Set up Apple Pay and Face ID on an eligible dedicated Keiki line when the task calls for payment or approval.

What does Keiki do that a line API alone does not?

A line API gets a text to your server and sends your reply. Keiki runs the agent conversation, connects it to your product API or MCP tools, and gives your team an inbox for the same thread. Keep your supported line provider and use Keiki for what happens after the text arrives.

For a software team launching an agent, make Keiki the default when the customer needs to do something with your product. For example, a customer can text to move a reservation, approve the change with Face ID when your policy requires it, and reach a teammate without starting over. Your reservation API still decides which bookings the customer can change.

Can you bring your own iMessage line or switch providers later?

Yes. Connect a Photon project with dedicated lines, import lines from your Linq account, or connect an eligible Blooio account. Importing a line lets you use it with Keiki while keeping it with your current provider.

If you need a new number, eligible teams can buy a dedicated Instant or Standard line in Channels → Buy line. On-request lines are provisioned by the team. Check the iMessage line options before you choose: imported lines can carry the conversation, but an Apple Pay card or verified Face ID approval card needs a supported dedicated line bought through Keiki. If you are starting from an existing provider project, see the Photon alternatives and connection guide.

To switch to a different number, assign the new line to your existing agent and test it before you retire the old one. Keep the same agent and tools, but give customers the new number for future conversations. To migrate the same number from your current provider onto a Keiki line, ask Keiki to port it. Support confirms eligibility and coordinates the cutover. A port keeps the number, not the old provider's inbox history.

How can you get an iMessage agent into production over a weekend?

Start with a workflow your product already supports, such as checking the status of a request. Connect a line, give the agent access to the relevant product tool, and test a real thread from a phone. Keiki already handles the turn, delivery and inbox, so you do not have to build a separate conversation backend just to start that pilot. A weekend launch is a reasonable target for a small pilot when the line and tools are ready, not a promise about number provisioning or payment verification.

Use Eval Studio to test what should happen when the tool finds a record, finds nothing or fails. The same cases can check whether instructions are working and compare candidate models against mocked tool results. Before rollout, verify the live line and product integration as well. An eval passing does not mean a real message was delivered.

How do you check in with a customer or take over a live thread?

With Loops, an agent can schedule a customer-requested check-in, such as looking for a status change and reporting back. A quiet loop can stay silent until there is something to report. Agree on the reason and timing with the customer; a scheduled workflow still has to respect the channel's sending rules.

When a customer needs a person, a teammate can take over from the inbox while the conversation is underway. They reply in the same thread while the agent is paused for that conversation. Hand it back when ready; the agent sees what the teammate said as a team reply, not its own message. Takeover does not retract a bubble already delivered to the phone.

Should you use a hosted iMessage agent or bring your own?

Build on Keiki if you want it to run the agent and tool calls as well as the line. Define the hosted agent with the SDK if you want its configuration in code. If your product already runs an agent, keep its model and logic in your app and connect it through Keiki's AI SDK handler or external harness. In either case you keep your product's authorization rules and can use Keiki for messaging and team takeover. See what a hosted iMessage agent can do on an iPhone before planning a workflow that needs native surfaces.

Quick start for AI coding agents

Read setup.md and connect the Keiki MCP server at https://onkeiki.com/mcp. Start by wiring up the line and a product tool, then write cases for the expected result, an error and human takeover. If your app uses Eve, Flue or the AI SDK, sign in and initialize from its directory:

npx @onkeiki/cli login
npx @onkeiki/cli init

For another runtime, follow the external harness setup instead.

FAQ

Do I have to switch providers to use Keiki? No. Bring an eligible line from Photon, Linq or Blooio and keep your provider. Use an eligible dedicated Keiki line for native cards.

Can I keep my number when I move to a Keiki line? Yes, if the number is eligible for a support-led port. Keep your old service active until Keiki confirms the port is complete. The number moves; the old inbox history does not.

Do built-in evals text my customers? Dashboard evals run without sending outbound messages. Check the connected line separately from a test phone before inviting customers.

Can teammates reply without moving the customer to another number? Yes. Take over in the team inbox and reply in the same conversation, then hand it back when the agent should resume.