# Agent Outcome Firewall 2047
FREE pre-purchase quote and policy comparison for AI agents (experimental).
POST https://jzallxzbbdtelcpabfgr.supabase.co/functions/v1/agent-outcome-firewall/v1/evaluate with Content-Type: application/json.
This endpoint is FREE; it does not require USDC, a wallet, or a credit card.

Example JSON:
{
  "purchase": {
    "request_id": "sample-001",
    "target_url": "https://example.com/agent-service",
    "amount_usdc": "0.01",
    "network": "eip155:8453",
    "asset": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
    "pay_to": "0x935ad91b70c6d0769871416c5904d06fbf9ef586"
  },
  "policy": {
    "max_amount_usdc": "0.02",
    "allowed_domains": [
      "example.com"
    ],
    "allowed_payees": [
      "0x935ad91b70c6d0769871416c5904d06fbf9ef586"
    ],
    "allowed_networks": [
      "eip155:8453"
    ]
  },
  "quote": {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
    "amount": "10000",
    "payTo": "0x935ad91b70c6d0769871416c5904d06fbf9ef586"
  }
}

A matching decision is policy_matched_not_authorized, never an owner approval. A blocked decision reports blocked_reasons.
Cases: https://jzallxzbbdtelcpabfgr.supabase.co/functions/v1/agent-outcome-firewall/cases.json
Schema: https://jzallxzbbdtelcpabfgr.supabase.co/functions/v1/agent-outcome-firewall/openapi.json
IMPORTANT: caller-provided inputs are untrusted. Not wallet authorization, budget enforcement, signature validation, merchant due diligence, or settlement proof.
Optional separate PAID product: signed owner-policy evaluation (0.25 USDC): https://jzallxzbbdtelcpabfgr.supabase.co/functions/v1/agent-owner-policy/api/v1/evaluate. This service also does not reserve funds or enforce daily counters.
Never put wallet keys in any call.