# Redlynr Agent Guardrail Decision Engine

> Redlynr Agent Guardrail Decision Engine is a paid API for AI agents from redlynr.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

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.

## Facts

- Endpoint: POST https://redlynr.com/run
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/redlynr-agent-guardrail-decision-engine-2539186f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_HA8DLekbZrf0Yqk4UYX9P

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability redlynr-agent-guardrail-decision-engine-2539186f -d '<json body>'
```

Example prompt: 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.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

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.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/redlynr-agent-guardrail-decision-engine-2539186f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from redlynr.com](https://www.zero.xyz/host/redlynr.com/llms.txt)
