{"library":"baml-py","type":"library","category":null,"description":"BAML (Basically a Made-up Language) is a domain-specific language and toolchain designed to build reliable AI workflows and agents by transforming prompt engineering into schema engineering. It generates type-safe client code for Python (and other languages like TypeScript, Ruby, Go), enabling structured outputs from Large Language Models with built-in features like streaming, retries, and broad model support. The library is actively maintained with frequent releases, currently at version 0.220.0.","language":"python","status":"active","version":"0.220.0","tags":["AI","LLM","structured-output","prompt-engineering","DSL","type-safe","codegen"],"last_verified":"Sat May 23","install":[{"cmd":"pip install baml-py","imports":["from baml_client.sync_client import b","from baml_client.types import YourSchemaName","from baml_py import AbortController"]},{"cmd":"baml-cli init","imports":[]},{"cmd":"baml-cli generate","imports":[]}],"homepage":"https://www.boundaryml.com","github":"https://github.com/BoundaryML/baml","docs":"https://docs.boundaryml.com","changelog":null,"pypi":"https://pypi.org/project/baml-py/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":2.1,"avg_import_s":null,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/baml-py/compatibility"}}