The programming language for agents
BAML looks like TypeScript, but every feature is built so agents make fewer mistakes:
any nor casting dangerously to any type.Explore the website and examples.
brew install baml
baml agent install
baml init
baml ide install --codeOr read the quickstart.
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.
0.17.1 nightlies remove `#"…"#` hash string literals (E0098) with no render-preserving migration path — the backtick replacement dedents indent-bearing prompt fragments
String literals do not decode \\xHH / \\uHHHH escapes (kept raw)
baml-bridge 0.20.1 writes full prompts to <cwd>/.baml/profiles-v1 by default; please document/support disabling it
Tree-sitter grammar rejects documented backtick prompt syntax
@boundaryml/baml-bridge npm package has no license field (npm shows "Proprietary")
SAP silently discards array elements it cannot coerce — `baml run` returns exit 0 with fewer rows and NO signal on any channel (stdout, stderr, `--output-format debug`, `--log-file`, `BAML_LOG`)
[feature] Rust generator: derive Serialize/Deserialize (or an equivalent) on generated client types
[bug] `catch_all` does not catch an `assert.*` failure raised inside the called function
TypeScript client: `///` doc comments containing `*/` break out of the generated JSDoc comment
[bug] Node bridge 0.19.0: a host callable returning an integral number for a `float` panics with HostContractViolation