📬 Dead Letter Queue

Dead Letter Queue for AI Agents

Catch failed tasks. Inspect payloads. Retry with one click.

What it does

When an agent task fails, catch the error payload and original input in a dead letter queue. Inspect failures, debug payloads, and retry — all via API or webhook. No message broker to configure.

Why agents need this

Get started in 30 seconds

One API call. No SDK. No configuration.

cURL

curl -X POST https://www.agent-utils.com/api/dlq \
  -H "x-api-key: au_your_key" \
  -H "Content-Type: application/json" \
  -d '{
    "agentName": "data-pipeline",
    "taskType": "import_csv",
    "error": "Column count mismatch: expected 12, got 15",
    "payload": {"fileId": "abc123", "rows": 5000}
  }'

Python

import requests

requests.post(
    "https://www.agent-utils.com/api/dlq",
    headers={"x-api-key": "au_your_key"},
    json={
        "agentName": "data-pipeline",
        "taskType": "import_csv",
        "error": "Column count mismatch",
        "payload": {"fileId": "abc123", "rows": 5000},
    },
)

JavaScript

const res = await fetch("https://www.agent-utils.com/api/dlq", {
  method: "POST",
  headers: {
    "x-api-key": "au_your_key",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    agentName: "data-pipeline",
    taskType: "import_csv",
    error: "Column count mismatch",
    payload: { fileId: "abc123", rows: 5000 },
  }),
});

Use cases

API call failures

Agent calls an external API that returns 500 — capture the request + error for retry

Data validation errors

Agent produces output that fails downstream validation — save it for human review

Timeout recovery

Long-running agent task times out — capture partial state for resumption

Multi-step pipeline failures

Step 3 of 5 fails — capture which step, what input, and the error for targeted retry

AgentUtils vs. alternatives

Traditional tools like AWS SQS DLQ, RabbitMQ Dead Letter, Apache Kafka DLQ require SDK integration, credential management, and infrastructure setup. AgentUtils replaces all of that with a single HTTP call.

AgentUtilsAlternatives
Setup time30 secondsHours to days
SDK requiredNo (REST API)Yes
Credentials to manage1 API keyMultiple keys/tokens
InfrastructureZero-configProvision + configure

Related tools

All AgentUtils tools

Start building for free

500 free API calls per month. No credit card required.