👤 Human-in-the-Loop

Human-in-the-Loop Approval for AI Agents

Pause agents. Let humans decide. Resume on approval.

What it does

Create a checkpoint that pauses your agent mid-task. A human reviews the proposed action, approves or rejects it, and the agent resumes or stops.

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/v1/checkpoints \
  -H "x-agent-id: finance-bot" -H "x-api-key: agutil_agt_…" \
  -H "content-type: application/json" \
  -d '{
    "title": "Approve wire transfer?",
    "callback_url": "https://your-server.com/resume",
    "timeout_action": "auto_reject",
    "timeout_seconds": 3600
  }'

Python

import requests

resp = requests.post(
    "https://www.agent-utils.com/v1/checkpoints",
    headers={
        "x-agent-id": "finance-bot",
        "x-api-key": "agutil_agt_…",
        "content-type": "application/json",
    },
    json={
        "title": "Approve wire transfer?",
        "callback_url": "https://your-server.com/resume",
        "timeout_action": "auto_reject",
        "timeout_seconds": 3600,
    },
)
checkpoint_id = resp.json()["data"]["id"]

JavaScript

const res = await fetch("https://www.agent-utils.com/v1/checkpoints", {
  method: "POST",
  headers: {
    "x-agent-id": "finance-bot",
    "x-api-key": "agutil_agt_…",
    "content-type": "application/json",
  },
  body: JSON.stringify({
    title: "Approve wire transfer?",
    callback_url: "https://your-server.com/resume",
    timeout_action: "auto_reject",
    timeout_seconds: 3600,
  }),
});
const { data } = await res.json();

Use cases

Financial transactions

Agent wants to execute a transfer and pauses for human approval of amount and recipient

Content publishing

Agent drafted a blog post and pauses for editorial review before publishing

Data deletion

Agent identified records to delete and pauses for human to confirm which ones

Email sending

Agent composed an email to a customer and pauses for manager approval

AgentUtils vs. alternatives

Traditional tools like LangGraph Human-in-the-Loop, Inkeep, Humanloop 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.