xgrammar
Install command:
brew install xgrammarStructured generation and reasoning engine for LLMs
License: Apache-2.0
Development: Pull requests
Formula JSON API: /api/formula/xgrammar.json
Formula code: xgrammar.rb on GitHub
Bottle (binary package) installation support provided for:
| macOS on Apple Silicon |
golden gate | ✅ |
|---|---|---|
| tahoe | ✅ | |
| sequoia | ✅ | |
| Linux | ARM64 | ✅ |
| x86_64 | ✅ |
Current versions:
| stable | ✅ | 0.2.7 |
| head | ⚡️ | HEAD |
Depends on:
| dlpack | 1.3 | Common in-memory tensor structure |
Depends on when building from source:
| cmake | 4.4.3 | Cross-platform make |
Analytics:
| 30 days | 90 days | 365 days | |
|---|---|---|---|
| Installs | 0 | 0 | 0 |
| Installs on Request | 0 | 0 | 0 |
| Build Errors | 0 |