BoundaryML/baml
View on GitHub ↗ ★ 9,470 Rust
The programming language for agents
24 mentions on Hacker News by 12 people: 7 stories, 17 comments · first 2024-03-26 · latest 2026-07-15
20082026
-
▲ 8
Baml: The Programming Language for Agentsstory by pykello · 2026-07-15 · 5 comments
-
We are working on making our programming language BAML turing-complete. https://github.com/boundaryml/baml It is a language that is embeddable in other programming languages, with the type system similar to typescript, and a runtime that…
comment by aaronvg · 2026-05-11 · in Ask HN: What are you working on? (May 2026) -
…so long as it's generated for you, but I'd rather write something human readable and debuggable. 1. https://github.com/BoundaryML/baml
comment by porker · 2025-11-15 · in Structured outputs on the Claude Developer Platform -
▲ 1
BAML is hiring compilers/rust engineers (YC W23)story by hellovai · 2025-11-13 · 0 comments
-
…programming language (BAML) to build AI agents -- the "typescript" for LLMs. We are open source: https://github.com/BoundaryML/baml A big part of this language is all the tooling around visualizing non-deterministic code, visualizing code,…
comment by aaronvg · 2025-11-03 · in Ask HN: Who is hiring? (November 2025) -
…ideas in BAML [1], what do you think are the differences and advantages of Pipelex over it? [1]: https://github.com/boundaryml/baml
comment by novoreorx · 2025-10-30 · in Show HN: Pipelex – Declarative language for repeatable AI workflows -
You may also want to check out BAML https://github.com/BoundaryML/baml - a DSL for prompt templates that are literally treated like functions. the prompt.yaml format (which this project uses) suffers from the fact that it doesn't address…
comment by aaronvg · 2025-08-10 · in POML: Prompt Orchestration Markup Language -
▲ 2
BAMLstory by handfuloflight · 2025-07-09 · 0 comments
-
Have you tried BAML? https://github.com/BoundaryML/baml
comment by invinciblycool · 2025-06-30 · in Ask HN: What Are You Working On? (June 2025) -
We're making a prompting DSL (BAML https://github.com/BoundaryML/baml ) and what we've found is that all the syntax rules can easily be encoded into a Cursor Rules file, which we find LLMs can follow nicely. DSLs are simple by nature so…
comment by aaronvg · 2025-06-17 · in LLMs pose an interesting problem for DSL designers -
I've been using using [BAML]( https://github.com/boundaryml/baml ) to do this, and it works really well. Lets you have multiple different fallback and retry policies, and returns strongly typed outputs from LLMs.
comment by thesandlord · 2025-04-07 · in Use the Gemini API with OpenAI Fallback in TypeScript -
…a converter and ajv [3]. [1] https://github.com/inferablehq/l1m/blob/main/api/src/schema.... [2] https://github.com/boundaryml/baml [3] https://ajv.js.org
comment by lunarcave · 2025-02-27 · in Show HN: A lightweight LLM proxy to get structured results from most LLMs -
…that implement tool calling or json mode, by by relying on schema-aligned parsing. Check it out! https://github.com/BoundaryML/baml
comment by joatmon-snoo · 2025-02-20 · in Run structured extraction on documents/images locally with Ollama and Pydantic -
▲ 7
Show HN: Structured Outputs with Deepseek R1story by aaronvg · 2025-01-27 · 2 comments
-
For structured output from anywhere I'm finding https://github.com/BoundaryML/baml good. It's more accurate than gpt-04-mini will do on its own, and any of the other JSON schema approaches I've tried.
comment by porker · 2025-01-12 · in Phi 4 available on Ollama -
…literal functions, with input and output types. Playground link here https://www.promptfiddle.com/ https://github.com/BoundaryML/baml (tried pasting code but the formatting is completely off here, sorry). We think we could run some…
comment by aaronvg · 2024-12-07 · in DSPy – Programming–not prompting–LMs -
▲ 4
BAML is a language that helps you get structured data from LLMsstory by Anon84 · 2024-11-14 · 0 comments
-
Have you tried BAML ( https://github.com/boundaryml/baml )? It's really good at structured output parsing. We integrated it directly into our pipeline builder.
comment by skull8888888 · 2024-09-05 · in Show HN: Laminar – Open-Source DataDog + PostHog for LLM Apps, Built in Rust -
▲ 2
Show HN: PromptFiddle – Open-source WASM-based LLM playgroundstory by hellovai · 2024-08-24 · 0 comments
-
…which leads to these UIs to figure out what the heck is actually going on. For our DSL (BAML https://github.com/BoundaryML/baml ) we found that adding a VSCode playground to visualize LLM function inputs and outputs was a massive win in…
comment by aaronvg · 2024-08-09 · in LangGraph Engineer -
…instead of json schema. You can take a look at our BFCL results on that site or the github: https://github.com/BoundaryML/baml We'll be publishing our comparison against OpenAI structured outputs in the next 2 days, and a deeper dive into…
comment by aaronvg · 2024-08-06 · in Structured Outputs in the API -
we recently added dynamic type support with this snippet! (docs coming soon!) Python: https://github.com/BoundaryML/baml/blob/413fdf12a0c8c1ebb75c... Typescript: https://github.com/BoundaryML/baml/blob/413fdf12a0c8c1ebb75c... Snippet:…
comment by hellovai · 2024-06-18 · in Every Way to Get Structured Output from LLMs -
…of different techniques to get more usefully structured data out. You can check it out over at https://github.com/BoundaryML/baml . Would love to talk if this is something that seems interesting!
comment by joatmon-snoo · 2024-06-02 · in What we've learned from a year of building with LLMs -
▲ 18
Show HN: BAML - A new programming language to get structured data from LLMsstory by hellovai · 2024-03-26 · 2 comments