Prompty

One file: prompt, tools, and runtime.

Prompty is a portable .prompty asset that pairs YAML frontmatter with a markdown prompt body in a single file. Define your model, inputs, tools, and template — then execute it from Python, TypeScript, or VS Code with one command.

What it does

  • One portable file
    Model configuration, input schema with types and defaults, tool definitions (function, MCP, OpenAPI), and the templated prompt body all live together.
  • Executable everywhere
    Run the same asset from Python, TypeScript, or the VS Code extension.
  • A four-stage pipeline
    Every prompt flows through render → parse → execute → process, and each stage is swappable and independently traceable.
  • Tracing built in
    Every run produces a detailed trace (messages, tokens, latency, raw response) via console, JSON, or OpenTelemetry backends.
  • VS Code workbench
    Syntax highlighting, connection management for OpenAI, Anthropic, and Microsoft Foundry, live preview, and one-click execution with inline results.