ai-evals

Baml: Boost Prompt Engineering

Get structured output with Baml, for founders using AI.
intermediate30 minutes💵 Free + LLM API costs
9,107 stars489 forksRustGuide quality 8/10Updated 8/31/2026100% free · open source
What it is

Engineers use this to create structured AI prompts with better results.

Real use case example

"A founder uses Baml to create a script that adds new Shopify customers to their Trello board and sends a welcome email with a unique discount code. First, she sets up her Shopify webhook to send new customer data to Claude, then she uses Claude to prompt the creation of a new Trello card and draft the email with the right code."

Best insideClaude Code
When to use it
  • When you need to fine-tune your AI prompts for better results
  • When you want to automate the process of generating high-quality prompts
  • When you're working with multiple AI models and need a standardized prompt engineering approach
Ready-to-paste prompt
baml run --prompt 'What are the top 3 benefits of using {product_name} for {industry}?' --model gpt-3
Heads up: Make sure you have Rust and Cargo installed on your system before attempting to install Baml, as it is built using Rust and uses Cargo as its package manager.
Saves to your device
Use with Claude
New

Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.

✅ Light setup

Installs with a command or two; your AI agent can do it for you.

Try it instantly — no install
Claude Code
mkdir -p ~/.claude/skills/baml && curl -fsSL https://workflowstacks.com/api/skills/baml/claude-skill -o ~/.claude/skills/baml/SKILL.md
Open in another AI app

Opens the app with this repo with the prompt ready to go — no copy-paste needed.

Connect the whole catalog (MCP)
claude mcp add --transport http workflowstacks https://workflowstacks.com/api/mcp

Adds a WorkflowStacks connector to Claude Code: search and load any skill here by chatting.

How Baml: Boost Prompt Engineering works
Codeflow
Free to inspect

Baml: Boost Prompt Engineering is a very large Rust project (~1.3M lines across 5258 code files, plus 598 test files). Setup is light: installs like a normal app. Reading the code is optional. Last commit this month, Apache-2.0 license, has a test suite.

Size
Very large codebase
~1.3M lines · 5258 code files · days to read — use, don't read
Setup
One-command install
Installs like a normal app. Reading the code is optional.
Runs on
Node.js
No API keys detected
Rust 58%TypeScript 14%BAML 10%C# 4%Python 3%
Where to start reading
  1. 1
    README.md
    Start here — what it does and how to install it
  2. 2
    baml/main.go
    Where the program starts running
  3. 3
    go.mod
    Dependencies and the commands it exposes
What's in each folder
baml/Core code — the actual logic3 files
skills/Prompts, skills & agent definitions2 files
docs/Documentation3 files
baml_language/Folder4247 files
engine/Folder3019 files
typescript2/Folder1944 files
integ-tests/Folder512 files
typescript/Folder504 files
READMEHas testsDocumentedCI checksApache-2.0 licenseUpdated this month
Quick Actions
Details
Creator
BoundaryML
Language
Rust
Category
ai-evals
Published
10/6/2023

Are you the creator of this tool? Claim your listing → and earn 85% of every sale.