Spec templates

Copy-pasteable RuntimeAISpec patterns.

12 production-shaped TypeScript spec templates covering the typical LLM-in-the-loop features across 9 sectors. Each template includes the closed-enum schema, prompt template, reviewer gate, fallback behaviour, and the regulations it addresses. BSL-1.1 source-available SDK; copy + modify in your codebase.

Updated ·12 templates · 9 sectors·Quickstart →

Fintech & Payments

Sector page →

Healthtech

Sector page →

HR Tech & Recruiting

Sector page →

PropTech & Real Estate

Sector page →

Customer Support SaaS

Sector page →

Cybersecurity SMBs

Sector page →

Energy & Utilities

Sector page →

How to use a template

  1. Create a free Dev-tier workspace for the API key + Ed25519 signing key.
  2. Install the SDK: npm install https://promethean.software/runtime-ai/latest.tgz.
  3. Copy the template code into your codebase. AdjustmodelIdentityand prompt template for your context.
  4. Call runConstrainedAI(spec, input, { client, receiptLogPath, productId, signingKey }) in place of your existing LLM call. (Use createMockRuntimeAIClient(spec) for local testing, or an Anthropic / OpenAI / Azure adapter for production.)
  5. Verify the chain with verify.mjs.