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.18.1.dev2026090600-cp310-abi3-win_arm64.whl (10.2 MB view details)

Uploaded CPython 3.10+Windows ARM64

baml_bridge-0.18.1.dev2026090600-cp310-abi3-win_amd64.whl (10.6 MB view details)

Uploaded CPython 3.10+Windows x86-64

baml_bridge-0.18.1.dev2026090600-cp310-abi3-musllinux_1_1_x86_64.whl (10.6 MB view details)

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

baml_bridge-0.18.1.dev2026090600-cp310-abi3-musllinux_1_1_aarch64.whl (10.1 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.1+ ARM64

baml_bridge-0.18.1.dev2026090600-cp310-abi3-manylinux_2_24_aarch64.whl (9.9 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.24+ ARM64

baml_bridge-0.18.1.dev2026090600-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (10.5 MB view details)

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

baml_bridge-0.18.1.dev2026090600-cp310-abi3-macosx_11_0_arm64.whl (9.9 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

baml_bridge-0.18.1.dev2026090600-cp310-abi3-macosx_10_12_x86_64.whl (10.3 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

Details for the file baml_bridge-0.18.1.dev2026090600-cp310-abi3-win_arm64.whl.

File metadata

File hashes

Hashes for baml_bridge-0.18.1.dev2026090600-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 6c03f168a4426f03dd41f8aef6a4d867630f5195409c8b7988e419df8279dac3
MD5 e9cda3a8e55f3c99f427cffbb92b339d
BLAKE2b-256 a4caa1f678c766aa069a9dd05b2044c15da815952a7e2db7fe639f45474909e6

See more details on using hashes here.

Provenance

The following attestation bundles were made for baml_bridge-0.18.1.dev2026090600-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.18.1.dev2026090600-cp310-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for baml_bridge-0.18.1.dev2026090600-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 a510fac43532c7f185bab4adee5a5189827097b2abfe5177c8e8c93960d38e44
MD5 b4a7215951297e72c63f8294697f3105
BLAKE2b-256 f90ea9d03ce8fb0eaf47650ea5aac20b01a632e05c1cdbb5270bef7a87de32a3

See more details on using hashes here.

Provenance

The following attestation bundles were made for baml_bridge-0.18.1.dev2026090600-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.18.1.dev2026090600-cp310-abi3-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for baml_bridge-0.18.1.dev2026090600-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 ba6c91cc3c03d58b516bb8cd001ac1b39017a42c5d294e2b752ac0ed0d76741b
MD5 1a81f4b6a31f29d19d9bd4d170fa74c5
BLAKE2b-256 3a74fa1cfe7ca92b39bc32c18ac755968a6edd0a3337eded6f96b11f0ff5c1e4

See more details on using hashes here.

Provenance

The following attestation bundles were made for baml_bridge-0.18.1.dev2026090600-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.18.1.dev2026090600-cp310-abi3-musllinux_1_1_aarch64.whl.

File metadata

File hashes

Hashes for baml_bridge-0.18.1.dev2026090600-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 f7ea597a7c6f43276ee173f0a1b7f9fdba2c88d6d16b002de5dcbad73e6beca3
MD5 91b92eef74931e5a69fed969f49076f1
BLAKE2b-256 3b9c8c012cdacb72ec7cefa8b3b93245467b2f03842b25f9eaa38a42f41186f7

See more details on using hashes here.

Provenance

The following attestation bundles were made for baml_bridge-0.18.1.dev2026090600-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.18.1.dev2026090600-cp310-abi3-manylinux_2_24_aarch64.whl.

File metadata

File hashes

Hashes for baml_bridge-0.18.1.dev2026090600-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 02d252dccabc5c8180d9e97059a163516fe0f731ba37a37475cc2db2418adeee
MD5 a4388bc31877340bb5f4e14a82e0a583
BLAKE2b-256 133baa8b90717b90542e8851b741cc7b8adee09a19ac496f258aea6f9b6f5b2e

See more details on using hashes here.

Provenance

The following attestation bundles were made for baml_bridge-0.18.1.dev2026090600-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.18.1.dev2026090600-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for baml_bridge-0.18.1.dev2026090600-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 872f80c1438be9ed323d9e8cce3b897e71bc9d73547ab4be139d7c7ed3289d16
MD5 0e2f66b83fd0e67a48919245b214e935
BLAKE2b-256 4cae7bb3f193ee59554c862c4aba403c9819eea2bfbff690f3ba1e0024326a84

See more details on using hashes here.

Provenance

The following attestation bundles were made for baml_bridge-0.18.1.dev2026090600-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.18.1.dev2026090600-cp310-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for baml_bridge-0.18.1.dev2026090600-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4e2820439887a021fcab5d9e3f1eb70637470113da6a8cd2d743d127aff0f379
MD5 e64fb6cb49a1a2b4c82ffa484bac6793
BLAKE2b-256 f864c1df25d60d45cd3f5ae4a87208cfee2d4a895bda33c7d9c69fa378008d02

See more details on using hashes here.

Provenance

The following attestation bundles were made for baml_bridge-0.18.1.dev2026090600-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.18.1.dev2026090600-cp310-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for baml_bridge-0.18.1.dev2026090600-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 4629e2634e4485f14833d5d5ef4640c0e0c663b206fe1f1df204b4832031c32f
MD5 ac84fcdcae4375d562a30ad6383e3e43
BLAKE2b-256 9e866521530b631595c480ec4d924a6a77c93f916978a61d7345f68ace9425df

See more details on using hashes here.

Provenance

The following attestation bundles were made for baml_bridge-0.18.1.dev2026090600-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.18.1.dev2026090600 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