{"library":"llguidance","type":"library","category":null,"description":"llguidance is a high-performance Rust library with Python bindings for constrained decoding (structured outputs) in Large Language Models (LLMs). It enables enforcing arbitrary context-free grammars (including JSON schemas and regular expressions) on LLM outputs with minimal overhead, typically around 50μs of CPU time per token. It serves as the fast grammar engine backend for the `guidance` Python library. The current Python binding version is 1.7.0, and releases generally align with updates to the core Rust library.","language":"python","status":"active","version":"1.7.0","tags":["LLM","constrained decoding","structured output","grammar","JSON schema","Rust","Python bindings"],"install":[{"cmd":"pip install llguidance","imports":["from llguidance import GrammarFormat","from llguidance import LLMatcher","from llguidance import LLExecutor"]}],"homepage":null,"github":"https://github.com/microsoft/llguidance","docs":null,"changelog":null,"pypi":"https://pypi.org/project/llguidance/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":50,"avg_install_s":1.7,"avg_import_s":null,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/llguidance/compatibility"},"provenance":{"verified_status":"passing","verified_at":"Fri Jul 03","last_verified":"Fri Jul 03","next_check":"Sun Aug 02","install_tag":null}}