BAML icon

BAML

Domain-specific language for prompts and structured generation that compiles to multiple programming languages.

Visit Website Agent Frameworks
agent-framework open-source dsl type-safe

Overview

Domain-specific language for prompts and structured generation that compiles to multiple programming languages.

Details

BAML (Boundary AI Markup Language) is a domain-specific language for prompts and structured generation that compiles to Python, TypeScript, Go, Ruby, and other languages. BAML treats prompts as typed functions with explicit input/output schemas, generating type-safe code in multiple languages. BAML represents a distinctive paradigm for LLM development emphasizing type safety and tooling.

Tags

agent-framework, open-source, dsl, type-safe