Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

baml_bridge

Python bindings for the BAML runtime (powered by bex_engine).

baml_bridge is the bridge layer that generated baml_sdk packages import at runtime: it provides the BamlRuntime singleton, the protobuf encoder/decoder, the function/method factories, and the Collector / BamlCtxManager observability primitives.

from baml_bridge import BamlRuntime

rt = BamlRuntime.initialize_runtime(
    root_path=".",
    files={"main.baml": baml_source},
    sdk_root="my_sdk",
)

This package is generally consumed indirectly via the code generated by baml-cli generate --target python — direct use is reserved for runtime authors and bridge tests.

Requirements

  • Python 3.10+
  • protobuf >= 6.31.1

License

Apache-2.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

baml_bridge-0.17.1.dev2026082500-cp310-abi3-win_arm64.whl (10.2 MB view details)

Uploaded CPython 3.10+Windows ARM64

baml_bridge-0.17.1.dev2026082500-cp310-abi3-win_amd64.whl (10.7 MB view details)

Uploaded CPython 3.10+Windows x86-64

baml_bridge-0.17.1.dev2026082500-cp310-abi3-musllinux_1_1_x86_64.whl (10.7 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.1+ x86-64

baml_bridge-0.17.1.dev2026082500-cp310-abi3-musllinux_1_1_aarch64.whl (10.2 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.1+ ARM64

baml_bridge-0.17.1.dev2026082500-cp310-abi3-manylinux_2_24_aarch64.whl (9.9 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.24+ ARM64

baml_bridge-0.17.1.dev2026082500-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (10.6 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ x86-64

baml_bridge-0.17.1.dev2026082500-cp310-abi3-macosx_11_0_arm64.whl (10.0 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

baml_bridge-0.17.1.dev2026082500-cp310-abi3-macosx_10_12_x86_64.whl (10.4 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

Details for the file baml_bridge-0.17.1.dev2026082500-cp310-abi3-win_arm64.whl.

File metadata

File hashes

Hashes for baml_bridge-0.17.1.dev2026082500-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 5f00df3ac6d62379433493c9be9cfb820eb7a45cfbaa277fa113997d3277e9e0
MD5 0b6c6795e4e6c97dac6f1fdf365ee0c0
BLAKE2b-256 f8433db6a959c5285eeb14e2d2ab3497edd52844c2fc3e61b02bfaf8a9329841

See more details on using hashes here.

Provenance

The following attestation bundles were made for baml_bridge-0.17.1.dev2026082500-cp310-abi3-win_arm64.whl:

Publisher: release-baml-language.yml on BoundaryML/baml

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file baml_bridge-0.17.1.dev2026082500-cp310-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for baml_bridge-0.17.1.dev2026082500-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 1a47d42b64da9337c6e9cd8e880f893ed48d12bba2b89a157fab37fb404179c5
MD5 1883dfc065705919f6c3723c03d30425
BLAKE2b-256 6d360d822223b729c8f001c1d0ee97b8c71668df41edae57d2b8dc4d51b7369d

See more details on using hashes here.

Provenance

The following attestation bundles were made for baml_bridge-0.17.1.dev2026082500-cp310-abi3-win_amd64.whl:

Publisher: release-baml-language.yml on BoundaryML/baml

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file baml_bridge-0.17.1.dev2026082500-cp310-abi3-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for baml_bridge-0.17.1.dev2026082500-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 afb98e04a5f1d80c1c72ee343a634c5e33c07a6d4dc28aa68fe7599c280e0b2c
MD5 2c6bf3b96a7768245a25340b1fc6061a
BLAKE2b-256 7bd4d3a83bb7d71bc9ccad874184d5182bd0ae28c9ee5e50763e675cd4738b48

See more details on using hashes here.

Provenance

The following attestation bundles were made for baml_bridge-0.17.1.dev2026082500-cp310-abi3-musllinux_1_1_x86_64.whl:

Publisher: release-baml-language.yml on BoundaryML/baml

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file baml_bridge-0.17.1.dev2026082500-cp310-abi3-musllinux_1_1_aarch64.whl.

File metadata

File hashes

Hashes for baml_bridge-0.17.1.dev2026082500-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 6e9243b3161b229af4047153a9bc7ac504a411fcd1b42ed2c25ba04ca451673c
MD5 71d49b6688680534d802ba8c137f9c26
BLAKE2b-256 e88cfe755da3fbc09907ab0f111d4e20fd1a94a9b02efc8ffff9019624dc831c

See more details on using hashes here.

Provenance

The following attestation bundles were made for baml_bridge-0.17.1.dev2026082500-cp310-abi3-musllinux_1_1_aarch64.whl:

Publisher: release-baml-language.yml on BoundaryML/baml

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file baml_bridge-0.17.1.dev2026082500-cp310-abi3-manylinux_2_24_aarch64.whl.

File metadata

File hashes

Hashes for baml_bridge-0.17.1.dev2026082500-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 0b89bf580346054fc573e641685245b325ad011c8c502bc3e97ef9c5dcf8e997
MD5 55d170e7e121e2c64f1f3f3b4abfc49b
BLAKE2b-256 53eccc801ac8cbb45af3ef9b13a22bbbda2a079d22a4f96f05a43eba3494aca9

See more details on using hashes here.

Provenance

The following attestation bundles were made for baml_bridge-0.17.1.dev2026082500-cp310-abi3-manylinux_2_24_aarch64.whl:

Publisher: release-baml-language.yml on BoundaryML/baml

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file baml_bridge-0.17.1.dev2026082500-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for baml_bridge-0.17.1.dev2026082500-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 142019fb18f767ec3a87f4d99685be0e913a324292aab0b61e5b789a0af3ab69
MD5 1fc445c8bab401fb2f973dd3b21d70d1
BLAKE2b-256 55407b05115c431d4805fb5532f9f682fc21a8a573d19d074e9aff9103731d4a

See more details on using hashes here.

Provenance

The following attestation bundles were made for baml_bridge-0.17.1.dev2026082500-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: release-baml-language.yml on BoundaryML/baml

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file baml_bridge-0.17.1.dev2026082500-cp310-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for baml_bridge-0.17.1.dev2026082500-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5158eeedb0a44a97152902d6054c981256b45dbc23149efcd8cf20b390bb4ddf
MD5 ed23c9228461f2b98a975c4a456643e4
BLAKE2b-256 509ba47fd0aef8216be27bae1a86ececd4205e7730e3b75cbbb53ca4afd8181e

See more details on using hashes here.

Provenance

The following attestation bundles were made for baml_bridge-0.17.1.dev2026082500-cp310-abi3-macosx_11_0_arm64.whl:

Publisher: release-baml-language.yml on BoundaryML/baml

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file baml_bridge-0.17.1.dev2026082500-cp310-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for baml_bridge-0.17.1.dev2026082500-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 6a2508d8544441170c3e145a7ef00e71b3963f68e213c82c233bd67cd830b3ca
MD5 a609f7bf027ddbb01fba350f19675590
BLAKE2b-256 fe13033860f68a29b43816ace9ea78d097afc34066399f3622f4c3dc4b1468e7

See more details on using hashes here.

Provenance

The following attestation bundles were made for baml_bridge-0.17.1.dev2026082500-cp310-abi3-macosx_10_12_x86_64.whl:

Publisher: release-baml-language.yml on BoundaryML/baml

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.19.0

8 files

This release

0.17.1.dev2026082500 This release

8 files

0.17.0

8 files

0.16.0

8 files

0.15.0

8 files

0.14.1

8 files

0.14.0

8 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page