Overview

What Sufleur is and how the pieces fit together.

Sufleur is a registry and codegen toolchain for LLM prompts. You write prompt templates once in the web app, version and publish them like packages, then pull them into your code as type-safe functions you can call. The point is to stop pasting prompt strings into application code, and to give your team the same versioning discipline for prompts that you already have for libraries.

There are three surfaces, and you'll touch all of them eventually:

NameDescription
Web app (sufleur.com)Where prompts are authored, versioned, published, and shared. This is also where you create API keys and manage workspaces.
CLI (`sufleur`)A Go binary that resolves your project's prompt dependencies, fetches them from the registry, and writes typed code to disk.
Generated SDKThe code the CLI emits — TypeScript or Python — that you import into your app. One typed function per prompt, with input validation and structured-output parsing.

How a prompt flows through Sufleur

  1. Author a prompt in the web app. Templates use Mustache plus a few extensions for typing variables and declaring an output schema.
  2. Publish a version (semver, e.g. 1.2.0). Published versions are immutable.
  3. Add the prompt to your project: sufleur add @workspace/prompt.
  4. Install to resolve and cache: sufleur install.
  5. Generate typed code: sufleur generate.
  6. Call the prompt from your code with full IDE autocomplete and validation.

Where to go next