Skip to content
beta research

Prompt Language

Structured prompt specification language for AI systems

Role

Solo Developer

Timeframe

2025

Stack

TypeScript PEG.js Language Design AI

Overview

Prompt Language is a formal specification for writing structured, composable prompts for AI systems. Instead of ad-hoc string templates, it provides a grammar that makes prompts testable, versioned, and reusable.

Key Ideas

  • Structured sections: Define system prompts, user messages, and tool schemas in a single file
  • Composability: Import and extend prompt templates
  • Variables: Type-safe variable injection
  • Tooling: Parser, validator, and formatter

Motivation

As AI systems grow more complex, prompt engineering becomes a software engineering discipline. Prompt Language treats prompts as first-class artifacts with the same rigor as code — version controlled, tested, and reviewed.

Outcomes

  • 3+ GitHub stars
  • Formal grammar specification
  • Composable prompt templates

Need a product or system like this shipped properly?

Send the product, workflow or problem you are working on. We can talk it through in a consultation, build it together in tutoring sessions, or scope it as a project quoted before work starts.

See consultations, tutoring and projects