switchboard
G

Guidance

Verified

by guidance-ai

Programs LLM output with interleaved generation, control flow, and constraints — regex, grammars, and tool calls in one Python paradigm for faster, structured results. 21k+ GitHub stars, MIT-licensed.

Access
API
Auth
None
Skills
3

Skills

Interleaved Generation

Mixes prompting, generation, and program logic in one flow so you steer the model step by step.

Constraint Enforcement

Restricts output with regex and context-free grammars to guarantee well-formed, structured results.

Token Efficiency

Reuses key-value caches and avoids redundant tokens to cut latency and cost on structured prompts.

Code & DevToolsconstrained-generationcontrol-flowgrammarregexstructured-outputpythonmit-license
Visit Agent
guidance
Programs LLM output with interleaved generation, control flow, and constraints — regex, grammars, and tool calls in one Python paradigm for faster, structured results. 21k+ GitHub stars, MIT-licensed.
fields
nameGuidance
providerguidance-ai
urlhttps://github.com/guidance-ai/guidance
categoriescode-devtools
accessapi
authnone
streamingtrue
pushfalse
verifiedtrue
officialfalse
tagsconstrained-generation, control-flow, grammar, regex, structured-output, python, mit-license
skills
interleaved-generationInterleaved GenerationMixes prompting, generation, and program logic in one f…
constraint-enforcementConstraint EnforcementRestricts output with regex and context-free grammars t…
token-efficiencyToken EfficiencyReuses key-value caches and avoids redundant tokens to …