Privacy choices: we'd like to measure visits anonymously (our own cookie-free counter plus Google Analytics, which sets its own cookies; no ads) and load Beehiiv's newsletter sign-up, which may set its own cookies. Nothing optional runs until you choose. Privacy policy

AgentScout / frameworks / Guidance
frameworksOpen sourceAdded Oct 18, 2026

Guidance logoGuidance

No ratings yet★ Rate this tool

Guidance is an MIT-licensed Python library for steering language models: instead of plain prompts you write programs that mix generation with control flow (conditionals, loops, tool calls) and constrain output with regular expressions, context-free grammars or JSON schemas, which makes structured output reliable and can cut latency and cost. It runs on Transformers, llama.cpp, OpenAI and other backends (pip install guidance); the latest release is 0.3.2 from March 2026.

Updated

✨ Try AgentScout's free AI image generator →

Good for: writing code, building AI agents

Use cases

Get featured

About Guidance

Guidance is listed in our frameworks category and is aimed at builders. Guidance is an MIT-licensed Python library for steering language models: instead of plain prompts you write programs that mix generation with control flow (conditionals, loops, tool calls) and constrain output with regular expressions, context-free grammars or JSON schemas, which makes structured output reliable and can cut latency and cost. It runs on Transformers, llama.cpp, OpenAI and other backends (pip install guidance); the latest release is 0.3.2 from March 2026. Pricing, as the maker states it: Open source. Maturity: Mature. We last checked the official link on 2026-12-01.

What is Guidance?

Guidance is a programming paradigm for steering language models. It lets you control how output is structured and get high-quality results while reducing latency and cost compared with conventional prompting or fine-tuning.

It offers a Pythonic interface to LLMs, installs from PyPI, and supports backends such as Transformers, llama.cpp and OpenAI, with a richer widget in Jupyter notebooks.

Sources: the official README and our directory listing, checked 2026-10-18. Official site: github.com/guidance-ai/guidance.

Who is Guidance for?

Python developers who need structured, constrained output from language models, such as JSON or specific formats.

Guidance at a glance

Key features

  • Constrains and structures model output
  • Pythonic interface to language models
  • Backends: Transformers, llama.cpp, OpenAI and more
  • Jupyter notebook widget
  • Available on PyPI

Guidance FAQ

What is Guidance?

Guidance is a programming paradigm for steering language models. It lets you control how output is structured and get high-quality results while reducing latency and cost compared with conventional prompting or fine-tuning.

Who is Guidance for?

Python developers who need structured, constrained output from language models, such as JSON or specific formats.

Is Guidance free?

Guidance's pricing, as the maker states it: Open source. Open-source tools are free to use, though you may still pay for model API usage or a hosted plan. Check the official site for current plans.

Is Guidance open source?

Yes. Guidance is released under the MIT License, according to its GitHub repository.

What are alternatives to Guidance?

Similar tools include CrewAI, Pydantic AI, Hermes Agent (Nous Research), Langchain.rb, DSPy and Excelize.

Guidance ratings and reviews

No ratings yet. Be the first to review Guidance.

Be the first to rate Guidance: tap 1 to 5 stars below. A written review is optional.

Your rating of Guidance

Guidance alternatives

Other frameworks tools in our directory. See all frameworks tools →

CrewAI logo

CrewAI

CrewAI is an MIT-licensed Python framework for production multi-agent automation, independent of LangChain: Crews give role-based agents autonomy to collaborate on a task, and Flows add precise, event-driven control that mixes single LLM calls, regular code and Crews. A hosted platform adds deployment, tracing and management, and release 1.15.41 shipped Nov 12, 2026.

Pydantic AI logo

Pydantic AI

Pydantic AI is the Pydantic team's free, MIT-licensed Python framework for building typed AI agents. Swapping the model is a one-line change, and the same agent can run behind a website, in a terminal, on a voice call, or in a background job. It also covers image generation and embeddings.

Hermes Agent (Nous Research) logo

Hermes Agent (Nous Research)

Hermes Agent is Nous Research's MIT-licensed, self-improving agent with a built-in learning loop: it writes skills from completed tasks, refines them in use, keeps agent-curated memory and searches its own past conversations. It runs on anything from a $5 VPS to serverless infrastructure, offers a full terminal UI, and one gateway serves Telegram, Discord, Slack, WhatsApp, Signal and the CLI, with any model via Nous Portal, OpenRouter, OpenAI or your own endpoint.

Langchain.rb logo

Langchain.rb

Langchain.rb is an MIT-licensed Ruby gem for building LLM-powered applications: a unified interface across providers such as OpenAI, Anthropic, Google Gemini, AWS Bedrock, Mistral and Ollama, plus prompt management, output parsers, retrieval-augmented generation over vector stores, tool-using Assistants and evaluations. A companion langchainrb_rails gem adds deep Rails integration.

DSPy logo

DSPy

DSPy (Declarative Self-improving Python) is Stanford NLP's MIT-licensed framework for programming rather than prompting language models. You write modular Python components (signatures and modules) for classifiers, RAG pipelines or agent loops, and DSPy's optimizers tune the prompts and, optionally, the model weights against your metric, so the pipeline improves without hand-editing brittle prompts. Install it with pip install dspy; docs live at dspy.ai.

Excelize logo

Excelize

Go language library for reading and writing Microsoft Excel™ (XLAM / XLSM / XLSX / XLTM / XLTX) spreadsheets