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.