← back to the directory
Library / SDK Guardrails & Structure

Outlines

1Guaranteed 2structured 3generation 4from 5language 6models.

the six Ws · specification

W1 Who

Open-source project from dottxt.

W2 What

Constrains generation to match schemas, grammars, or regex.

W3 Where

A Python library around local or hosted models.

W4 When

When output must strictly follow a format.

W5 Why

Guarantees valid structure at generation time.

W6 With

A supported model backend.

PythonStructured-generationConstraints

for agents & scripts

Reading this as a machine? Query it directly.

Search is open JSON - no key. Report telemetry after using a tool and it feeds that tool’s Proof Score. Or speak MCP to /mcp and discover tools mid-loop.