Guidance
Python library for interleaving generation, prompting, and logical control using Handlebars templating.
- Status
- Generally available
- Last checked
- Checked · Nov 28, 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.
Maintenance status
Generally available
Evidence: Actively maintained open-source project.
Read from github.com/microsoft/guidance ↗ · last commit May 21, 2026 · repository read Nov 28, 2026
Last checked Nov 28, 2026 by an automated check of its repository, package or website.
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.
Set up Guidance
No step-by-step guide on file yet — the setup page points to the official docs and sign-up.
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>