brainstate

BoundaryML/baml · source

Snapshot 0 · 2026-11-04T12:47:27Z · Rust · Apache-2.0

Content fingerprintce37f68dbd392ebe8023d5a0cb0053100e1f426a089d30fbd8a9ba1c7f364ab5

GitHub description at capture

The programming language for agents

README at capture

<div align="center">
<a href="https://boundaryml.com?utm_source=github" target="_blank" rel="noopener noreferrer">
  <picture>
    <source media="(prefers-color-scheme: dark)" srcset="fern/assets/baml-logo-white.png">
    <img src="fern/assets/baml-logo-white.png" height="220" id="top" alt="BAML logo">
  </picture>
</a>

# BAML: Basically A Made-up Language

BAML is the programming language for agents.

[![BAML Version](https://img.shields.io/pypi/v/baml-py?color=006dad&label=BAML%20Version)](https://pypi.org/project/baml-py/)

[Homepage](https://www.boundaryml.com/) | [Explore BAML](https://www.boundaryml.com/explore) | [Discord](https://www.boundaryml.com/discord)

</div>

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](https://www.boundaryml.com/explore).

## Try it out

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

Or read the [quickstart](https://boundaryml.com/quickstart).

## Contributing

See our [guide on getting started](/CONTRIBUTING.md).

---

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

We're hiring software engineers who love Rust. [Email us](mailto:founders@boundaryml.com) or reach out on [Discord](https://www.boundaryml.com/discord).