WhoBuilt

BAML

A programming language for defining and calling typed functions across languages.

Also known as BAML programs

Key facts

Built by
Vaibhav Gupta, founder (Boundary builds BAML)
Launched
Announced a Show HN launch of BAML, claiming lower cost, higher accuracy, and faster structured outputs than OpenAI.
Capabilities
Supports passing lambdas, generics, and closures across language boundaries.
Infers error types and supports compiler checks for exhaustive error handling.
Functions can be called from Python with type safety, including async functions.

Used by 1 company

Based on job postings, talks and research

All 1

Timeline 7

Dated events, newest first. Open the sources under any item.

How we verify
Launch1Release1Built2Capability3
20263 events
  1. as of Jul 2026Capability
    Supports passing lambdas, generics, and closures across language boundaries.
    “you can even pass Python lambdas across the bridge. You can pass generics across the bridge. You can pass closures.” 18:40
    Unverified1 source· Talk
  2. as of Jul 2026Capability
    Infers error types and supports compiler checks for exhaustive error handling.
    “error types now get inferred” 16:07
    Unverified1 source· Talk
  3. as of Jul 2026Capability
    Functions can be called from Python with type safety, including async functions.
    “I'm calling the BAML calculate function directly from Python, and it's completely type-safe.” 18:17
    Unverified1 source· Talk
20251 event
  1. Jan 27, 2025Release
    Announced structured output support for DeepSeek R1.
    “Show HN: Structured Outputs with Deepseek R1”
    Source changed1 source· Hacker News· archived
20241 event
  1. Aug 14, 2024Launch
    Announced a Show HN launch of BAML, claiming lower cost, higher accuracy, and faster structured outputs than OpenAI.
    “Show HN: Beating OpenAI's structured outputs on cost, accuracy and speed”
    Source changed1 source· Hacker News· archived
Undated2 events
  1. undatedBuilt
    Boundary built BAML
    Verified1 source· Web· archived
  2. undatedBuilt
    Vaibhav Gupta built BAML
    founder (Boundary builds BAML)
    Verified1 source· Web· archived

Talks 3

21:32
fighting slop with slop

Vaibhav Gupta explains how Boundary builds a programming language while letting engineers work in parallel with AI and without code reviews or mandated AI tools. The team uses a compact architecture guide, design document workflows, dependency checks, and agent driven testing to catch problems and improve the language. He argues that tools should help people and agents understand code through visualizations, execution traces, searchable context, and type safe CLI access. The talk also presents BAML as a way to build a new language with stronger guarantees and call its functions from existing languages, while urging engineering teams to adapt their processes for agent speed.

Jul 31, 2026· 22 minDiscussed 5:02
20:31
No Vibes Allowed: Solving Hard Problems in Complex Codebases

Dex Horthy explains how to use context engineering to make coding agents more reliable on complex, existing codebases. He recommends keeping context focused through research, planning, implementation, and frequent compaction, with subagents used to investigate separate parts of a codebase. Plans should capture concrete steps and code snippets so people can review the intended changes and stay aligned. He stresses that people must still check the research and plans, and that teams need to adapt their workflows as AI writes more code.

Dec 2, 2025· 21 minMentioned 9:06
26:49
Context Engineering: Connecting the Dots with Graphs

Stephen Chin explains how context engineering expands prompt engineering by combining instructions, retrieved data, memory, and structured outputs. He shows how knowledge graphs represent entities and relationships, and how GraphRAG can use those connections to retrieve relevant, explainable context. Through demos with Neo4j, he compares vector lookup with multistep graph retrieval, including an agent querying a graph through an MCP server. The talk also covers graph memory, access control, and learning resources for building graph-based AI applications.

Nov 24, 2025· 27 minMentioned 6:07