Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>BAML v0New to Visual Studio Code? Get it now.
BAML v0

BAML v0

Boundary

boundaryml.com
|
9,125 installs
| (5) | Free
BAML v0 is a DSL for AI applications.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

BAML v0 — VS Code and Cursor extension

This extension provides VS Code and Cursor support for BAML v0, the DSL used to define LLM functions, test them in the integrated LLM Playground, and build agentic workflows.

General features

  1. Syntax Highlighting: Provides enhanced readability and coding experience by highlighting the BAML v0 language syntax for any file with the .baml extension.
  2. Dynamic playground: Run and test your prompts in real-time.
  3. Build typed clients in several languages: Command +S a baml file to build a baml client to call your functions in Python or TS.

Usage

  1. Install BAML dependency:
  • python: pip install baml-py
  • typescript: npm install @boundaryml/baml
  • ruby: bundle init && bundle add baml sorbet-runtime
  1. Create a baml_src directory with a main.baml file and you're all set!

    Or you can try our init script to get an example directory setup for you:

# If using your local installation, venv or conda:
pip install baml-py
baml-cli init
# If using npm:
npm install @boundaryml/baml
npm run baml-cli init
bundle add baml
bundle exec baml-cli init
  1. Add your own api keys in the playground (settings icon) to test your functions

  2. See more examples at **promptfiddle.com

Documentation

See our documentation

For any issues, feature requests, or contributions, please reach out at contact@boundaryml.com

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft