XGrammar-2: Fast, Customizable Structured Generation for Tool Calling and Agents
MLC AI released XGrammar-2, a major upgrade to its constrained-decoding library that introduces Structural Tag, a composable JSON DSL for expressing OpenAI Harmony format, tool calling, reasoning chan…