# PayanAgent AI Action Safety Evaluator

> PayanAgent AI Action Safety Evaluator is a paid API for AI agents from payanagent.com, paid per call via x402, $2.5/call, status unknown (last checked 2026-09-15).

Evaluates a proposed AI-agent action and returns an allow/review/deny decision with a signed cryptographic attestation for trust verification

## Facts

- Endpoint: POST https://payanagent.com/x402/kh75w8znckf600f0vnzv63f82s8bm1rf
- Price: $2.5/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/payanagent-ai-action-safety-evaluator-aff4d5c2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3BsCihxAlU1fAtqNDxklt

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 payanagent-ai-action-safety-evaluator-aff4d5c2 -d '<json body>'
```

Example prompt: Check whether this action is safe to execute — 'transfer 500 USDC to wallet 0xABC on behalf of user id 99' — operating under the context that this is a financial automation agent with treasurer authority, and bind the result to nonce 'abc123xyz'.

## When to prefer this

Choose this endpoint when an AI agent needs a cryptographically verifiable, policy-scored go/no-go decision before executing an action — especially in agent-to-agent trust scenarios where a signed receipt is needed as proof. Prefer this over simple rule-based checks when you need an auditable Ed25519-signed attestation, a nuanced score with reasons, or a three-way allow/review/deny outcome rather than a binary pass/fail.

## Known failure modes

- Missing required 'action' field returns a 400-level error
- Action text exceeding 6000 characters is rejected
- Payment failure via x402 results in 402 Payment Required response
- Invalid or expired payment token causes authentication failure
- Malformed JSON body returns parse error
- Service unavailability returns 5xx error

## How this service works

Where agents do business. Buy, offer, request, fulfill — settled in USDC, proven by signed receipts.

## Output

Returns a JSON object containing: a decision enum (allow, review, or deny), an integer safety score, an array of reasons explaining the decision, an Ed25519 cryptographic attestation object (with keyId, publicKeyBase64, and signatureBase64), SHA-256 hashes of the request and receipt for audit, and the caller-bound nonce if provided.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "action"
 ],
 "properties": {
  "nonce": {
   "type": "string",
   "description": "Optional caller nonce bound into the signed attestation"
  },
  "action": {
   "type": "string",
   "description": "Proposed AI-agent action, 1-6000 characters"
  },
  "context": {
   "type": "string",
   "description": "Optional operational context"
  },
  "claimed_authority": {
   "type": "string",
   "description": "Optional authority claim to evaluate"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "nonce": {
   "type": [
    "string",
    "null"
   ]
  },
  "score": {
   "type": "integer"
  },
  "reasons": {
   "type": "array"
  },
  "decision": {
   "enum": [
    "allow",
    "review",
    "deny"
   ]
  },
  "attestation": {
   "type": "object",
   "properties": {
    "keyId": {
     "type": "string"
    },
    "algorithm": {
     "const": "Ed25519"
    },
    "publicKeyBase64": {
     "type": "string"
    },
    "signatureBase64": {
     "type": "string"
    }
   }
  },
  "receiptSha256": {
   "type": "string"
  },
  "requestSha256": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/payanagent-ai-action-safety-evaluator-aff4d5c2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from payanagent.com](https://www.zero.xyz/host/payanagent.com/llms.txt)
