Guidance
Guidance: A focused Python toolkit for structured generation and logical control over model output. Ranked #34 of 49 in LLM Application Development Frameworks by our editors (6.0/10); pricing: Free plan; best for constrained generation with grammars and schemas.
At a glance
- Editor score6.0 / 10
- PricingFree plan
- Best forConstrained generation with grammars and schemas
- Free planYes
- Paid fromNone
- RAG supportYes
- Facts checked28 Sep 2026
Where it wins
- Constrain generation with regular expressions, grammars, or JSON schemas.
- Combine generation with conditionals, loops, and reusable functions.
- Supports Transformers, llama.cpp, OpenAI, and tool calls.
Where it doesn't
- Specialized generation toolkit, not a broad application framework.
- No workflow graphs or prompt optimization.
- Python library without a JavaScript SDK.
Our verdict on Guidance
Guidance is an open-source Python library for developers who want programs to control how language models generate text. Its focus is constrained generation: output can follow regular expressions, context-free grammars, predefined choices, or a JSON schema. Rather than treating a prompt as a single fixed request, Guidance can combine prompting and generation with conditionals and loops, and developers can define reusable functions. That makes it a fit for teams building applications where output shape and generation flow matter more than a broad, visual application-building environment.
The framework's standout capability is control over generated structure. Schema-constrained JSON, grammar-based output, and predefined choices address cases where an application needs responses in an expected form. Guidance also supports tool or function calls, and its documentation includes retrieval-augmented generation examples. These features keep the focus on shaping model behavior within a Python program; they are not a workflow graph or prompt-optimization system. Teams seeking those capabilities as central framework features may prefer a broader application framework.
Guidance can connect to multiple model backends, including Transformers, llama.cpp, and OpenAI, giving developers options to align the library with their model setup. It is self-hosted and open source under the MIT license, with a free plan, so it is not presented as a hosted service with paid tiers. Support channels include email, community, and documentation. Choose Guidance when constrained output and programmable control flow are the core requirements; consider another option if a JavaScript SDK or workflow graphs are needed. The published platform details specify Linux, and the library is Python-focused.
Guidance pricing
Guidance fact sheet
| Free plan | Yes |
|---|---|
| Paid from | None |
| Primary language | Python |
| RAG support | Yes |
| Agent and tool use | Yes |
| Workflow graphs | No |
| Prompt optimization | No |
| Open-source license | Mit |
| JavaScript/TypeScript SDK | No |
| Deployment | Self-hosted |
| Platforms | Linux |
| Support | Email, Community, Docs |
| Built for | Solo, Small business, Mid-market, Enterprise (editorial estimate) |
| Pricing | Free plan |
| Website | github.com |
| Facts checked | 28 Sep 2026 |
Alternatives to Guidance
- LangChainA self-hosted framework for LLM apps, retrieval workflows, and agents.9.4
- LangGraphGraph-based control for developers who need durable, stateful agent workflows.9.2
- Microsoft Agent FrameworkAn open-source framework for multi-agent orchestration, with checkpoints and approval gates.9.1
See all Guidance alternatives →
Used Guidance? Be the first to review it
The editor score above is our own research. What this page doesn't have yet is a reader's view — what you used Guidance for, what worked and what didn't. No stars are seeded and no review is paid for; an editor reads every one before it appears.
Write a reviewTwo minutes · verified accounts only · read by an editor before it appears
Featured on iTechGuides
Guidance is listed in our LLM Application Development Frameworks directory. Add the badge to your site — it links back to this page.
<a href="https://www.itechguides.com/products/guidance/"><img src="https://www.itechguides.com/best/badge/guidance.svg" alt="Featured on iTechGuides" width="230" height="46"></a>
Reviewed by iTechGuides Editors · Editorial team · Updated Oct 2026
Advertiser disclosure: iTechGuides is reader-supported. We may earn a commission when you click some links. How we rank.
Last updated · How we research and update
