Skip to content
Fourohtwo

Human-in-the-loop approval for AI agents

askhuman.grindfree.net/v1/request

Human-in-the-loop approval for AI agents. Before a refund, customer email, delete or deploy, one paid call puts the proposed action in front of the owner via a one-tap approve/deny link on ntfy, Slack, Discord or any webhook. The agent gets approve, deny or edit back by poll, long-poll or an HMAC-signed callback. Fails closed: no answer before the timeout means deny. Audit trail kept 30 days. $0.0

BaseAnswering
POSThttps://askhuman.grindfree.net/v1/request

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://askhuman.grindfree.net/v1/request", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"action":{"args":{"amount":82.1,"order":"1234"},"risk":"medium","summary":"Customer says the item arrived broken; refund $82.10 to the original card.","title":"Refund order #1234","tool":"stripe.refunds.create"},"callback_url":"https://agent.example.com/hooks/askhuman","notify":{"ntfy_topic":"my-agent-approvals-7f3a"},"on_timeout":"deny","timeout_seconds":3600}),
});
console.log(await res.json());

Example input

{
  "action": {
    "args": {
      "amount": 82.1,
      "order": "1234"
    },
    "risk": "medium",
    "summary": "Customer says the item arrived broken; refund $82.10 to the original card.",
    "title": "Refund order #1234",
    "tool": "stripe.refunds.create"
  },
  "callback_url": "https://agent.example.com/hooks/askhuman",
  "notify": {
    "ntfy_topic": "my-agent-approvals-7f3a"
  },
  "on_timeout": "deny",
  "timeout_seconds": 3600
}