Outlines icon

Outlines

Library for structured generation that constrains LLM outputs to specific formats (JSON schema, regex, types).

Visit Website Agent Frameworks
agent-framework open-source structured-outputs infrastructure

Overview

Library for structured generation that constrains LLM outputs to specific formats (JSON schema, regex, types).

Details

Outlines is a Python library for structured generation that constrains LLM outputs to specific formats (JSON schema, regex patterns, types) using techniques like guided decoding. Outlines is widely used as foundational infrastructure for reliable structured outputs in LLM applications. Outlines is part of the OSS infrastructure ecosystem for reliable LLM applications.

Tags

agent-framework, open-source, structured-outputs, infrastructure