{"uid":"cap_GdSh6bd1w4D5MgYs8Yhbs","slug":"ucf-v2-identity-compiler-ea62b553","name":"UCF v2 Identity Compiler","description":"UCF v2 Identity Compiler â€” persona pack in, system prompt out","url":"https://unlike-tale-plays-rose.trycloudflare.com/v1/compile","method":"POST","headers":{},"bodySchema":{"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"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.5","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.5/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.5","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.5","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm__wTETf2vaKO7vqm6dPzsl","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.5","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Compiles a structured persona pack (name, axioms, voice, constraints) into a ready-to-use system prompt for AI agents","exampleAgentPrompt":"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.","exampleUseCases":[{"title":"Customer support agent persona deployment","prompt":"Build me a system prompt for a customer support persona named 'Nova' — her axioms are 'be empathetic' and 'resolve issues in one turn', her voice is 'warm and direct', she should never 'escalate without trying a fix first' or 'use technical jargon', and the operator is 'ShopEasy' with the role of 'frontline support agent'."},{"title":"Content moderation bot identity setup","prompt":"Compile a system prompt for a moderation agent called 'Guardian' with axioms 'enforce community guidelines' and 'assume good intent first', voice style 'neutral and firm', never 'shame users' or 'make final bans without review', operator is 'ForumHub' in the role of 'trust and safety operator', task is 'reviewing flagged posts' on a 'forum' platform."},{"title":"Research assistant persona for enterprise LLM","prompt":"I need a compiled system prompt for a research persona named 'Lumen' — axioms are 'cite primary sources', 'acknowledge uncertainty', and 'prioritize peer-reviewed data', voice is 'academic and precise', it should never 'speculate as fact' or 'omit confidence levels', operator is 'ResearchCo' with role 'analyst', model is 'gpt-4o', task is 'literature summarization'."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T00:31:23.429Z","isFirstParty":false}