A

Agent Action Safety Quick Gate · Action Safety Quick

by Agent Action Safety Quick Gate

POSTBase

$0.01

per call · USD Coin on Base

AI agent action safety: one-cent deterministic preflight for every consequential agent command. Returns risk, matched rule ids, and an exact machine-readable escalation call: full DestructGuard evidence for medium risk or the complete Action Safety workflow for high and critical risk.

Endpoint

POST https://hermesplant.com/api/agent-services/action-safety/quick

5

Calls / 30d

2

Unique payers / 30d

Aug 17

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://hermesplant.com/api/agent-services/action-safety/quick", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "actor": "codex",
    "branch": "main",
    "command": "git push --force-with-lease origin main",
    "commit": "abc123",
    "diffHash": "sha256:def456",
    "environment": "production",
    "failClosedOnUnmatched": true,
    "intent": "release the verified production build",
    "repo": "github.com/acme/app",
    "target": "origin/main"
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://hermesplant.com/api/agent-services/action-safety/quick" \
  -H "Content-Type: application/json" \
  -d '{"actor":"codex","branch":"main","command":"git push --force-with-lease origin main","commit":"abc123","diffHash":"sha256:def456","environment":"production","failClosedOnUnmatched":true,"intent":"release the verified production build","repo":"github.com/acme/app","target":"origin/main"}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "actionBindingVersion": "hermes-action-v1",
  "actionHash": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
  "matchedRuleIds": [
    "git.force-push"
  ],
  "nextRecommendedCall": {
    "method": "POST",
    "path": "/api/agent-services/action-safety/run",
    "priceCents": 25
  },
  "requiresApproval": true,
  "risk": "critical",
  "service": "action-safety-quick-gate",
  "status": "scored"
}

Payment details

Pay to0x5171c72a59b994a80097b6ab52d4a4fcb8bf4c1b
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of AI & Inference and the homepage with a featured placement.

Get featured →

More from Agent Action Safety Quick Gate & similar services