
by Boundary
Programming language for agents that generates typed SDKs for your own language and records every call; free, open source, with hosted tracing in early access.
BAML suits platform engineers who want typed LLM functions shared across languages and a trace of every call. It costs nothing to run locally, but it is a new language whose docs Boundary admits trail the product, so a Python team needing only structured output may prefer Instructor or Pydantic AI.
A typed language that generates an SDK in the app's own language and records each call to local SQLite, so LLM calls are traceable with no extra wiring.
Main trade-off
The docs trail the product, which Boundary itself says, and a new language adds learning time.
| Plan | Monthly price | What it includes |
|---|---|---|
| BAML (open source) | Free | Language, compiler, CLI, local playground and generated SDKs, Runs on your machine under Apache-2.0 |
| Boundary Cloud Starter (early access) | Free | 1 GB of data a month, kept 30 days; $4 per GB beyond that, Unlimited members, projects and environments |
| Boundary Cloud Volume (early access) | $250/mo | 5 GB a month with 30-day retention; $3 per GB beyond that, Retention past 30 days at $0.10 per GB; bring-your-own-cloud add-on, Billed annually |
Boundary Cloud bills for the content of function inputs and outputs, logs, network requests and responses and process context; spans, timings, profiles and field names are free, and a value sent again is stored and billed once. Queries are free up to 90 seconds each. It is early access: usage caps, Google sign-in, SAML and OIDC, SCIM and audit logs are all marked coming soon, and every plan has a 60-day money-back guarantee. The local toolchain never calls Boundary's servers.
BAML is an open-source programming language for agents from Boundary, a Seattle company that joined Y Combinator in Winter 2023. It generates typed SDKs for languages including Python and TypeScript, runs on the developer's machine, and records every call to local SQLite, with a hosted tracing service, Boundary Cloud, in early access.
Typed functions
A function declares its prompt, its client (such as openai/gpt-5-mini) and a return type, in a syntax that looks like TypeScript with a Rust-style type system.
Generated SDKs
baml generate writes a typed SDK for the app's own language; Boundary names seven languages on its How BAML works page.
Agent skill
baml agent install adds a version-matched BAML skill for supported coding agents, including Claude Code and Codex.
Local tracing
Calls are recorded to SQLite by default, and BAML_TELEMETRY sets the level to off, low, medium (the default) or high.
Editors and CI
VS Code, Cursor and any language-server client such as Zed, JetBrains or Neovim, plus a GitHub Action that comments on pull requests with code-health metrics.
Single-binary services
A service written wholly in BAML ships as one self-contained binary with no host language.
Boundary Cloud
Hosted traces, dashboards, alerts and SQL queries, switched on by setting BOUNDARY_API_KEY; early access.
| Tool | Price from | Free plan | Runs on | Rating |
|---|---|---|---|---|
| $250/mo | Yes | Web · Mac · Windows | 3.9 | |
| $39/mo | Yes | Web · Mac · Windows | -- | |
| $25/mo | Yes | Web | 3.7 | |
| $53/mo | Trial | Web | 3.6 |
The language and local toolchain are free and open source. Boundary Cloud, in early access, lists Starter at $0 a month with 1 GB of data and Volume at $250 a month, billed annually, with 5 GB; extra data costs $4 per GB on Starter and $3 on Volume (Boundary's pricing page, read 15 November 2026).
Yes. You can install it, write and test programs and generate SDKs without buying anything, and the local toolchain never contacts Boundary's servers. Only the optional Boundary Cloud is paid, and your LLM provider still bills for the model calls themselves.
Not any more. The docs home still describes a language for structured LLM outputs, but the GitHub README describes a language made for agents, while the company's front page now sells tracing and dashboards around it. Because the docs lag the product, trust the installed toolchain over older pages.
Instructor describes itself as a schema-first extraction library with validation and automatic retries, and its docs point to Pydantic AI when you need agents. BAML is heavier, because it adds a language and a build step, but it also generates SDKs and records every call. Choose Instructor for quick extraction inside an existing codebase, and BAML when several services should share one typed contract and one trace.
Install with brew install baml on macOS or Linux, the install script, yay -S baml-bin on Arch, or the PowerShell script on Windows, then run baml init. The command baml agent install installs a skill, matched to the toolchain version, for agents like Claude Code and Codex, and baml ide install --code adds the VS Code extension.
BAML, short for Basically A Made-up Language, is an open-source programming language from Boundary, a Seattle company in Y Combinator's Winter 2023 batch, founded by Vaibhav Gupta (CEO, formerly on Google's Pixel 4 team and at Microsoft on HoloLens) and Aaron Villalpando (CTO, formerly seven years at Amazon). Its GitHub repository was created on 6 October 2023 and showed 9,509 stars under Apache-2.0 on 15 November 2026. The pitch has widened since the early structured-output days: the repository now calls BAML the programming language for agents, and Boundary's homepage sells a hyperobservable software stack, with traces and dashboards from a paid Boundary Cloud that is in early access.
You write .baml files that declare types and functions, with prompts inside the function bodies, and baml generate produces a typed SDK that your own code calls like a normal library. Boundary's How BAML works page lists Python, TypeScript, Go, Rust, Java, C++ and Swift, and the README adds C#. New services can also be written wholly in BAML and shipped as one binary, although Boundary's own Adopt page says not to rewrite a codebase in BAML yet because its standard library and package ecosystem are young. Running baml agent install adds a version-matched skill for coding agents such as Claude Code, and locally every call is recorded to SQLite.
It fits engineers who maintain shared LLM code across services and want a trace of each call. It sits with the AI SDKs on Hokai. Keep the toolchain, the SDK package and the generated code on one version, because a mismatch stops startup with a version skew error, and the language ships nightly builds (0.25.3 on 13 November 2026), so expect change. On 15 November 2026 Hokai read, without running it, the install script at pkg.boundaryml.com: it defaults to the canary channel (nightly is the other choice), fetches a wrapper into ~/.baml/bin after checking its SHA-256 against a published manifest, and has a --no-modify-path flag for your shell setup.
Skip BAML if you want a Python library you can install and call from one file. Instructor, which its docs offer for Python, TypeScript, Go, Ruby, Elixir and Rust, and Pydantic AI, a Python agent SDK paired with the Logfire observability platform, are the lighter steps, and Hokai has no page for either so far. LangChain is the choice when you want a large library of prebuilt chains and integrations instead of a new language.
Product facts on this page (pricing, plans, integrations, compliance) are read from Boundary's own pages and documentation. The verdict is Hokai's reading of them, not the vendor's claim.