Guidance
Python library for interleaving generation, prompting, and logical control using Handlebars templating.
- Status
- Generally available
- Last checked
- Checked · Oct 10, 2026
- License
- Open source
- Pricing
- Free tier · from $0
What it is
Guidance is a Python library from Microsoft that uses Handlebars templating to interleave AI-generated text with prompts and logical control structures. This makes it easier to create complex interactions with language models in a structured way.
Guidance stands out by offering a unique way to integrate logical control and prompting within text generation, making it ideal for developers who need structured AI-generated content.
When it fits — and when it doesn’t
A good fit for
Developers building interactive AI applications who need structured text generation
Teams working on chatbot development requiring dynamic and context-aware responses
Projects that require automated document creation based on variable inputs
Look elsewhere if
Real-time data processing where low-latency is critical
Applications requiring heavy customization beyond templating capabilities
Known weaknesses
Each one links to the public issue, changelog or docs page it came from, where we have one.
- 01
Small community and slow issue resolution
GitHub repository has few contributors and issues take a long time to be addressed by maintainers
What it does well
Handlebars templating for structured text generation
Interleaving of prompts and logical control within templates
Integration with language models for dynamic content generation
Pricing
- Free tier
- YesOpen source — free to use
- Paid from
- $0
- Model
- Flat rate
- Enterprise plan
- No
Pricing not independently confirmed — check the vendor’s page.
Performance benchmarks
How Fast Is It?
Set up Guidance
Setup steps, common gotchas and what to check after 30 days.
Get the badge
A small badge for Guidance’s README or site: its name, “Tracked on AI Navigator”, and the availability status and check month from this page. It updates as the catalog does.
Markdown
[](https://navigateaitools.com/explorer/tool/guidance)HTML
<a href="https://navigateaitools.com/explorer/tool/guidance"><img src="https://navigateaitools.com/badge/guidance.svg" alt="Guidance — tracked on AI Navigator" height="58"></a>