guidance

Community

Constrain LLM outputs for reliable results.

Authorovachiever
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Guidance provides constrained generation, enforcing valid formats (JSON/XML/code) using regex and grammars, enabling fast, reliable, structured outputs from LLMs and reducing post-editing toil.

Core Features & Use Cases

  • Regex/Grammar Constraints: Force outputs to match patterns (emails, dates, IDs) and grammatical rules
  • Structured Outputs: Guarantee valid JSON/XML/code, preventing invalid structures
  • Multi-step Workflows: Build Pythonic control flows to orchestrate complex generations
  • Backends Support: Works with diverse backends (OpenAI, Transformers, Claude variants)

Quick Start

Use Guidance to constrain a generation to a valid JSON object with known keys.

Dependency Matrix

Required Modules

guidancetransformers

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: guidance
Download link: https://github.com/ovachiever/droid-tings/archive/main.zip#guidance

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.