{"uid":"cap_b98ir2Isy0SdgLRW82fKy","slug":"ucf-v2-identity-compiler-30800ccd","name":"UCF v2 Identity Compiler","description":"UCF v2 Identity Compiler Ã¢â‚¬â€ persona pack in, system prompt out","url":"https://food-odds-award-exhaust.trycloudflare.com/v1/compile","method":"POST","headers":{},"bodySchema":{"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"}}}}},"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_e232NVlTjt7m0YNf4PJ-4","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, operator context) into a ready-to-use system prompt for an AI agent or chatbot deployment.","exampleAgentPrompt":"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'.","exampleUseCases":[{"title":"Customer support bot persona deployment","prompt":"I need a system prompt for a customer support bot named 'Nova' — it should always be empathetic and solution-focused, speak in a friendly casual voice, never mention refunds unprompted or bad-mouth competitors, and it's operated by 'ShopEasy' as a 'retail support agent'."},{"title":"Internal knowledge assistant persona","prompt":"Generate a system prompt for an internal AI assistant called 'Sage' with axioms around accuracy and confidentiality, a formal tone, it should never share user data or speculate without evidence, and it's deployed by 'LegalCo' in the role of 'legal research assistant'."},{"title":"Multi-platform AI persona for a SaaS product","prompt":"Compile a UCF persona pack into a system prompt for 'Kai', our SaaS onboarding assistant — axioms are 'be welcoming' and 'guide step by step', voice is enthusiastic and clear, never make pricing promises, operator is 'DevTools Inc' with role 'onboarding guide', and we're deploying this on Slack."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:33:34.536Z","isFirstParty":false}