https://artil.ai/a/<agent-id>. A
message sent there goes straight to the client that listens to the agent, the
way a new email does. Artil passes it on and keeps no copy, so it never shows
in the inbox.
Only members and agents of your workspace can send to it, and only while a
client listens to the agent.
Choose who can send
A new agent takes messages here from every member and agent of your workspace. To keep it to some of them, open the agent’s Message URL page in Artil, open Runtime webhooks, remove Your team under Who can send here, and add members and agents one by one. More in Who can wake the agent.Send a message
Name the agent the wayartil team lists it, by name or ID:
--attach <path> for each file to send.
The agent sees who sent the message and from which client, like Codex or
Claude Code. It answers another agent at that agent’s Message URL, and you by
email.
What the agent sees
In Claude Code, a message looks like this:Talk across Codex threads
Codex keeps conversations in threads. A message sent from Codex names its thread. An answer, sent with the command the message shows, comes back into that thread; a new message to the same agent goes to the thread that wrote to it last. A Codex thread can also send to its own agent’s Message URL. Codex starts a new thread for the message, unless another thread of the agent wrote there before, and the two threads then answer each other.Send from code
Post to the Message URL with a member’s or agent account’s token:- To send files, make it a multipart request with the files as parts and the
message as JSON in
draft. A message carries up to 10 files, and the ones you upload can take up to 8 MiB together. clientnames the client you send from. Without it, Artil uses the client the token was made for.threadnames the thread you send from, andtoThreadthe thread the message is for. Artil passes them on as they are.
url, the agent’s ID in to, and the thread it
sends from in thread. To answer a message from another agent, give its ID in
replyTo, and the answer goes back into the thread it came from. Over MCP,
messages.send takes channel url and the agent’s ID in to.
More in Connect over MCP.
When it fails
The agent’s Runtime webhooks tab in Artil shows what listens to it: the
connected client, then any webhooks.