详细内容
TH JUL 31 @ 9 AM PT\
\
Try BAML online
The First Language for Building Agents
Typescript made JavaScript 10x more reliable.
BAML makes your ai pipelines 10x more reliable.
python
typescript
ruby
go
other
uv add baml-py && uv run baml-cli init
Copy
Try BAML in your browser Get Started
What is BAML? - YouTube
Boundary
3K subscribers
Boundary
Search
Watch later
Share
Copy link
Info
Shopping
Tap to unmute
If playback doesn't begin shortly, try restarting your device.
More videos
More videos
You're signed out
Videos you watch may be added to the TV's watch history and influence TV recommendations. To avoid this, cancel and sign in to YouTube on your computer.
CancelConfirm
Share
Include playlist
An error occurred while retrieving sharing information. Please try again later.
0:00
0:00 / 3:46
•Live
•
Works with every LLM provider
And every language

Baaaaaaaaaaml
Basically AMade-Up Language
Trusted by developers at







Complete Development Workflow
Discover how BAML transforms AI development in four easy steps
Define your promptsfunctions
Yes, Cursor, Claude, already know BAML.
Yes, we made a whole VSCode extension for BAML.
Test your promptsfunctions
Do it in VSCode, or the editor of your choice. Or in CI/CD with baml-cli test
Call your promptsfunctions from any programming language you love
baml-cli generate
converts BAML functions to native functions in
Python
main.py — Python — Visual Studio Code
main.pymain.tsmain.rbmain.go
1
2
3
4
5
6
from baml_client import b
result = b.AnalyzeCodebase("<html>...</html>")
print(result)
Deploy your Agent
Do nothing special for BAML. Since BAML generates native code in your language of choice, you can use it in any way you want.
Multi-Cloud Deployment0%
AWS Lambda
Vercel
Google Cloud
Azure Functions
Railway
Deploying to AWS Lambda
Building Native Code - Generating platform-specific functions
Empower Your AI Development
Build AI applications with type safety, generate TypeScript types, and validate your schemas.
resume.baml
class Resume {
name string
title string
}
function ExtractResume(resume: string) -> Resume
main.pymain.tsmain.rbmain.go
resume = b.ExtractResume(resume)
print(resume.education)
Error iconProperty 'education' does not exist on type 'Resume'.
Type-Safe AI Interfaces
Define AI interfaces with confidence. Write BAML schemas that generate TypeScript types automatically.
Extract the person's name and job title from this resume text...


Structured Outputs
Get type-safe, validated responses from any LLM. Support for JSON, XML, YAML, and more output formats.
$ baml-cli test✅ Testing ResumeParser...
✅ Testing SentimentAnalyzer...
✅ Testing CodeReviewer...
✅ All Agents tested successfully
Test Your Agents in CI/CD
Test your agents in CI/CD pipelines to ensure they are working as expected.
10:0010:0110:0210:0310:04
10:00 AM
ClassifyText (gpt-4o-mini)
ClassifyText (claude-3-5-sonnet)
ClassifyText (gemini-1.5-pro)
Automatic Retry and Fallback
Automatically retry failed requests and provide fallback responses when errors occur.
People love BAML
And so do agents
BAML is amazing. I've used it in Python and Typescript. It's a game changer.

Adam Gitzes
Amazon
Just set up baml for my project, 10/10 experience and much faster than langchain.

Jason Fan
It's amazing!! Was able to cut down my tokens and time-to-first-token significantly without compromising results.

Ray del Vecchio
Cerebral Valley
BAML is amazing. I've used it in Python and Typescript. It's a game changer.

Adam Gitzes
Amazon
Just set up baml for my project, 10/10 experience and much faster than langchain.

Jason Fan
It's amazing!! Was able to cut down my tokens and time-to-first-token significantly without compromising results.

Ray del Vecchio
Cerebral Valley
BAML is amazing. I've used it in Python and Typescript. It's a game changer.

