Enterprise DNAEnterprise DNA

Open Source

Instructor

by Jason Liu (community)

Structured output for LLMs via Pydantic. The cleanest answer to 'just give me a typed object back'.

Our verdict

Not reviewed yet

We have not reviewed Instructor yet

No one at Enterprise DNA has checked this listing against its sources. The description comes from public listings gathered automatically. Any fact below shows where it came from and when it was last checked.

How we review records

From the listing

About Instructor

Instructor patches the major LLM clients to return Pydantic models (or Zod schemas, in TS) instead of raw strings. It handles validation, retries, and streaming of structured output across providers. The first thing most engineering teams reach for when they need an LLM call that has to round-trip data reliably.

Best for

Engineers tired of regexing JSON out of model output

Use cases

  • Force a model to return a well-typed JSON object on every call
  • Add validation and retries to structured extraction tasks
  • Stream typed structured output to the UI
  • Use across many providers with one consistent API

Notes

Why it matters

Structured output is the unsung hero of production LLM apps. Instructor made the typed-object pattern the default, not the exception.

How teams use it in production

Patch the client, write a Pydantic model, ask for the model back. The rest of the code looks like a normal service. Reliability follows from the schema, not from clever prompt engineering.

What to watch

Native structured output is shipping across most major providers. Instructor's value is the cross-provider consistency layer that stays useful when each provider does it slightly differently.

Pros

  • Drop-in patch on existing OpenAI, Anthropic, Google clients
  • Validation + retries handled cleanly
  • Streaming structured output is rare and well-implemented
  • Strong docs and large community

Cons

  • Python implementation is more mature than TypeScript
  • Adds a layer of abstraction on top of provider SDKs
  • Newer streaming features still evolving

Key facts

What we have checked

Latest version
1.17.0 (released 9 Sept 2026)
Checked GitHub
Days since the last commit
0
Checked GitHub
GitHub forks
1,357
Checked GitHub
GitHub stars
14,099
Checked GitHub
Days to a first reply on issues
24.4
Checked GitHub
Open issues
0
Checked GitHub
Releases in the last 90 days
2
Checked GitHub

Each value shows when we last confirmed it and where it came from. Values we have not confirmed are left out, never guessed.

Stars and usage

How Instructor is growing

GitHub stars

13,943 to 14,099

stars. 26 Sept 2026 to 6 Nov 2026, 3 readings.

Source: GitHub. Checked .

Health and security

Is Instructor looked after, and what do its setup files show

Health score

76 out of 100

Does someone look after this repository? It does not say the code is good or safe. Worked out from GitHub signals checked . How it is worked out

PartPointsWhat we saw
Recent activity30 of 30Last push 0 days ago
Releases11.3 of 152 releases in 90 days
Issue replies4.2 of 20First reply in 24.4 days (median)
Maintainer15 of 15Owned by an organisation
Official sourceNot countedMCP servers only

Alternatives

Alternatives to Instructor

RecordTypeHow we knowChecked
GuidanceThis is an alternative to itOpen sourceNamed in the listingNot dated
OutlinesThis is an alternative to itOpen sourceNamed in the listingNot dated

Compare

Compare Instructor side by side

Sources

Where this comes from

  • GitHubOfficial

    Checked · Latest version

  • GitHubRegistry

    Checked · Days since the last commit, GitHub forks, GitHub stars, Days to a first reply on issues, Open issues, Releases in the last 90 days

A source shows what was published when we checked it. It does not certify security, performance or a working installation. Read our method.

Changelog

What changed

  1. Released 1.17.0

    Source: GitHub

  2. Released 1.16.0

    Source: GitHub

  3. Released 1.15.4

    Source: GitHub

  4. Released 1.15.3

    Source: GitHub

  5. Released 1.15.1

    Source: GitHub

  6. Released 1.15.0

    Source: GitHub

  7. Released 1.14.5

    Source: GitHub

  8. Released 1.14.4

    Source: GitHub

  9. Released 1.14.3

    Source: GitHub

  10. Released 1.14.2

    Source: GitHub

Free 27-page guide

Get the free Developer’s Field Guide

A 27-page field guide to the AI coding workflow with Claude. Claude Code, MCP servers, the prompt patterns that work, and what to delegate. Free.

Enter your work email. We send it straight over, plus a few short notes worth knowing. Unsubscribe any time.

No spam. Unsubscribe any time.