Skip to main content

Build prompts like product code

Build type-safe prompts as first-class functions. Validate inputs with Zod, render via template literals or Eta, and recover when providers misbehave—without leaving TypeScript.

Schema-first authoring

Zod enforced

Input/output schemas live next to your template so TypeScript, runtime validation, and docs stay in sync.

Structured output

AI SDK compat

Built on Vercel's AI SDK: works with generateObject/generateText, Ollama, Gemini, OpenAI, and more.

Logging & recovery

pino + fallbacks

Built-in pino logging, Eta templating, and fallback parsing help you debug production runs.