Enterprise DNAEnterprise DNA

Open Source

Guidance

A guidance language for controlling large language models.

Our verdict

Not reviewed yet

We have not reviewed Guidance yet

No one at Enterprise DNA has checked this listing against its sources. The description comes from public listings gathered automatically. Any fact below shows where it came from and when it was last checked.

How we review records

From the listing

About Guidance

Guidance is a framework for steering large language model outputs through a domain-specific language that constrains token generation. It lets you specify exact output formats, control branching logic, and enforce structured responses without post-processing.

Best for

Developers building production systems that need deterministic, schema-compliant LLM outputs

Use cases

  • Enforce JSON or XML schema compliance in model outputs
  • Build multi-turn workflows with conditional branching based on model responses
  • Extract structured data from unstructured text with guaranteed format

Notes

21,486 stars on GitHub. Last updated 2026-05-21. Licensed MIT.

Pros

  • Reduces hallucination and invalid outputs by constraining generation at token level
  • Eliminates need for output parsing and validation in downstream code
  • Works across multiple LLM providers and local models

Cons

  • Adds latency due to constraint checking on every token
  • Requires learning a new DSL syntax for non-trivial use cases
  • Community-maintained with no commercial support guarantee

Key facts

What we have checked

Latest version
0.3.2 (released 18 Mar 2026)
Checked GitHub
GitHub stars
21,779
Checked github api via nightly crawl, recovered from git history 20e874270887c1008f860ee0198e461a23c9e438

Each value shows when we last confirmed it and where it came from. Values we have not confirmed are left out, never guessed.

Stars and usage

How Guidance is growing

GitHub stars

21,486 to 21,779

stars. 12 July 2026 to 26 Sept 2026, 2 readings.

Source: github api via nightly crawl, recovered from git history 20e874270887c1008f860ee0198e461a23c9e438. Checked .

Alternatives

Alternatives to Guidance

RecordTypeHow we knowChecked
BAMLAlternative to thisOpen sourceNamed in the listingNot dated
DSPyAlternative to thisOpen sourceNamed in the listingNot dated
InstructorAlternative to thisOpen sourceNamed in the listingNot dated
LMQLAlternative to thisOpen sourceNamed in the listingNot dated
magenticAlternative to thisOpen sourceNamed in the listingNot dated
OutlinesAlternative to thisOpen sourceNamed in the listingNot dated
PromptifyAlternative to thisOpen sourceNamed in the listingNot dated

Compare

Compare Guidance side by side

Sources

Where this comes from

  • GitHubOfficial

    Checked · Latest version

  • github api via nightly crawl, recovered from git history 20e874270887c1008f860ee0198e461a23c9e438Registry

    Checked · GitHub stars

A source shows what was published when we checked it. It does not certify security, performance or a working installation. Read our method.

Changelog

What changed

  1. Released 0.3.2

    Source: GitHub

  2. Released 0.3.1

    Source: GitHub

  3. Released 0.3.0

    Source: GitHub

  4. Released 0.2.5

    Source: GitHub

  5. Released 0.2.4

    Source: GitHub

  6. Released 0.2.3

    Source: GitHub

  7. Released 0.2.2

    Source: GitHub

  8. Released 0.2.0

    Source: GitHub

  9. Released 0.2.0rc1

    Source: GitHub

  10. Released 0.1.16

    Source: GitHub

Free 27-page guide

Get the free Developer’s Field Guide

A 27-page field guide to the AI coding workflow with Claude. Claude Code, MCP servers, the prompt patterns that work, and what to delegate. Free.

Enter your work email. We send it straight over, plus a few short notes worth knowing. Unsubscribe any time.

No spam. Unsubscribe any time.