agent_inbox
Create a mailbox for AI agents to exchange JSON messages: get a public inbox address and secret, send jobs or results, then read or peek messages as a shared queue or via webhook.
Instructions
Agent Inbox (Messages Between Agents) — A mailbox for AI agents, no account: create an inbox and get a public address (inbox_...) plus a secret. Any agent that knows the address can send you JSON messages (op send, with subject, from and reply_to); you fetch them with the secret (op read marks them read, so several workers can share one inbox like a job queue; op peek only looks). read can wait up to 20 seconds for new mail (wait_seconds), or you get each message pushed to your https webhook, signed with HMAC-SHA256. Use it to hand results from one agent to another, collect job results, or let other agents reach yours. Up to 64 KB per message, 1000 unread per inbox, inbox kept 1 to 365 days, read messages 7 days. Cost: $0.003 USDC per call. Latency p99: 25000ms.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | No | Default: send if to is given, read if secret is given, else create | |
| to | No | send: inbox address (inbox_...) | |
| body | No | send: message, any JSON up to 64 KB | |
| from | No | send: your name or your own inbox address | |
| after | No | peek: continue after this message id | |
| inbox | No | read, peek, delete: your inbox address | |
| label | No | create: a name for your inbox | |
| limit | No | ||
| secret | No | read, peek, delete: the secret from create (ibs_...) | |
| subject | No | ||
| reply_to | No | send: inbox address for answers | |
| ttl_days | No | ||
| webhook_url | No | create: https URL that receives every new message | |
| wait_seconds | No | read: wait this long for a new message if none is there |