xgrammar
XGrammar is an open-source library for efficient, flexible, and portable structured generation.
XGrammar is an open-source library for efficient, flexible, and portable structured generation.
To install this package, run one of the following:
Summary
XGrammar is an open-source library for efficient, flexible, and portable structured generation.
Last Updated
Mar 30, 2026 at 20:19
License
Apache-2.0 AND BSD-4-Clause
Supported Platforms