EveryDev.ai
Subscribe
Home
Tools

6,671+ AI tools

  • Featured
  • Gems
  • Trending
  • New
  • Rate tools
  • Compare
  • Arena
Categories
  • Agents3542
  • Coding2670
  • Infrastructure1126
  • Projects931
  • MCP913
  • Research774
  • Analytics603
  • Marketing553
  • Design537
  • Testing500
  • Data456
  • Security449
  • Communication330
  • Prompts310
  • Integration308
  • Extensions264
  • Voice236
  • DevOps204
  • Commerce192
  • Learning145
  • Web136
  • Finance44
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 ©
    1. Home
    2. Tools
    3. Guidance
    Guidance icon

    Guidance

    Prompt Engineering

    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

    Prompt EngineeringLLM OrchestrationAI Development Libraries

    Alternatives

    Guardrails AIMirascopeOutlines
    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

    Guardrails AI icon

    Guardrails AI

    Open-source Python framework that runs input/output guards on LLM applications to detect and mitigate risks and to generate structured data from LLMs.

    Mirascope icon

    Mirascope

    Open-source LLM toolkit with a unified interface across providers, plus built-in tracing, versioning, and tools for building agents.

    Outlines icon

    Outlines

    Outlines is an open-source Python library for guaranteed structured outputs from LLMs, supporting JSON, Pydantic models, regex, grammars, and function signatures.

    Browse all tools

    Related Topics

    Prompt Engineering

    Tools for creating and refining effective AI prompts.

    104 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.

    327 tools

    AI Development Libraries

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

    600 tools
    Browse all topics
    Back to all toolsSuggest an edit
    ratings
    discussions
    4views