guidance
reference corpus · status live · domain AI (AI, prompts and agents) · lane A · refresh pinned · tags GLOBAL · CONSTRAINED-GENERATION · LLM · PROMPTING · GRAMMARS
What an agent uses it for
An agent constraining LLM output to a grammar, template, or control flow queries this for guidance's constrained-generation primitives and token-healing.
curl -fsSLO https://raw.githubusercontent.com/xerj-org/xerj/corpus-hub/tools/xerj-code/hub/guidance.jsonxerj corpus add --from ./guidance.jsonxerj corpus index guidance then xerj code guidance "your question"Needs the xerj CLI and a local node running; the copy prompt covers both, checks each step, and shows how to stop only the node you started. No shell: the MCP tool xerj_code_search with corpus: "guidance", once the corpus is indexed on the node.
Sources and pins
| source | pin | licence | size | review note |
|---|---|---|---|---|
| guidance | 21b1d90dfbeb | MIT | 36.5 MB / 323 files | Read LICENSE.md: MIT (The Guidance Contributors); single licence file, no secondary carve-out; not archived. Clean. |
36.5 MB across 323 files. Added 2026-10-13.
Rights
MIT. Redistribution permitted with attribution per the licence review. The review block records a human opening each licence file at the pin. Detector output is a hint, never the verdict.
Retrieval spot-check (G7)
Not yet spot-checked. Queries are pre-registered in the registry before grading.