Skip to content
Guidance logo

Guidance

Unclaimed

A guidance language for controlling large language models with precision and efficiency.

Visit Website
Tracked since2026
0 reviews tracked

The Bottom Line

Entry price

Free, no paid tier

Biggest pro

Provides fine-grained control over LLM output

Biggest con

Requires programming knowledge (Python)

TL;DR - Guidance

  • Controls large language models with a Pythonic interface.
  • Constrains LLM output using regex and context-free grammars.
  • Reduces latency and cost compared to conventional prompting.
Pricing: Free forever
Best for: Individuals & startups

What is Guidance?

Editorial review
Guidance is an efficient programming paradigm designed to steer and control large language models (LLMs). It provides a Pythonic interface that allows developers to interact with LLMs using familiar Python idioms, enabling seamless interleaving of control flow (conditionals, loops, tool use) and text generation. This approach helps users structure LLM output, achieve high-quality results, and potentially reduce latency and cost compared to traditional prompting or fine-tuning methods. The tool is particularly useful for developers and researchers working with LLMs who need fine-grained control over the generation process. It supports constraining output using regular expressions and context-free grammars, ensuring that the generated text adheres to specific formats or choices. Guidance also facilitates the creation of custom functions that encapsulate complex interactions with language models, making it easier to build sophisticated AI applications.

Available on: Web

Pros & Cons

Pros

  • Provides fine-grained control over LLM output
  • Ensures high-quality and structured output
  • Potentially reduces latency and cost
  • Integrates with common Python idioms
  • Supports multiple LLM backends

Cons

  • Requires programming knowledge (Python)
  • Full CFG support depends on the backend LLM

Preview

Key Features

Pythonic interface for interacting with LLMsConstrained generation using regular expressionsConstrained generation using context-free grammars (CFGs)Interleave control (conditionals, loops, tool use) and generationCapture generated text programmaticallySupport for various LLM backends (Transformers, llama.cpp, OpenAI)Custom Guidance functions using decoratorsJupyter notebook widget for richer user experience

Pricing Plans

Open Source

Free

  • Full source code access
  • MIT License license
  • Community support
  • Self-hosted

Reviews

Be the first to review Guidance

Your take helps the next buyer. Verified LinkedIn reviewers get a badge.

Write a review

Best Guidance Alternatives

Top alternatives based on features, pricing, and user needs.

View full list →

Most buyers shortlist 2 or 3 tools before committing. Pull a side-by-side comparison or browse the full alternatives shortlist below.

Explore More

Guidance FAQ

What is Guidance?

Guidance is an efficient programming paradigm and a Python library for steering and controlling large language models. It allows users to define the structure of LLM output, interleave control flow with generation, and constrain output using methods like regular expressions and context-free grammars.

How much does Guidance cost?

Guidance is an open-source project available under the MIT license, meaning it is free to use.

Is Guidance free?

Yes, Guidance is free and open-source, distributed under the MIT license.

Who is Guidance for?

Guidance is primarily for developers, researchers, and anyone working with large language models who needs precise control over LLM output, wants to ensure specific output formats, or aims to build complex AI applications with structured generation.

Source: github.com

Guides & Articles