{"uid":"cap_HA8DLekbZrf0Yqk4UYX9P","slug":"redlynr-agent-guardrail-decision-engine-2539186f","name":"Redlynr Agent Guardrail Decision Engine","description":"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.","url":"https://redlynr.com/run","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"agent_id":{"type":"string","description":"Identifies the specific agent, used for pause/retry tracking"},"chain_id":{"type":"string","description":"Identifies the specific agent chain/task, used for depth/step tracking"},"is_retry":{"type":"boolean","description":"Set true if this call represents a retry of a previous failed step (default false)"},"step_cost":{"type":"number","description":"Cost of this step in USD, must be >= 0 (default 0)"},"tenant_id":{"type":"string","description":"Identifies the customer account; policy and counters are scoped to this"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_jcaMfELpKMBs8jA8jVe8l","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Evaluates a single pending agent action against configured policy thresholds and returns a proceed, slow-down, or stop decision based on cost, chain depth, step count, retry budget, and request volume pressure.","exampleAgentPrompt":"Before taking the next step, check with Redlynr whether I'm allowed to proceed — my current chain depth is 4, I've used 12 of 20 steps, spent $0.05 of a $0.10 budget, and made 30 requests in the last minute.","exampleUseCases":[{"title":"Budget enforcement for autonomous agent","prompt":"I have an autonomous agent that's been running for a while — before it makes another API call, check if it's still within budget. It's used $0.08 of a $0.10 cost cap, taken 15 steps out of 20, and is at chain depth 3."},{"title":"Rate pressure throttle for high-volume agent","prompt":"My agent is processing a lot of tasks and I'm worried it's hammering downstream APIs — before the next action, ask Redlynr if it should proceed or slow down given it's made 150 requests in the last 60 seconds."},{"title":"Retry budget gate for failing agent loop","prompt":"My agent keeps retrying a failing tool call — it's on retry attempt 4. Ask Redlynr whether it should keep trying or stop entirely, given the retry budget I configured in policy."}],"resultDescription":"A single structured decision object indicating one of three outcomes: 'proceed' (action is safe to take), 'slow_down' (action should be delayed, with a reason string and recommended wait time in seconds), or 'stop' (action should be halted entirely, with a reason string). No policy configuration is returned; this endpoint only reports the action-level decision.","failureModes":["Policy not configured — if /policy has not been set up, the engine may return an error or a default decision","Invalid or missing required fields in the request body — returns a 4xx error","Service unavailable or timeout — agent should fail-safe by defaulting to stop or slow-down","Budget or step values not matching expected types — returns validation error","High latency under extreme load — decision may arrive after the intended action window"],"whenToPreferThis":"Use this endpoint when you need a lightweight, synchronous per-action guardrail check inside an agent loop. It is purpose-built for agentic workflows and returns a machine-readable three-way decision optimized for autonomous execution. Prefer this over building custom threshold logic when you need cost, depth, step, retry, and volume pressure evaluated together in a single call. Best suited for x402-compatible agent stacks where per-call micropayments are acceptable.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:37:38.264Z","isFirstParty":false}