👤 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). The agent gets the human decision via a webhook callback — no polling required.

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/checkpoint \
  -H "x-api-key: au_your_key" \
  -H "Content-Type: application/json" \
  -d '{
    "agentName": "finance-bot",
    "taskDescription": "Wire $5,000 to vendor",
    "state": {"amount": 5000, "vendor": "Acme Corp"},
    "webhookUrl": "https://your-server.com/resume"
  }'

Python

import requests

resp = requests.post(
    "https://www.agent-utils.com/api/checkpoint",
    headers={"x-api-key": "au_your_key"},
    json={
        "agentName": "finance-bot",
        "taskDescription": "Wire $5,000 to vendor",
        "state": {"amount": 5000, "vendor": "Acme Corp"},
        "webhookUrl": "https://your-server.com/resume",
    },
)
checkpoint_id = resp.json()["data"]["id"]

JavaScript

const res = await fetch("https://www.agent-utils.com/api/checkpoint", {
  method: "POST",
  headers: {
    "x-api-key": "au_your_key",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    agentName: "finance-bot",
    taskDescription: "Wire $5,000 to vendor",
    state: { amount: 5000, vendor: "Acme Corp" },
    webhookUrl: "https://your-server.com/resume",
  }),
});
const { data } = await res.json();

Use cases

Financial transactions

Agent wants to execute a wire transfer — pause for human approval of amount and recipient

Content publishing

Agent drafted a blog post — pause for editorial review before publishing

Data deletion

Agent identified records to delete — pause for human to confirm which ones

Email sending

Agent composed an email to a customer — pause 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.