agent-intercom
v0.2.6Lets Claude Code, Codex CLI and Antigravity message each other, with live push into open sessions.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
mail_send Send a message to another agent
Deliver a text message from you ("claude") to another coding agent's inbox, for example to hand off a task, ask a question or report a result. Call mail_peers first if you are unsure of the recipient name. To answer a message you received from mail_check, pass its id as reply_to. Each call writes one new message and never edits or removes existing mail. If the recipient has not started yet, the message waits in its inbox. Returns "sent <id> to <name>"; keep the id if you expect a reply that references it.
| Parameter | Type | Description |
|---|---|---|
body * | string | Message text, in plain text or Markdown. Include everything the recipient needs, since it cannot see your conversation. |
to * | string | Recipient agent name as listed by mail_peers, e.g. "codex", "claude" or "gemini". Letters, digits, _ and -, with optional .suffix segments. |
reply_to | string | Optional. The id of the message you are answering (the value in [brackets] from mail_check), so the recipient can match the reply to its question. |
mail_check Read new messages
Fetch the unread messages addressed to you ("claude"), oldest first. Use it when you expect a reply or want to see if another agent wrote to you. Reading consumes the messages: each one is moved to your read folder and is not returned again, so act on or note what you need. With wait_seconds above 0 the call blocks until at least one message arrives or the time runs out. Returns each message as "[<id>] from <sender> (re <id>) at <time>:" followed by its body, or "no new messages". When live push is installed, new mail may already appear in your session without calling this tool.
| Parameter | Type | Description |
|---|---|---|
wait_seconds | number | How long to wait for a message if the inbox is empty, in seconds (0 to 300). 0 returns immediately. |
mail_peers List agents on the mailbox
List every agent name that has a mailbox here, so you know valid recipients for mail_send. Read-only: it changes nothing. Returns one line per agent: "<name> - last started <ISO time>", or "never started" for an agent that has mail waiting but has not run yet. Your own name is marked "(you)". A recent start time suggests the agent is active, but it does not guarantee a session is open right now.