# UCF v2 Identity Compiler

> UCF v2 Identity Compiler is a paid API for AI agents from food-odds-award-exhaust.trycloudflare.com, paid per call via x402, $0.5/call, status unknown (last checked 2026-09-15).

Compiles a structured persona pack (name, axioms, voice, constraints, operator context) into a ready-to-use system prompt for an AI agent or chatbot deployment.

## Facts

- Endpoint: POST https://food-odds-award-exhaust.trycloudflare.com/v1/compile
- Price: $0.5/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ucf-v2-identity-compiler-30800ccd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_b98ir2Isy0SdgLRW82fKy

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 ucf-v2-identity-compiler-30800ccd -d '<json body>'
```

Example prompt: Compile a system prompt for an AI persona named 'Aria' with axioms like 'always be concise' and 'cite sources', a warm and professional voice, never discussing politics or competitors, operated by 'Acme Corp' in the role of 'customer support assistant'.

## When to prefer this

Choose this endpoint when you need to programmatically generate a structured, deployable system prompt from a well-defined persona specification and operator context — especially when building multi-agent pipelines, SaaS products with configurable AI personas, or platforms that need dynamic system prompt generation at runtime. Prefer this over hand-writing system prompts when persona attributes (axioms, voice, constraints) are data-driven or user-configurable.

## Known failure modes

- Missing required persona fields (name, axioms, voice, never) returns a validation error
- Fewer than 2 or more than 4 axioms causes schema rejection
- Missing operator name or role returns a 400-level error
- Payment failure via x402 protocol blocks the request
- Malformed body type or method mismatch returns an input error
- Cloudflare tunnel downtime may cause 502 or timeout errors

## How this service works

UCF v2 Identity Compiler Ã¢â‚¬â€ persona pack in, system prompt out

## Output

Returns a compiled system prompt object derived from the provided persona pack, operator context, and optional session metadata — ready to be injected as the system message for an AI model deployment.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "persona",
      "operator"
     ],
     "properties": {
      "persona": {
       "type": "object",
       "required": [
        "name",
        "axioms",
        "voice",
        "never"
       ],
       "properties": {
        "name": {
         "type": "string"
        },
        "never": {
         "type": "array",
         "items": {
          "type": "string"
         }
        },
        "voice": {
         "type": "string"
        },
        "axioms": {
         "type": "array",
         "items": {
          "type": "string"
         },
         "maxItems": 4,
         "minItems": 2
        },
        "symbol": {
         "type": "string"
        }
       }
      },
      "session": {
       "type": "object",
       "properties": {
        "task": {
         "type": "string"
        },
        "model": {
         "type": "string"
        },
        "memory": {
         "type": "array",
         "items": {
          "type": "string"
         }
        },
        "platform": {
         "type": "string"
        }
       }
      },
      "operator": {
       "type": "object",
       "required": [
        "name",
        "role"
       ],
       "properties": {
        "name": {
         "type": "string"
        },
        "role": {
         "type": "string"
        }
       }
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ucf-v2-identity-compiler-30800ccd/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from food-odds-award-exhaust.trycloudflare.com](https://www.zero.xyz/host/food-odds-award-exhaust.trycloudflare.com/llms.txt)
