← back to the directory
Library / SDK Guardrails & Structure

Instructor

1Structured, 2validated 3outputs 4from 5any 6LLM.

the six Ws · specification

W1 Who

Open-source library maintained by the instructor project.

W2 What

Returns structured, validated data from LLM calls.

W3 Where

A Python library wrapping your LLM client.

W4 When

When you need typed objects, not raw text.

W5 Why

Makes structured extraction reliable and simple.

W6 With

Pydantic models and an LLM provider.

PythonStructured-outputPydantic

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.