Agent guardrail decision engine
Agent guardrail decision engine. Call once before every agent action; returns a single decision — proceed, slow down (with a reason and wait time), or stop — based on cost budget, chain depth, step cap and retry budget, and request volume pressure. Policy thresholds are configured separately via /policy; this endpoint only reports the decision for a single action.
1000 (raw units)
price
7
calls / 30d
5
unique payers
2026-09-17
updated
Provider
redlynr.com · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x1A9a7C72208ABf3552750eB1C4a4F2cA9e8733E5",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "1000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"body": {
"agent_id": "agent_42",
"chain_id": "chain_abc123",
"is_retry": false,
"step_cost": 0.02,
"tenant_id": "acme_corp"
},
"bodyType": "json",
"method": "POST",
"type": "http"
},
"output": {
"example": {
"checks": {
"chain_depth": {
"current": 3,
"limit": 10
},
"cost": {
"limit": 50,
"spent": 12.4
},
"paused": false,
"steps_retries": {
"retries": 0,
"retry_limit": 3,
"step_limit": 25,
"steps": 7
},
"volume": {
"blocking": false,
"pct_used": 42
}
},
"decision": "proceed",
"reason": null,
"wait_seconds": null
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"properties": {
"agent_id": {
"description": "Identifies the specific agent, used for pause/retry tracking",
"type": "string"
},
"chain_id": {
"description": "Identifies the specific agent chain/task, used for depth/step tracking",
"type": "string"
},
"is_retry": {
"description": "Set true if this call represents a retry of a previous failed step (default false)",
"type": "boolean"
},
"step_cost": {
"description": "Cost of this step in USD, must be >= 0 (default 0)",
"type": "number"
},
"tenant_id": {
"description": "Identifies the customer account; policy and counters are scoped to this",
"type": "string"
}
},
"required": [
"tenant_id",
"agent_id",
"chain_id"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST",
"PUT",
"PATCH"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"checks": {
"properties": {
"chain_depth": {
"properties": {
"current": {
"type": "integer"
},
"limit": {
"type": "integer"
}
},
"type": "object"
},
"cost": {
"properties": {
"limit": {
"type": "number"
},
"spent": {
"type": "number"
}
},
"type": "object"
},
"paused": {
"type": "boolean"
},
"steps_retries": {
"properties": {
"retries": {
"type": "integer"
},
"retry_limit": {
"type": "integer"
},
"step_limit": {
"type": "integer"
},
"steps": {
"type": "integer"
}
},
"type": "object"
},
"volume": {
"properties": {
"blocking": {
"type": "boolean"
},
"pct_used": {
"type": "number"
}
},
"type": "object"
}
},
"type": "object"
},
"decision": {
"enum": [
"proceed",
"slow_down",
"stop"
],
"type": "string"
},
"reason": {
"description": "e.g. agent_paused, retries_exhausted, cost_budget_exceeded, chain_depth_exceeded, step_cap_exceeded, volume_pressure_blocked",
"type": [
"string",
"null"
]
},
"wait_seconds": {
"type": [
"number",
"null"
]
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://redlynr.com/run" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://redlynr.com/run");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://redlynr.com/run")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/5935.json, and this resource appears in /discovery/resources and /discovery/search.