← Open Source

The programming language for agents.

AI EngineeringPrompt & ScaffoldRust
Momentum
+1stars in 24 hours+0.0%
9.62k
Stars
534
Forks
+15
This week
100
Contributors
Created 2023-10-06 · Updated 2026-12-04 · #4165 today
Top developers
README

BAML: Basically A Made-up Language

BAML is the programming language for agents.

Homepage | Explore BAML | Discord

BAML looks like TypeScript, but every feature is built so agents make fewer mistakes:

  • It has a type system like Rust, but compiles even faster than Go.
  • Types persist at runtime. There is no any nor casting dangerously to any type.
  • Errors are typed and statically analyzed.
  • The filesystem describes the modules/namespaces.
  • Has green threads, and colorless concurrency like Go
  • Built-in tests / eval framework
  • Built-in stdlib for agents
  • Every baml tool is natively designed for agents, with no garbage outputs, etc.
  • Can be run standalone or adopt incrementally (you can call a BAML function from TS, Py, Go, C#, Java, etc).

Explore the website and examples.

Try it out

brew install baml
baml agent install
baml init
baml ide install --code

Or read the quickstart.

Contributing

See our guide on getting started.


Made with ❤️ by Boundary. HQ in Seattle, WA.

We're hiring software engineers who love Rust. Email us or reach out on Discord.

Nearby in the ranking
Similar items

AI Rank for iPhone

Follow AI model rankings

Download on the App Store