BAML
An open-source programming language for writing typed LLM functions and agents, callable from Python, TypeScript, Go, Java, C# and more.
About BAML
Prompts scattered as strings in code are hard to type-check, test and reuse across languages.
Who it’s for
- Developers building agents in several languages
- Teams that want typed prompts with tests
When to consider it
Consider BAML when you want prompts as typed functions you can test and call from your existing codebase.
Tradeoffs & limitations
- Apache-2.0 licensed; it adds a new language and code-generation step to your project.
SOTA overview · Documentation-based assessment · Sources & review method
Updates
No updates shared yet.
Discussion
Newest firstAsk a question or share how you use BAML.
Keep it helpful. Community rules
Loading discussion…
Sources & review method
Documentation-based assessment · Oct 3, 2026 · Prepared with AI assistance; not a hands-on benchmark.
Checked by SOTA · AI-assisted documentation review. Selection advice is our assessment; verify current requirements for your deployment.
Import history & original evidence
BAML official website
An open-source programming language for writing typed LLM functions and agents, callable from Python, TypeScript, Go, Java, C# and more.
Based on official pages and announcements checked on 2026-10-03. No hands-on test, performance benchmark or popularity ranking is claimed.