Type-safe domain-specific language for AI prompt engineering and structured extraction with live previews
Completely open source and free to use locally or in production with zero license cost
BAML is a type-safe programming language engineered for prompting and structured data extraction from LLMs. It brings compile-time type checking, streaming JSON repair, interactive playgrounds inside VS Code, and native client generation for Python, TypeScript, and Ruby.