# UCF v2 Identity Compiler

> UCF v2 Identity Compiler is a paid API for AI agents from unlike-tale-plays-rose.trycloudflare.com, paid per call via x402, $0.5/call, status unknown (last checked 2026-09-16).

Compiles a structured persona pack (name, axioms, voice, constraints) into a ready-to-use system prompt for AI agents

## Facts

- Endpoint: POST https://unlike-tale-plays-rose.trycloudflare.com/v1/compile
- Price: $0.5/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ucf-v2-identity-compiler-ea62b553
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GdSh6bd1w4D5MgYs8Yhbs

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-ea62b553 -d '<json body>'
```

Example prompt: Compile a system prompt for a persona named 'Aria' with axioms like 'always cite sources' and 'prioritize clarity', voice set to 'concise and professional', constraints never to 'make claims without evidence' or 'use jargon', operated by 'Acme Corp' in the role of 'customer support lead', for a task of 'handling billing inquiries' on the 'web' platform.

## When to prefer this

Choose this endpoint when you need to programmatically generate structured, consistent system prompts from modular persona definitions — especially useful in multi-agent pipelines, persona management systems, or platforms where different operators deploy different agent identities at scale. Prefer this over hand-crafting system prompts when you want deterministic, schema-driven prompt assembly with operator and session context baked in.

## Known failure modes

- Missing required persona fields (name, axioms, voice, never) returns a validation error
- Axioms array outside 2–4 item bounds causes schema rejection
- Missing operator name or role results in an incomplete compilation or error
- Malformed JSON body returns a 400-level error
- Service unavailability on the ephemeral Cloudflare tunnel returns a 5xx or connection timeout
- Payment failure via x402 protocol blocks the request before compilation

## How this service works

UCF v2 Identity Compiler â€” persona pack in, system prompt out

## Output

A compiled system prompt string derived from the provided persona pack — incorporating the agent's name, behavioral axioms, voice style, constraints (never-do rules), operator context, and session task — ready to be injected as a system message into an LLM interaction.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "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"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ucf-v2-identity-compiler-ea62b553/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from unlike-tale-plays-rose.trycloudflare.com](https://www.zero.xyz/host/unlike-tale-plays-rose.trycloudflare.com/llms.txt)
