Skip to content

Instructor ​

⭐ 14.2k stars
Repositoryjxnl/instructor
Categoryskill
Difficultybeginner
Statusactive
Tagsstructured-output pydantic validation python
Websitehttps://python.useinstructor.com

Review ​

Simple library for getting structured (typed) outputs from LLMs via Pydantic models. Handles retries, validation, and streaming with a clean, Pythonic API. Best for developers who need reliable JSON/typed output from any LLM provider.

Use Cases ​

  • structured-output
  • data-extraction
  • validation

Curated with care for the AI developer community