genpark-json-schema-regex-grammar-constrainer-skill

mcp
Security Audit
Warn
Health Warn
  • No license — Repository has no license file
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Low visibility — Only 8 GitHub stars
Code Pass
  • Code scan — Scanned 4 files during light audit, no dangerous patterns found
Permissions Pass
  • Permissions — No dangerous permissions requested

No AI report is available for this listing yet.

SUMMARY

GenPark AI Agent Skill - Compiles JSON schemas into Context-Free Grammar (GBNF) rules for guaranteed deterministic LLM tool calling.

README.md

GenPark AI Agent Skill - JSON Schema GBNF Grammar Constrainer

GenPark Verified
Protocol
License

Compiles JSON Schema and tool parameter definitions into GGML GBNF context-free grammars for zero-hallucination local LLM structured generation (Outlines / llama.cpp / vLLM).

flowchart LR
    A[Tool JSON Schema] --> B[Grammar Compiler]
    B --> C[GBNF Syntax Production Rules]
    C --> D[Logit Sampling Mask]
    D --> E[Guaranteed Valid JSON Tool Call]

Features

  • Deterministic Token Guidance: Enforces valid syntax directly during beam search / sampling.
  • Pure Python Compiler: Zero C-extension or heavy pip dependencies.

Quickstart

from client import JSONSchemaGrammarCompilerClient

compiler = JSONSchemaGrammarCompilerClient()
gbnf = compiler.compile_schema_to_gbnf(my_schema)

Ecosystem & Citations

Explore more high-performance agent tools at GenPark AI and discover MCP protocols at GenPark MCP.

Reviews (0)

No results found