EveryDev.ai
Subscribe
Home
Tools

4,506+ AI tools

  • New
  • Trending
  • Featured
  • Rate tools
  • Compare
  • Arena
Categories
  • Agents3274
  • Coding2275
  • Infrastructure1000
  • Projects696
  • Marketing636
  • Research587
  • MCP532
  • Design508
  • Analytics506
  • Testing394
  • Security376
  • Data327
  • Integration244
  • Prompts244
  • Communication235
  • Extensions217
  • Voice193
  • Learning190
  • Commerce170
  • DevOps153
  • Web103
  • Finance36
AI Tools by Topic
  • AI Coding Assistants
  • Agent Frameworks
  • MCP Servers
  • AI Prompt Tools
  • Vibe Coding Tools
  • AI Design Tools
  • AI Database Tools
  • AI Website Builders
  • AI Testing Tools
  • LLM Evaluations
Follow Us
  • X / Twitter
  • LinkedIn
  • Reddit
  • Discord
  • Threads
  • Bluesky
  • Mastodon
  • YouTube
  • GitHub
  • Instagram
Get Started
  • Users
  • Rate Tools
  • About
  • Editorial Standards
  • Corrections & Disclosures
  • Community Guidelines
  • Advertise
  • Contact Us
  • Newsletter
  • Submit a Tool
  • Start a Discussion
  • Write A Blog
  • Share A Build
  • Terms of Service
  • Privacy Policy
Explore with AI
  • ChatGPT
  • Gemini
  • Claude
  • Grok
  • Perplexity
Agent Experience
  • llms.txt
Theme
With AI, Everyone is a Dev. EveryDev.ai © 2026
    1. Home
    2. Tools
    3. Guidance
    Guidance icon

    Guidance

    AI Development Libraries

    A Python programming paradigm for steering language models with constrained generation and interleaved control flow.

    Visit Website

    At a Glance

    Pricing
    Open Source

    Guidance core library released under the MIT License, installable via PyPI at no cost.

    Engagement

    Available On

    API
    SDK
    CLI

    Resources

    WebsiteGitHubllms.txt

    Topics

    AI Development LibrariesPrompt EngineeringLLM Orchestration

    Alternatives

    LMQLDSPyLLMLingua
    Developer
    guidance-ai

    Listed Oct 2026

    About Guidance

    Guidance is an open-source Python library from the guidance-ai organization for controlling how language models generate output. It lets developers constrain generation with regular expressions, selection lists, JSON schemas, and context-free grammars, while mixing in conditionals, loops, and tool use. The latest release listed is 0.3.2, published 2026-03-18.

    What It Is

    Guidance is a programming interface for steering language models. Users build prompts with Python idioms such as system(), user(), and assistant() context blocks and append generation calls like gen() and select() to an immutable model object. It supports backends including Transformers, llama.cpp, and OpenAI. The project states that it can reduce latency and cost compared with conventional prompting or fine-tuning.

    Constrained Generation Workflow

    A gen() call can be limited by a regex, and select() picks from a known list of options. Developers can also write their own functions with the @guidance decorator and compose stateless functions into full context-free grammars, for example to produce a simple HTML page. JSON generation is supported directly, including from Pydantic models, and results can be captured by name and parsed with Python's JSON library or Pydantic.

    Efficiency and Debugging

    When a grammar makes some tokens predictable, Guidance can insert them without a model forward pass. This is called token fast-forwarding, and it reduces GPU usage. Grammars can be tested offline with the Mock model and by matching strings against a grammar, without calling a model API. In Jupyter notebooks, a widget shows generation output with highlighting.

    Setup Path

    Install from PyPI with pip install guidance, along with the backend needed for your model.

    Guidance - 1

    Community Discussions

    Be the first to start a conversation about Guidance

    Share your experience with Guidance, ask questions, or help others learn from your insights.

    Pricing

    OPEN SOURCE

    Open Source

    Guidance core library released under the MIT License, installable via PyPI at no cost.

    • MIT License
    • Install via pip install guidance
    • Supports backends such as Transformers, llama.cpp, OpenAI
    • Constrained generation with regex and context-free grammars

    Capabilities

    Key Features

    • Pythonic interface for language models
    • Constrained generation with regex
    • select() for choosing from a fixed list
    • Context-free grammar constraints
    • JSON schema and Pydantic-based JSON generation
    • Custom functions via @guidance decorator
    • Composable stateless grammar functions
    • Token fast-forwarding to save forward passes
    • Offline grammar debugging with Mock model
    • Jupyter notebook widget
    • Capture of generated text by name

    Integrations

    Transformers
    llama.cpp
    OpenAI
    Pydantic
    Jupyter
    API Available

    Ratings & Reviews

    No ratings yet

    Be the first to rate Guidance and help others make informed decisions.

    Rate other tools you’ve used

    Developer

    guidance-ai

    Read more about guidance-ai
    WebsiteGitHub
    1 tool in directory

    Similar Tools

    LMQL icon

    LMQL

    A Python-superset programming language for LLMs with typed variables, templates, constraints and an optimizing runtime.

    DSPy icon

    DSPy

    DSPy is an open-source Python framework for programming—not prompting—language models, enabling modular, optimizable AI systems through structured signatures and automatic prompt optimization.

    LLMLingua icon

    LLMLingua

    An open-source prompt compression library that reduces LLM prompt lengths by up to 20x using a compact language model to remove non-essential tokens with minimal performance loss.

    Browse all tools

    Related Topics

    AI Development Libraries

    Programming libraries and frameworks that provide machine learning capabilities, model integration, and AI functionality for developers.

    362 tools

    Prompt Engineering

    Tools for creating and refining effective AI prompts.

    91 tools

    LLM Orchestration

    Platforms and frameworks for designing, managing, and deploying complex LLM workflows with visual interfaces, allowing for the coordination of multiple AI models and services.

    256 tools
    Browse all topics
    Back to all toolsSuggest an edit
    ratings
    discussions