BAML Thoughts
Insights, tutorials, and updates from the BAML team. Stay ahead with the latest in AI development.
Get the latest posts delivered to your inbox
Browse by category

How to write a Zed extension for a made up language
Exploring the fascinating world of Wasm, Zed extensions and LSP

Egor Lukiyanov
about 2 months ago

The curious case of environment variables
Environment variables in BAML are not as simple as they seem. It's tricky to pass and read them from the generated languages runtime. This post talks about how we solved this problem by lazily loading them!

Rahul Tiwari
about 2 months ago

Tech Preview: Workflows
Specify complex workflows directly in BAML

Greg Hale
about 2 months ago

Lambda the Ultimate AI Agent
A new take on Agentic frameworks

Greg Hale
3 months ago

Tutorial - An Agentic AI App with Streaming
An end-to-end agentic chatbot tutorial for React devs

Greg Hale
3 months ago

Tool use with Llama API (and reasoning)
How to do tool-calling or function-calling with Llama API (with reasoning)

Vaibhav Gupta
3 months ago

Structured outputs with Llama 4
How to do tool-calling or function-calling with Llama 4

Vaibhav Gupta
4 months ago

Structured outputs with QwQ 32B
How to use QwQ 32B to do function calling or tool calls

Aaron Villalpando
5 months ago

Full stack BAML with React/Next.js
Auto generated React hooks for your BAML functions

Chris Watts
6 months ago

Structured outputs with Gemini 2.0
How to do tool-calling or function-calling with Gemini 2.0

Aaron Villalpando
6 months ago

Structured outputs with o3-mini
How to do tool-calling or function-calling with o3-mini

Vaibhav Gupta
6 months ago

BAML Launch Week Day 5
Roadmap to BAML 1.0

Vaibhav Gupta
6 months ago

BAML Launch Week Day 4
Semantic Streaming

Greg Hale
6 months ago

BAML Launch Week Day 3
Type System

Antonio Sarosi
6 months ago

BAML Launch Week Day 2
BAML Chat

Sam Lijin
6 months ago

BAML Launch Week Day 1
VS Code LLM Playground 2.0

Aaron Villalpando
6 months ago

AI Agents Need a New Syntax
A proposal for a new way to build AI applications and agents

Vaibhav Gupta
6 months ago

BAML Launch Week Announcement
Join us on January 27-31

Vaibhav Gupta
7 months ago

Structured outputs with Deepseek R1
How to do tool-calling or function-calling with Deepseek R1

Vaibhav Gupta
7 months ago

Cursor support for BAML
BAML is now supported in Cursor

Sam Lijin
8 months ago

Structured outputs with Open AI O1
How to use Open AI O1 to do function calling or tool calls

Vaibhav Gupta
8 months ago

A new trick for generating code in JSON
BAML now supports parsing triple-backtick code blocks in LLM outputs

Sam Lijin
8 months ago

Announcing LLM Eval Support for Python, Ruby, Typescript, Go, and more.
Use BAML to evaluate your LLM applications regardless of the language you use to call them

Greg Hale
8 months ago

Generating Structured Output from a Dynamic JSON schema
Modify LLM response models at runtime.

Aaron Villalpando
8 months ago

Every Way To Get Structured Output From LLMs
A survey of every framework for extracting structured output from LLMs, and how they compare.

Sam Lijin
8 months ago

Semantic Streaming vs Token-based Streaming
A new technique for streaming structured output from LLMs

Aaron Villalpando
9 months ago

Bringing Structured Outputs and Schema-Aligned Parsing to Golang, Java, PHP, Ruby, Rust, and More
BAML now integrates with OpenAPI, allowing you to call BAML functions from any language.

Sam Lijin
11 months ago

Structured Output with Ollama
Getting structured output out of Ollama, using novel parsing techniques.

Sam Lijin
12 months ago

Beating OpenAI's structured outputs on cost, accuracy and speed — An interactive deep-dive
We leveraged a novel technique, schema-aligned parsing, to achieve SOTA on BFCL with every LLM.

Vaibhav Gupta
12 months ago

Transparency as a Tenet
Exposing the inner workings of BAML

Anish Palakurthi
about 1 year ago

Building a New Programming Language in 2024, pt. 1
An overview of the work that goes into building a new programming language.

Sam Lijin
about 1 year ago

Use Audio with your LLMs!
Capturing Non-Text Information and Richer Context with LLMs

Anish Palakurthi
about 1 year ago

Announcing Gemini Support!
Applying structure to Gemini output with BAML

Anish Palakurthi
about 1 year ago

Building RAG in Ruby, using BAML, with streaming!
How to do RAG with Ruby streaming AI APIs

Sam Lijin
about 1 year ago

Build RAG with citations in NextJS (with streaming!)
How to do RAG with NextJS streaming AI APIs

Aaron Villalpando
about 1 year ago

Your prompts are using 4x more tokens than you need
A deep-dive into how to use type-definitions instead of json schemas in prompt engineering to improve accuracy and reduce costs

Aaron Villalpando
over 1 year ago

Announcing BAML - The typesafe interface to LLMs, with built-in testing, guardrails and observability
BAML is a lightweight programming language to help perform structured prompting in a typesafe way.

Vaibhav Gupta
over 1 year ago