iMessage support for eve agents
Mirrored from Vercel — AI for archival readability. Support the source by reading on the original site.
eve agents can now connect to iMessage through the new Photon channel.
The channel keeps each iMessage conversation in one eve session, verifies incoming webhooks, and marks accepted messages as read.
If more messages arrive while the agent is replying, they steer the in-progress reply instead of each getting a separate answer. The onMessage hook filters which messages the agent handles and adds context to a turn.
Run eve add channel/photon-imessage to add the channel. iMessage delivery runs through Photon, so the command sets up a Photon project, registers your phone number, and scaffolds the channel:
import { connectPhotonCredentials } from "@vercel/connect/eve";import { photonIMessageChannel } from "eve/channels/photon";
export default photonIMessageChannel({ credentials: connectPhotonCredentials("photon/my-agent"),});Registers the Photon channel with Connect-backed credentials
eve uses Vercel Connect to create the connector and configure Photon's webhook. On hosts without Connect support, choose Use portable credentials during setup and the channel reads its credentials from environment variables instead.
Read the Photon channel docs to get started, or deploy an agent from a template.
Start an eve agent from a template
Pick a template, deploy in minutes, and debug every agent session in the Vercel dashboard from the first run.
Build your agent
Discussion (0)
Sign in to join the discussion. Free account, 30 seconds — email code or GitHub.
Sign in →No comments yet. Sign in and be the first to say something.