What problem does it solve? LLMs often produce malformed JSON or free-form text that breaks downstream parsing. This Skill guarantees structurally valid outputs by constraining token generation at the logit level using finite state machines, eliminating retry loops and validation failures. ## Core Features & Use Cases - Schema-Constrained Generation: Generate outputs matching Pydantic models, JSON schemas, regex patterns, enums, or fixed choice lists with guaranteed validity. - Multiple Local Backends: Works with Transformers, llama.cpp (GGUF), and vLLM for development through high-throughput production serving. - Zero-Overhead FSM Filtering: Compiles schemas into finite state machines that filter invalid tokens during generation, running as fast as unconstrained decoding. - Use Case: Extract structured company information (name, founded year, industry, employees) from hundreds of unstructured text documents into validated Pydantic objects for a data pipeline. ## Quick Start Use the outlines skill to extract a user's name, age, and email from this text into a validated Pydantic model.