Adam Gitzes
Amazon
Just set up baml for my project, 10/10 experience and much faster than langchain.

Jason Fan
It's amazing!! Was able to cut down my tokens and time-to-first-token significantly without compromising results.

Ray del Vecchio
Cerebral Valley
BAML is amazing. I've used it in Python and Typescript. It's a game changer.

Adam Gitzes
Amazon
Just set up baml for my project, 10/10 experience and much faster than langchain.

Jason Fan
It's amazing!! Was able to cut down my tokens and time-to-first-token significantly without compromising results.

Ray del Vecchio
Cerebral Valley
BAML is definitely a must have if you want any structured data from LLM; no more BS/long paragraphs describing what the output should be like, it just works!!!

Hankel Bao
The test case and playground is quite literally the BEST feature. It has improved the iteration speed and quality by an order of magnitude.

Joseph Tutera
Docucare AI
I really really like what Baml offers [...] I think it's a step-wise improvement over Marvin. Having complete control over the prompt WITH strong type guarantees is fantastic.
I also think the dedicated testing playground is awesome.

Gabe
Zenfetch
BAML is definitely a must have if you want any structured data from LLM; no more BS/long paragraphs describing what the output should be like, it just works!!!

Hankel Bao
The test case and playground is quite literally the BEST feature. It has improved the iteration speed and quality by an order of magnitude.

Joseph Tutera
Docucare AI
I really really like what Baml offers [...] I think it's a step-wise improvement over Marvin. Having complete control over the prompt WITH strong type guarantees is fantastic.
I also think the dedicated testing playground is awesome.

Gabe
Zenfetch
BAML is definitely a must have if you want any structured data from LLM; no more BS/long paragraphs describing what the output should be like, it just works!!!

Hankel Bao
The test case and playground is quite literally the BEST feature. It has improved the iteration speed and quality by an order of magnitude.

Joseph Tutera
Docucare AI
I really really like what Baml offers [...] I think it's a step-wise improvement over Marvin. Having complete control over the prompt WITH strong type guarantees is fantastic.
I also think the dedicated testing playground is awesome.

Gabe
Zenfetch
BAML is definitely a must have if you want any structured data from LLM; no more BS/long paragraphs describing what the output should be like, it just works!!!

Hankel Bao
The test case and playground is quite literally the BEST feature. It has improved the iteration speed and quality by an order of magnitude.

Joseph Tutera
Docucare AI
I really really like what Baml offers [...] I think it's a step-wise improvement over Marvin. Having complete control over the prompt WITH strong type guarantees is fantastic.
I also think the dedicated testing playground is awesome.

Gabe
Zenfetch
Code is hella clean now. Look at [the] folder structure, and each folder for a respective pipeline. Each file just a prompt. Clean, elegant, beautiful.

Paulo Rossi
Magnaplay
Just got the categorizer to work first try.
Felt like landing a kickflip

Eitan Borgnia
Squack
Code is hella clean now. Look at [the] folder structure, and each folder for a respective pipeline. Each file just a prompt. Clean, elegant, beautiful.

Paulo Rossi
Magnaplay
Just got the categorizer to work first try.
Felt like landing a kickflip

Eitan Borgnia
Squack
Code is hella clean now. Look at [the] folder structure, and each folder for a respective pipeline. Each file just a prompt. Clean, elegant, beautiful.

Paulo Rossi
Magnaplay
Just got the categorizer to work first try.
Felt like landing a kickflip

Eitan Borgnia
Squack
Code is hella clean now. Look at [the] folder structure, and each folder for a respective pipeline. Each file just a prompt. Clean, elegant, beautiful.

Paulo Rossi
Magnaplay
Just got the categorizer to work first try.
Felt like landing a kickflip

Eitan Borgnia
Squack

Build AI Applications with Confidence
Book a meeting with us Start building type-safe AI applications in minutes
