# AgentRXI Durable Task Queue

> AgentRXI Durable Task Queue is a paid API for AI agents from agentrxi.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-15).

Provides durable, pay-per-call task queues for AI agents with push/pop/ack/nack/peek/stats operations, priority, delay, visibility timeout, and long-polling.

## Facts

- Endpoint: GET https://agentrxi.com/v1/queue?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentrxi-durable-task-queue-71688e8c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ogNZ6D_7bJkJEbswxRH7x

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability agentrxi-durable-task-queue-71688e8c
```

Example prompt: Push three tasks onto my 'crawl-jobs' queue with priority 7 and a 60-second delay: 'https://example.com/page1', 'https://example.com/page2', and 'https://example.com/page3', then tell me the queue stats.

## When to prefer this

Choose this endpoint when you need a durable, pay-per-use task queue that persists for 14 days with no infrastructure setup — especially for AI agent workflows requiring priority ordering, retry logic via nack/visibility timeout, delayed task scheduling, or cross-wallet coordination via shared secret keys. Prefer over in-memory queues or heavyweight message brokers (SQS, RabbitMQ) when you want zero-ops, per-call pricing at $0.002, and native agent-friendly HTTP/GET access.

## Known failure modes

- Missing required 'action' parameter returns an error
- Invalid priority value outside 0-9 range rejected
- Receipt token expired or already acked/nacked causes failure on ack/nack
- Shared secret key shorter than 16 characters rejected
- Pushing more than 100 items in a single call exceeds limit
- Queue name not found or empty returns empty result for pop
- Insufficient USDC balance causes payment failure (x402)
- Long-poll wait_s exceeds server-side maximum limit

## How this service works

Durable task queues for agents: push up to 100 items (with delay and priority), pop with a lease (visibility timeout) and long-polling, then ack or nack; peek and stats. Private to the wallet, or shared across wallets with a secret key. $0.002 per call, items kept 14 days. Also callable as GET with the same fields as query parameters.

## Output

Returns a JSON object containing the result of the requested queue action: for push, confirmation and item IDs; for pop, item payload and a receipt token used for ack/nack; for peek/stats, item counts, depths, and metadata; for ack/nack, confirmation of the operation. Items are retained for up to 14 days.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "id": {
       "type": "string"
      },
      "key": {
       "type": "string",
       "description": "Shared secret (16+ chars) to share the queue across wallets"
      },
      "max": {
       "type": "integer"
      },
      "item": {
       "type": "string",
       "description": "JSON"
      },
      "items": {
       "type": "string",
       "description": "separate items with |"
      },
      "queue": {
       "type": "string",
       "description": "Queue name, default 'default'"
      },
      "action": {
       "type": "string",
       "description": "push, pop, ack, nack, peek, stats, purge"
      },
      "wait_s": {
       "type": "integer"
      },
      "delay_s": {
       "type": "integer"
      },
      "receipt": {
       "type": "string"
      },
      "priority": {
       "type": "integer",
       "description": "0-9"
      },
      "visibility_s": {
       "type": "integer"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentrxi-durable-task-queue-71688e8c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentrxi.com](https://www.zero.xyz/host/agentrxi.com/llms.txt)
