Instructor icon

Instructor

Python library for getting structured outputs from LLMs using Pydantic, widely adopted across the AI ecosystem.

Visit Website Agent Frameworks
agent-framework open-source python structured-outputs

Overview

Python library for getting structured outputs from LLMs using Pydantic, widely adopted across the AI ecosystem.

Details

Instructor is a Python library for getting structured outputs from LLMs using Pydantic models, widely adopted across the AI ecosystem as a foundational tool for reliable structured generation. Instructor handles validation, retries, and streaming for structured outputs across many LLM providers. Instructor has become a standard tool in the Python AI development stack.

Tags

agent-framework, open-source, python, structured-outputs