EveryDev.ai
Subscribe
Home
Tools

3,750+ AI tools

  • New
  • Trending
  • Featured
  • Compare
  • Arena
Categories
  • Agents2189
  • Coding1574
  • Infrastructure698
  • Marketing534
  • Projects498
  • Research456
  • Design416
  • Analytics389
  • Testing296
  • MCP290
  • Security286
  • Data262
  • Integration197
  • Prompts189
  • Communication183
  • Extensions173
  • Learning170
  • Voice151
  • Commerce135
  • DevOps123
  • Web86
  • Finance26
AI Tools by Topic
  • AI Coding Assistants
  • Agent Frameworks
  • MCP Servers
  • AI Prompt Tools
  • Vibe Coding Tools
  • AI Design Tools
  • AI Database Tools
  • AI Website Builders
  • AI Testing Tools
  • LLM Evaluations
Follow Us
  • X / Twitter
  • LinkedIn
  • Reddit
  • Discord
  • Threads
  • Bluesky
  • Mastodon
  • YouTube
  • GitHub
  • Instagram
Get Started
  • About
  • Editorial Standards
  • Corrections & Disclosures
  • Community Guidelines
  • Advertise
  • Contact Us
  • Newsletter
  • Submit a Tool
  • Start a Discussion
  • Write A Blog
  • Share A Build
  • Terms of Service
  • Privacy Policy
Explore with AI
  • ChatGPT
  • Gemini
  • Claude
  • Grok
  • Perplexity
Agent Experience
  • llms.txt
