# Penny Engine — AI Agent Outcome Guard (Route Plan)

> Penny Engine — AI Agent Outcome Guard (Route Plan) is a paid API for AI agents from penny-paid-batch-production.up.railway.app, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-23).

Validates an AI agent task description and returns a deterministic PASS/FAIL result with a SHA-256 fingerprint via x402 micropayment on Base.

## Facts

- Endpoint: GET https://penny-paid-batch-production.up.railway.app/api/route-plan?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/penny-engine-ai-agent-outcome-guard-route-plan-9a0aa5a9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_DGqM445LgHyB99Lb9593h

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 penny-engine-ai-agent-outcome-guard-route-plan-9a0aa5a9
```

Example prompt: Can you run the Penny Engine outcome guard on my task 'summarize and categorize incoming support tickets' and tell me whether it gets a PASS or FAIL verdict?

## When to prefer this

Choose this endpoint when you need a cheap ($0.001 USDC), deterministic, machine-to-machine gate in an agentic pipeline — specifically when you want a PASS/FAIL verdict plus a cryptographic SHA-256 fingerprint for a plain-language task description before committing to downstream execution. Prefer it over heavier LLM-based validators when you need a fast, auditable, reproducible result with a micropayment trail on Base.

## Known failure modes

- Missing or empty 'task' query parameter returns a validation error
- Task string outside 4-160 character range is rejected
- Payment failure via x402 results in 402 Payment Required with no verdict
- Non-GET HTTP method returns method-not-allowed error
- Malformed request body returns schema validation error

## How this service works

Machine-to-machine result validation via x402. One structured call, deterministic PASS or FAIL and SHA-256 fingerprint, $0.001 USDC on Base.

## Output

Returns a JSON object with a route plan type (M2M_AGENT_ROUTE_PLAN), execution status (NOT_PERFORMED), a deterministic PASS or FAIL verdict, a SHA-256 fingerprint of the task, and an alternatives array. Costs $0.001 USDC per call settled via x402 on Base.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "task"
     ],
     "properties": {
      "task": {
       "type": "string",
       "description": "Plain-language task, 4-160 characters"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "task": "validate JSON records",
  "type": "M2M_AGENT_ROUTE_PLAN",
  "execution": "NOT_PERFORMED",
  "alternatives": []
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/penny-engine-ai-agent-outcome-guard-route-plan-9a0aa5a9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from penny-paid-batch-production.up.railway.app](https://www.zero.xyz/host/penny-paid-batch-production.up.railway.app/llms.txt)
