BAML
boundaryml.comThe first language for building AI agents with type safety
Dev Toolsai-agentstype-safetyllmcode-generationopen-sourceprompt-engineeringdeveloper-tooling

About
BAML (Basically A Made-Up Language) is a domain-specific language for developers to define, test, and deploy AI prompt functions with type safety. It generates native client code for Python, TypeScript, Ruby, Go, and other languages, enabling structured and validated outputs from any LLM provider. It includes a VSCode extension, a testing playground, and CI/CD integration for reliable AI application development.
Problem
Building AI pipelines is unreliable and lacks type safety, making it hard to ensure structured, validated outputs from LLMs.
For
Software developers building AI applications and LLM-powered pipelines
How it works
Developers define prompt functions in BAML schemas, then the BAML CLI generates type-safe native functions in their language of choice, which can be tested locally or in CI/CD and deployed anywhere.
Business model
open-source
Status
launched
Company
Boundary