XGrammar is an open-source solution for efficient, flexible, and portable structured generation, designed to work with LLM inference engines. It supports general context-free grammars and can be integrated into various environments, enabling fast and reliable structured output generation for AI developers.
XGrammar sits in PulseGate's AI & ML category. It focuses on generating structured outputs efficiently and flexibly during LLM inference across environments. XGrammar is an open-source project aimed at AI researchers and developers. The project is open source (Apache-2.0). XGrammar is available on the web, the command line, and API, and it can be self-hosted.
XGrammar first shipped in 2024. The project is developed in the open on GitHub with 1.7k stars and 70 commits in the last 90 days. Across PulseGate's embedding index, XGrammar has few near neighbours, marking it as relatively distinct. Among its 5 catalogued features are structured generation, grammar support, and C++ backend.
Latest indexed changes and source events
Other apps tracked under the same category.