BoundaryML/baml

The AI framework that adds the engineering to prompt engineering (Python/TS/Ruby/Java/C#/Rust/Go compatible)

69
/ 100
Established

Uses a declarative schema-driven language compiled to Rust to define LLM functions with type-safe inputs/outputs, eliminating manual JSON schema management while supporting tool-calling across models without native API support via schema-aligned parsing. Generates strongly-typed client libraries for Python, TypeScript, Ruby, Java, C#, Go, and REST, enabling prompt definitions to remain separate from application code. Includes built-in IDE tooling, streaming support, retry/fallback strategies, and compatibility with OpenAI, Anthropic, Gemini, Bedrock, and 100+ other models.

7,751 stars. Actively maintained with 60 commits in the last 30 days.

No Package No Dependents
Maintenance 25 / 25
Adoption 10 / 25
Maturity 16 / 25
Community 18 / 25

How are scores calculated?

Stars

7,751

Forks

395

Language

Rust

License

Apache-2.0

Last pushed

Mar 13, 2026

Commits (30d)

60

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/prompt-engineering/BoundaryML/baml"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.