Skip to main content
llm.info
Guidance logo

Guidance

byMicrosoft

Control generation structure with guaranteed output formats

Overview

About

Guidance is Microsoft's library for controlling large language models with structured generation. It enables interleaving generation, prompting, and logical control into a single continuous flow, uses context-free grammar (CFG) to guarantee valid output formats like JSON, and achieves 50% faster inference through token healing and prompt caching. Supports all major LLM providers with a simple, intuitive syntax.

Compatibility

Languages

Tags

Details

Company
Microsoft
Category
Library
Open Source
Yes
License
MIT
GitHub stars
22KEntered by the submitter, not synced from GitHub
Added
Jul 6, 2026
Updated
Dec 4, 2026

Community

Reviews

Reviews

Comments

Comments