AI Framework
8.0k 2026-04-18
BoundaryML/baml
BAML is an AI framework that transforms prompt engineering into schema engineering, enabling developers to build reliable, type-safe AI workflows and agents across multiple programming languages.
Core Features
Schema-driven prompt engineering for reliable AI outputs.
Multi-language client generation (Python, TypeScript, Ruby, Go, C#, Rust, Java).
Integrated tooling for rapid prompt testing and iteration in IDEs.
Full type-safety, streaming, retries, and robust error handling.
Universal tool-calling support for any LLM, even without native APIs.
Quick Start
pip install baml-pyDetailed Introduction
BAML (Basically a Made-up Language) is an innovative AI framework designed to bring engineering rigor to prompt engineering. By treating LLM prompts as functions with defined inputs and outputs, BAML allows developers to focus on schema design rather than ad-hoc prompting. It generates type-safe clients for various languages, ensuring reliable AI workflows and agents. With integrated IDE tooling, BAML significantly accelerates the iteration speed for prompt development, making AI application building more efficient and robust.