{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/21"}],"enrichment":{"capability":"Provides Python bindings for the BAML runtime, exposing the BamlRuntime singleton, protobuf encoding/decoding, and observability primitives that generated BAML SDK packages use at runtime.","skillfed_tags":["baml","runtime-bindings","llm-framework"],"use_cases":["Running BAML programs generated by baml-cli generate --target python without manually managing the runtime.","Authoring custom BAML runtime extensions or bridge implementations.","Testing BAML SDK packages that depend on baml_bridge for initialization and execution.","Monitoring BAML program execution via the Collector and BamlCtxManager observability APIs.","Integrating BAML-generated code into Python applications that need structured LLM interactions."],"what_it_does":"baml_bridge is the runtime layer that powers BAML SDK packages generated by the baml-cli tool. It provides the core BamlRuntime singleton that manages BAML program execution, handles protobuf serialization and deserialization, and exposes observability primitives (Collector and BamlCtxManager) for monitoring and debugging. The package wraps the bex_engine backend and is designed primarily as an indirect dependency\u2014generated BAML SDK code imports it automatically at runtime.\n\nThe package is built as compiled wheels for multiple platforms and Python versions (3.10\u20133.13, CPython). While it can be used directly for runtime authoring and testing, most users will encounter it as a transitive dependency of their generated BAML SDK. It requires protobuf >= 6.31.1 and Python 3.10+.","worth_installing":"Yes, if you are using BAML-generated Python code\u2014it is the required runtime layer. Install directly only if you are authoring BAML runtime extensions or running bridge tests; otherwise, it will be pulled in automatically by your generated SDK. No known vulnerabilities; active maintenance and permissive license."},"id":"baml-bridge","links":{"html":"https://skillfed.io/packages/baml-bridge","md":"https://skillfed.io/packages/baml-bridge.md","pypi":"https://pypi.org/project/baml-bridge/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-08-12","license_spdx":"Apache-2.0","license_treatment":"permissive","name":"baml-bridge","python_support":"supports_current","summary":"BAML python bindings (new system, bex_engine)"},"popularity":{"monthly_downloads":87864,"position":13764,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.16.0"}
