# iMessage

Source: https://www.hyperagent.com/docs/concepts/agents/invocations/imessage

> For AI agents: the documentation index is at https://www.hyperagent.com/llms.txt and the complete documentation in one file at https://www.hyperagent.com/llms-full.txt. Any docs page is also served as Markdown by appending `.md` to its URL.

Pair a saved Hyperagent agent with Apple Messages, then send a request from your own conversation.

Illustration: the agent attaches a chart to its reply.

Connect a saved Hyperagent agent to Apple Messages so you can text it when you’re away from Hyperagent.

## What you can do [#what-you-can-do]



Give your agent work from Messages



Ask a question or make a request, then follow up in the same chat. In Hyperagent, look for the conversation named 

iMessage · [agent name]

.



Share files and get work back



Send a photo, attach a file, or record a voice message. Your agent can reply with files, too, such as a chart image. Long replies and results that need a browser may come back as a link to Hyperagent.



React to messages



In a direct chat, add a native Tapback to an agent message. Your agent can receive supported reactions and add reactions to your messages.



Work with others



Add the agent’s number to an 

[iMessage group](#add-your-agent-to-a-group-chat)

. The group has its own Hyperagent thread, separate from your direct chat.

## Before you start [#before-you-start]

Use a saved Hyperagent agent and an iPhone or Mac signed in to the Messages account you want to pair. If you share an agent with teammates, each eligible teammate pairs their own Messages account.

## Pair Messages with your agent [#pair-messages-with-your-agent]

### Open the iMessage connection [#open-the-imessage-connection]

Open your saved agent in Hyperagent. Go to **Connections** and select **Connect** on the **iMessage** card.

### Open the setup message [#open-the-setup-message]

* **On iPhone:** Hyperagent opens Messages with a message ready to send. If it doesn’t open, select **Didn’t open? Open in Messages**.
* **On a computer:** Scan the QR code with your iPhone camera. On a Mac, you can also select **open in Messages** to pair without your phone.



### Send the prefilled message [#send-the-prefilled-message]

Send the message without editing it. Opening Messages doesn’t pair the account. Hyperagent connects the phone number or email address the message comes from, so send it from the account you want to use with this agent.

Look for a connection confirmation in Messages. Back in Hyperagent, select **Configure** on the **iMessage** card to see **Connected as** and the number to text. If the setup code expires, select **Get a new code** and send the new prefilled message.



### Try a request in the same chat [#try-a-request-in-the-same-chat]

Send a separate message to give the agent work. Try “Draft a short reminder asking for Friday’s delivery estimate.” Look for the reply in Messages. The setup message pairs your account; it isn’t your first request.

## Add your agent to a group chat [#add-your-agent-to-a-group-chat]

Add the number from your paired chat to an iMessage group. If the group includes people the agent doesn’t recognize, an eligible connected person needs to allow the group before the agent can work there. You can respond to the request in your direct chat or open **iMessage → Configure → Group chats** and select **Allow** if it’s offered. A new participant can pause the agent until the group is reviewed again. Group work stays separate from your direct chat, and everyone in the group can see what the agent posts there.

## Limitations [#limitations]

* **Messaging only.** You and the agent can’t place phone or FaceTime calls through this connection. Record a voice message if you’d rather speak than type. Hyperagent transcribes recorded voice messages. It doesn’t automatically transcribe ordinary audio attachments.
* **Group access can change.** A group with unrecognized participants may need approval. Adding someone can pause replies until the group is reviewed again. Everyone in the group can see what the agent posts there, and the agent doesn’t import messages from before it joined.
* **Other threads aren’t in scope.** The agent can use this chat’s history, but it can’t look up your other Hyperagent conversations from Messages. If delegation is configured, it can hand a task to another agent and return the result here.

## Manage your connection [#manage-your-connection]

* **Pause or resume:** Use the switch on the **iMessage** card. Turning it off pauses the connection without removing the pairing.
* **Remove the pairing:** On the **iMessage** card, choose **Configure → Disconnect**. To connect a different Messages account, start a new setup and send the prefilled message from that account.

## Frequently asked questions [#frequently-asked-questions]



Yes. In a paired direct chat, use a standard Tapback or a single emoji to react to an agent message. Hyperagent supports emoji reactions, not sticker or image Tapbacks. Your agent can receive the reaction and add one to your messages.

In a group, the agent doesn’t receive members’ Tapbacks as input. Send a message if you need it to do something. Removing a reaction doesn’t undo work the agent has already started.

Yes. Add the number from your paired chat to an iMessage group. If the group includes people the agent doesn’t recognize, an eligible connected person must [allow the group](#add-your-agent-to-a-group-chat) before the agent can work there.

Yes, if Messages lets you add participants to that iMessage group. A person in the chat adds the agent’s number; the agent doesn’t join on its own or import the earlier conversation. It starts a separate Hyperagent thread for the group.

No. The iMessage connection doesn’t accept phone or FaceTime calls. Record a voice message in Messages if you’d rather speak than type.

No. The agent replies in Messages; it doesn’t place phone or FaceTime calls through this connection.

The agent can use the history of the chat you’re in, but it can’t search or open your other existing threads from Messages. If you’ve configured it to delegate to another agent, it can hand off work in a separate thread and bring the result back. To start or continue a different conversation yourself, open Hyperagent.
