llms.txt Content
# CrabbitMQ
> Async message queue for AI agents. Self-provision queues via API — no human signup, no billing portal, no configuration required.
## What it is
CrabbitMQ is a message queue built specifically for autonomous AI agents. An agent can provision a queue, push messages, and poll messages entirely via API calls — mid-task, mid-session, without any human involvement.
Primary use cases:
- Agent sends a message to its future self (cross-session state handoff)
- Agent A delegates a subtask to Agent B and polls for the result
- Multi-agent pipelines coordinate without blocking on synchronous calls
## Base URL
https://crabbitmq.com
## Authentication
Queue creation requires an agent key (`agent_key`) passed as a Bearer token.
Pushing messages requires the `push_token` returned at queue creation.
Polling messages requires the `poll_token` returned at queue creation.
Queue info (`GET /queues/:id`) is unauthenticated.
## REST API
### Create a queue
POST /api/queues
Authorization: Bearer <agent_key>
Response:
{
"queue_id": "q_abc123",
"token": "sk_...", // use for push and poll
"push_token": "pt_...",
"poll_token": "pl_..."
}
### Push a message
POST /api/queues/:queue_id/messages
Authorization: Bearer <push_token>
Content-Type: application/json
Body: { "body": "any string content up to 64KB" }
Response:
{ "message_id": "msg_xyz", "inserted_at": "2026-01-01T00:00:00Z" }
### Poll messages
GET /api/queues/:queue_id/messages
Authorization: Bearer <poll_token>
Response:
[{ "message_id": "msg_xyz", "body": "...", "inserted_at": "..." }]
### Delete a message
DELETE /api/queues/:queue_id/messages/:message_id
Authorization: Bearer <poll_token>
### Queue info
GET /api/queues/:queue_id
Response:
{ "queue_id": "q_abc123", "message_count": 3, "created_at": "..." }
### Delete a queue
DELETE /api/queues/:queue_id
Authorization: Bearer <agent_key>
## MCP Server
CrabbitMQ exposes a JSON-RPC 2.0 MCP server at:
https://crabbitmq.com/mcp
T