Model a small typed agent workflow.

BAML
Develop typed agent software with BAML, checking the installed language version and differences from older structured-output guides.
Traducción pendiente. Se muestra el texto original.
- Modelo de precios
- Gratis
Casos de uso
Extract structured fields from synthetic text.
Review migration from older BAML examples.
Capturas del productoCompare test inputs and structured outputsVer 2
Descripción y más casos de uso
Product overview
BAML’s current repository and website describe a programming language for software written by agents and humans. It combines runtime types, typed errors, concurrency, native LLM functions and tests. Older documentation emphasizes structured-output prompt functions. Match examples and generated SDKs to your installed toolchain rather than mixing generations.
Funciones, modelos y acceso
Define runtime-meaningful types and errors.
Compose LLM functions and ordinary logic.
Inspect and run code through the CLI.
Generate SDKs and maintain tests.
The current language is pre 1.0, so APIs and tooling can evolve. The repository is Apache 2.0; model inference, infrastructure and optional cloud services have separate terms. Older DSL documentation is not proof that every API remains unchanged. Types and schema validity do not prove factual accuracy. Inspect generated calls, provider destinations and tool side effects before connecting real data. Vendor compiler-speed or output-quality claims are not tests performed here.
Cómo usar o conectar
Identify the toolchain
Record the language version and matching guide.
Define a bounded function
Specify input, output and error types for sample text.
Check tests and model routing
Compare valid structure with source facts and provider usage.
Precios y requisitos
Open-source code
Apache 2.0 repository
Model usage and operating resources are separate.
Comparar todos los planes y reglas de facturación
Model usage and operating resources are separate.
Confirm current service pricing rather than assuming a language install includes inference.
Requisitos de uso
- Platforms
- Instalación local, API
Documentación y fuentes
Preguntas frecuentes
Is BAML only a prompt DSL today?
Its current website presents a broader programming language; older guides focus on structured outputs.
Are APIs frozen?
The current site states pre 1.0 status and evolving tooling.
Does a typed result prove truth?
No. Validate evidence as well as structure.
Información del producto
- Product type
- Typed programming language for agent software
- Where to start
- Version-matched toolchain, CLI and SDK
- Cost
- Apache 2.0 code; model/cloud costs separate
- Chinese readiness
- Test Chinese extraction and schema evidence
- Main condition
- Pre 1.0 APIs and older guides can differ
- Official site
- https://github.com/BoundaryML/baml ↗
- Identifiers
- Slug baml · Product ID 654ea9d4-16df-4be8-bee0-c3ad336f14b2
Registros y guías originales
Descripción y casos de uso
Our selection advice
Start with one typed function and fixed synthetic cases, then check the installed CLI before adopting older examples.
Billing notes
Open-source code
Model usage and operating resources are separate.
Models / cloud services
Confirm current service pricing rather than assuming a language install includes inference.
Updates, relationships and reviews
Official usage resources checked in this batch. Independent user reviews are still pending verification; no overall sentiment rating is assigned.
Questions and guides
BAML current repository and license
Official reference for the workflow and its conditions.
Specify a fictional typed extraction
Extract a task title and optional date from a synthetic note; represent a missing date explicitly and define an error case.
Check version, schema and unsupported inferences.
Editorial example; no toolchain, install or model request occurred.