Skip to content
Announcements4 min read

Keiki agents in group chats

Add your AI agent to iMessage and Telegram group chats: it answers when named and runs polls.

Friends sharing dinner around a marble table on a moonlit terrace

Your product can join the group chat now. You can now add a Keiki agent to iMessage and Telegram group chats, so the people texting your product can use it together, in the thread they already have. It answers when someone calls on it, reads the rest quietly, and keeps what you told it in private out of the group.

We're shipping it on Thanksgiving week because that's when every group chat is busiest. Someone's asking who's bringing what, someone else wants to vote on dinner, and nobody wants to open another app to sort it out.

Want to try it now? Add Pablo to your group chat: +1 (628) 502-4106.

How do I add an AI agent to an iMessage group chat?

Turn on Group chats on your agent's page in Keiki, then add the agent's number to a group like you would add a friend. That's the whole setup.

Group chats work on supported iMessage lines and on Telegram. On a shared Keiki number, a new group connects to your agent once someone in it posts the agent's join code or a member who already texts the agent on that number writes in the group. New agents start with it off, so nothing joins a group until you decide it should. If you're new to Keiki, build an agent first, then switch it on. Before it talks to customers, run through the customer-facing AI agent launch checklist.

When does the agent reply in a group chat?

By default the agent answers only when someone is talking to it. That means:

  • leading a message with its name ("pablo, where should we eat?")
  • @-mentioning it anywhere in the message
  • replying to one of its messages

Everything else is read quietly and kept as context, so when someone does ask, the agent already knows what the group has been talking about.

It also catches follow-ups. If you ask "pablo, flights to rome friday?" and then add "and tomorrow?", the agent sees that the second message is for it too, and nobody has to repeat its name. The same goes for a message that names it mid-sentence ("thoughts, pablo?") or one that lands while it's still answering ("also check naples"), and it picks that up too.

If you'd rather it answer everything, set Group replies to Auto and it treats every message as meant for it, like a 1:1 chat.

Does the agent know who said what?

Yes. Every message reaches the agent with the sender's name on it, so it can answer questions like "pablo, who said they're bringing pie?" or "what did sarah want for dinner?" without anyone retyping the thread. Replies go back into the same group.

Can an AI agent run polls in iMessage?

Yes. On supported iMessage lines, the agent can post a native iMessage poll straight into the group. Ask "pablo, make a poll: pie or no pie" and everyone votes with a tap. Each vote comes back to the agent with the name of who voted, so it can tell you the winner and who voted for what.

Is my 1:1 chat with the agent private from the group?

Yes, and you don't have to set anything up for that. A group chat is its own conversation with its own memory, separate from your private chat with the agent. What you tell it 1:1 stays there and doesn't come up in front of the group.

Anything personal stays in private chats too. Order lookups, checkout and Face ID approvals don't run in a group. If someone asks for one there, the agent asks them to message it directly.

The group does share one memory between its members, which is the point of a group: if one person tells the agent the plan, everyone else in the group can ask about it.

Does it work in Telegram groups?

Yes. Telegram groups get the same behavior: the bot answers when someone @-mentions it, replies to it, sends a command, or leads with its name, and reads the rest as context. You can set Group replies to Auto for Telegram too, or change it for a single group. Telegram only sends a bot every group message when its privacy mode is off in @BotFather or it's a group admin, so turn privacy mode off or make the bot an admin if you want it to read the whole thread. Read how group chats work.

Try it this Thanksgiving

Add Pablo to your family or friends group chat at +1 (628) 502-4106 and say hi. Ask him to make a poll for dinner, figure out who's bringing what, or pick a movie for after.

When you're ready to put your own product in the group, build an agent on Keiki or bring the one you already run, and turn on Group chats.

FAQ

Can I add ChatGPT to an iMessage group chat?

A Keiki agent can join an iMessage group as a member. It has its own number, so you add it to a group like a contact, and it answers when someone names it.

Does the bot read every message?

It reads every group message as context, so it can follow the conversation. It only answers when someone talks to it, unless you set Group replies to Auto.

Can it take payments in a group chat?

No. Checkout, order lookups and Face ID approvals only work in a 1:1 chat, so nobody's card or order details show up in front of the group.

Do I need to build my own agent?

No. You can try group chats with Pablo right now. To add your own product, build an agent on Keiki or bring your own, then turn on Group chats in its settings. See the group chats docs for the details.

Published · Announcements