On this page

#Channels

The same agent serves web chat, the iOS, Android and Flutter apps (SDKs), WhatsApp and Instagram, and your team's conversations with it through the MCP's chat_with_agent and Try the agent in the inbox. Use the actual channel when testing channel identity or message delivery.

Connecting WhatsApp or Instagram is done in the inbox, not through the MCP: Meta's consent screen only opens in a browser. Everything after that (going live, checking the connection, templates) is in the inbox and in the MCP.

#Channel behavior

WhatsApp and Instagram continue the latest conversation until the last visitor message is more than eight hours old. The next message then starts a new chat. On Vatio's shared test number or Instagram account, /new starts one right away. A post's comments are apart from the DMs: each thread a comment starts is one conversation, on the Instagram comments channel (Comments).

Replies are text. On WhatsApp the agent can also send a photo one of your tools returned, with send_image. Supported inbound images are passed to the model, a voice note reaches it as its transcript, and a PDF is read once when it arrives, so the agent answers from what it says; supported files must fit the 8 MB per-file limit. A video (MP4, MOV, WebM or MPEG, up to 14 MB) is watched once when it arrives, and the agent reads what is said in it and what it shows. Unsupported or oversized attachments remain available for supervisors, and the agent receives a notice that it cannot read them.

#PDFs

A PDF is copied into text once, tables included, and the agent answers from that text on every later turn. The agent is given up to the first 30,000 characters, about ten dense pages:

  • A longer PDF is read from the start. The reading stops at about that length, and the agent is told the text was truncated, how many characters were left out when that is known, and to ask for the page or section when the answer may be in the part it did not get.
  • A PDF that cannot be read is named to the agent with the reason: larger than 8 MB, protected with a password, rejected as damaged, too long to read in time, or no text in it. The agent tells the visitor it could not open it and asks for the part that matters.
  • The reply waits for the reading. On the web and in the apps the message is held until the PDF is read, which can take a minute or two for a long one.

The MCP's get_conversation prints what was read of each PDF, on a [file] line: the characters the agent got, truncated at N, or unreadable and why. The same is in the message's attachments[].reading in the server API. To try one, upload it with the command the MCP's prepare_file returns and send its id in chat_with_agent's files (Talking to the agent).

Web chat receives one complete reply, which the widget renders progressively. WhatsApp and Instagram receive paced messages with typing indicators. chat_with_agent returns the reply whole when it is ready. These are delivery styles, not separate agents.

Last updated:

Latest release: 0.144.0 · Changelog · The whole contract as Markdown: /docs/docs.md