Runtime types and typed errors
BAML provides runtime types without `any` or unchecked casts, along with typed errors and exhaustive pattern matching to make failure handling explicit.
A typed programming language and local toolchain for building, running, and testing software with agents.
BAML is an open-source, Turing-complete programming language designed for software written by both agents and people. Its TypeScript-like syntax includes unions, generics, and interfaces, while runtime types, typed errors, and exhaustive pattern matching make program behavior more explicit. The local toolchain supports authoring and executing BAML programs, testing LLM functions, generating SDKs, and integrating BAML into existing Python and TypeScript applications. BAML is pre-1.0, so APIs and tooling may continue to evolve.
BAML provides runtime types without `any` or unchecked casts, along with typed errors and exhaustive pattern matching to make failure handling explicit.
Define LLM functions, tests, testsets, and evaluations in the language, keeping model-oriented workflows alongside program code.
Use `baml run` to execute any function as a CLI target, pass function parameters as command-line flags, or evaluate an expression directly.
`baml describe` exposes definitions, signatures, dependencies, and references so developers and coding agents can inspect a BAML project.
Install support for VS Code and Cursor, run the language server for other LSP clients, or launch the local browser playground.
Generate SDKs and integrate BAML into existing Python and TypeScript applications without requiring the hosted cloud service.
Use a language with explicit types, errors, and structured code discovery when coding agents create or modify project code.
Define LLM functions and organize tests, testsets, and evaluations within a BAML project.
Run a function directly with `baml run`, supply parameters as flags, and use the CLI to check behavior during development.
Generate an SDK and integrate BAML with a Python or TypeScript codebase as an incremental adoption path.
No. BAML’s local toolchain runs on your machine without BAML Cloud. LLM functions use the client configured in the program, so hosted-model access, usage charges, and data handling follow that provider’s terms. The free BAML toolchain does not include third-party model usage.
Install the toolchain for your operating system, run `baml init` in your repository, install version-matched agent guidance with `baml agent install`, then run the default entry point with `baml run main`.
Editor integration is optional. The quickstart documents installation for VS Code and Cursor, a language server for other LSP clients, and a local browser playground.
BAML is open source and pre-1.0. The language is usable, but some APIs and tooling may continue to evolve.
流量數據僅供參考。
zerolang.ai
An experimental programming language for agents to query and edit program graphs.
thecatenary.app
Catenary is a local-first desktop IDE for running and coordinating multiple AI coding agents on an infinite canvas. It helps developers keep terminals, editors, browsers, worktrees, and agent context visible in one workspace.