Theme
With AI, Everyone is a Dev. EveryDev.ai © 2026
    1. Home
    2. Tools
    3. BAML
    BAML icon

    BAML

    AI Development Libraries
    Featured

    BAML is an open-source programming language designed for AI agents, featuring a sound type system, typed errors, green threads, and built-in LLM function primitives.

    Visit Website

    At a Glance

    Pricing
    Open Source

    BAML is free and open source. Runs entirely on your machine and never calls BoundaryML servers.

    Engagement

    Available On

    macOS
    API
    VS Code
    SDK
    CLI

    Resources

    WebsiteDocsGitHubllms.txt

    Topics

    AI Development LibrariesAgent FrameworksVibe Coding

    Alternatives

    Fusionbetter-gstackVoiceflow
    Developer
    BoundarySeattle, WAEst. 2022$2000000 raised

    Updated Aug 2026

    About BAML

    BAML (Basically A Made-up Language) is an open-source programming language built by BoundaryML specifically for writing AI agent code. It is licensed under Apache 2.0, runs entirely on your machine, and is callable from Python, TypeScript, Go, C#, Java, and other languages via generated SDKs. The project has accumulated over 8,700 GitHub stars and is actively developed with nightly releases.

    What It Is

    BAML is a statically-typed, agent-first programming language that looks like TypeScript but enforces soundness at runtime — there is no any, no unsafe casting, and every type is what the code says it is. It is designed to prevent the class of bugs that emerge when AI agents write or consume code: silent type coercions, untyped exceptions, and context pollution from sprawling imports. The language compiles to a native runtime written in Rust and can generate typed SDKs for host languages so existing codebases can adopt it incrementally without a full rewrite.

    Language Design Philosophy

    BAML's design is guided by a set of explicit principles documented in BoundaryML Enhancement Proposals (BEPs):

    • No any, no unsafe casts — types persist at runtime; a value must be proven to match a type before it can be used as one.
    • Typed errors — every throws statement is statically analyzed; the compiler tells you every error a function can produce, and warns when a catch arm is unreachable.
    • Match expressions on types or values — replaces the typeof / instanceof / "key" in obj grab-bag with a single, exhaustive match construct that supports destructuring and guards.
    • Colorless concurrency — green threads via spawn and await without requiring functions to be marked async; the site claims a 9× wall-clock speedup on a 38 GB log-scan benchmark when using 16 parallel shards.
    • Filesystem-as-namespace — directories prefixed with ns_ define namespaces; there are no imports, only fully qualified names, so an agent can ls a project and immediately understand its layout.
    • Local edits — changes are designed to stay local so agents don't drift across the codebase chasing transitive dependencies.

    Agent-First CLI Tooling

    BAML ships a CLI (baml) with several commands designed for both human developers and AI agents:

    • baml describe — an AST-based grep that returns a function's signature, dependencies, and every call site in one command, without requiring an LSP or IDE hover.
    • baml run <function> — runs any function in the project as a CLI command; parameters become --flags automatically.
    • baml run -e — evaluates inline BAML expressions without writing a file, useful for quick agent scripting.
    • baml pack — compiles a BAML program into a self-contained binary; the site reports a 12.1 MB binary (5.7 MB gzipped) versus 63.1 MB for an equivalent Bun-compiled binary.
    • baml agent install — sets up BAML skills for Claude Code, Codex, and other coding agents.

    LLM Functions and Agent Harness Primitives

    An LLM call in BAML is expressed as a regular function: the prompt is the body and the return type is the schema. BAML includes an error-correcting JSON parser that coaxes structured output from small language models. The built-in test and eval framework lets developers write tests anywhere in any file, generate test cases from CSV or S3 at collection time, and define custom test runners (retries, quorum passes, parallel execution) as plain BAML functions. A profiler with flame-graph output and a workflow graph view in VS Code are included for human observability.

    SDK Generation and Incremental Adoption

    BAML generates typed SDKs for Python (pydantic v2 models), TypeScript (typed classes), and Go (in progress), so teams can call BAML functions from existing codebases without migrating everything. The generated client includes both sync and async variants of every function. BoundaryML describes the model as similar to an OpenAPI client generator, except the contract carries real business logic rather than just data shapes.

    Update: BAML Language 0.15.1-nightly (August 2026)

    The repository's default branch is canary and the latest published release as of early August 2026 is BAML Language 0.15.1-nightly.20260731.a, published 2026-08-01. The project self-describes as pre-1.0 but production-ready, with a cloud offering (observability, team controls, governance) announced as coming later in 2026. BoundaryML runs live onboarding sessions every Thursday and is actively recruiting Rust engineers from its Seattle, WA headquarters.

    BAML - 1

    Community Discussions

    Be the first to start a conversation about BAML

    Share your experience with BAML, ask questions, or help others learn from your insights.

    Pricing

    OPEN SOURCE

    Open Source

    BAML is free and open source. Runs entirely on your machine and never calls BoundaryML servers.

    • Full BAML language and runtime
    • SDK generation for Python, TypeScript, Go
    • baml CLI (run, describe, pack, agent install)
    • Built-in test and eval framework
    • VS Code / Cursor IDE integration

    Capabilities

    Key Features

    • Sound runtime type system with no `any` or unsafe casts
    • Typed and statically-analyzed error handling
    • Match expressions on types and values with destructuring
    • Colorless green-thread concurrency via `spawn` and `await`
    • Filesystem-as-namespace with no imports
    • Native LLM function primitives with error-correcting JSON parser
    • Built-in test and eval framework with custom test runners
    • SDK generation for Python, TypeScript, and Go
    • baml describe: AST-based grep for agents
    • baml run: execute any function as a CLI command
    • baml pack: compile to a self-contained binary
    • baml agent install: sets up skills for Claude Code and Codex
    • Workflow graph view and flame-graph profiler
    • Function mocking and sandboxing primitives (coming soon)
    • Recursive self-improvement via agent-tries-baml simulation

    Integrations

    Python (pydantic v2)
    TypeScript
    Go
    C#
    Java
    Claude Code
    OpenAI (gpt-4o-mini)
    VS Code
    Cursor
    Homebrew
    S3
    API Available
    View Docs

    Demo Video

    BAML Demo Video
    Watch on YouTube

    Ratings & Reviews

    No ratings yet

    Be the first to rate BAML and help others make informed decisions.

    Developer

    Boundary

    Boundary builds BAML, an open-source language and toolchain for reliable, type-safe LLM applications and workflows.

    Founded 2022
    Seattle, WA
    $2000000 raised
    8 employees

    Used by

    Product Hunt
    GovEagle
    Actual AI
    VetRec
    +2 more
    Read more about Boundary
    WebsiteGitHubX / Twitter
    1 tool in directory

    Similar Tools

    Fusion icon

    Fusion

    An open-source multi-agent software factory that takes a plain-language task description and autonomously plans, builds, reviews, and ships production code across any device.

    better-gstack icon

    better-gstack

    A minimal fork of gstack providing two AI agent skills—office-hours and plan-ceo-review—for pre-build product validation and plan review, without the surrounding system overhead.

    Voiceflow icon

    Voiceflow

    Voiceflow is an enterprise platform for building, launching, and scaling AI agents for customer support, lead generation, and omnichannel customer experience.

    Browse all tools

    Related Topics

    AI Development Libraries

    Programming libraries and frameworks that provide machine learning capabilities, model integration, and AI functionality for developers.

    296 tools

    Agent Frameworks

    Tools and platforms for building and deploying custom AI agents.

    664 tools

    Vibe Coding

    Vibe code using low code AI tools that let you build applications with natural language prompts with minimal code.

    204 tools
    Browse all topics
    Back to all toolsSuggest an edit
    ratings
    discussions
    70views