BoundaryML

    BoundaryML/baml

    The programming language for agents

    9.5K stars
    512 forks
    33 GitHub watchers
    Updated Nov 6, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    5 releases in the last 90 days, the latest today, with 109 contributors on GitHub.

    Peaked at #32 in the weekly ranking the week of Sep 28, its best in the past year.

    Use Cases & Benefits

    • Defines a specialized programming language for creating reliable AI workflows and agents using structured prompt functions.
    • Transforms prompt engineering into schema engineering, enabling type-safe, maintainable, and model-agnostic AI prompt development.
    • Use for building type-safe, multi-model AI agents that integrate with any programming language via generated clients.
    • Use for rapidly testing and iterating AI prompt designs directly in IDEs with built-in visualization and parallel testing tools.
    • Use for implementing robust tool-calling workflows with any LLM, even those lacking native function-calling support.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    Apache 2.0

    Permissive: commercial use, modification and redistribution are allowed with attribution; includes an explicit patent grant from contributors.

    Community files

    • README: present
    • Contributing guide: present

    Watch-outs

    No watch-outs from GStars' checks.

    General guidance from repository metadata, not legal advice. How we score

    From the README

    BAML is a simple prompting language for building reliable AI workflows and agents.

    BAML makes prompt engineering easy by turning it into schema engineering -- where you mostly focus on the models of your prompt -- to get more reliable outputs. You don't need to write your whole app in BAML, only the prompts! You can wire-up your LLM Functions in any language of your choice! See our quickstarts for Python, TypeScript, Ruby and Go, and more.

    BAML comes with all batteries included -- with full typesafety, streaming, retries, wide model support, even when they don't support native tool-calling APIs

    The fundamental building block in BAML is a function. Every prompt is a function that takes in parameters and returns a type.

    Every function additionally defines which models it uses and what its prompt is.

    Below we call the ChatAgent function we defined in BAML through Python. BAML's Rust compiler generates a "baml_client" to access and call them.

    You can write any kind of agent or workflow using chained BAML functions. An agent is a while loop that calls a Chat BAML Function with some state.

    And if you need to stream, add a couple more lines:

    And get fully type-safe outputs for each chunk in the stream.

    Excerpt from the BoundaryML/baml README on GitHub (Apache-2.0 license). © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Aug 13: +53Aug 14: +21Aug 15: +7Aug 16: +7Aug 17: +9Aug 18: +5Aug 19: +8Aug 20: +8Aug 27: +5Aug 28: +3Aug 29: +8Aug 30: +5Aug 31: +12Sep 1: +15Sep 2: +6Sep 5: +0Sep 6: +4Sep 7: +3Sep 8: +6Sep 9: +2

    +557 stars over 86 days across 27 snapshot days; best day +53 on Aug 13.

    Forks

    512+39

    Open issues

    363+52

    Compared with peers in LLM

    Fastest-growing repositories GStars tracks in this cohort for the week of Nov 8, by 7-day star growth

    BoundaryML/baml compared with LLM repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    NVIDIA/auto-ontology11.4K+8.5K75—
    thedotmack/claude-mem115.8K+4.7K75today
    DietrichGebert/ponytail188.4K+4.4K7512 days ago
    affaan-m/ECC300.8K+4.3K7540 days ago
    Graphify-Labs/graphify145.7K+3.8K75today
    BoundaryML/baml9.5K—40today
    Category median145.7K+4.4K75—

    Discover Repositories

    Search across tracked repositories by name or description