Instructor
Library for getting validated, typed structured outputs from LLMs using Pydantic models.
Bookmark
Bookmarks are kept in your free account, so you can find this page again on any device.
Sign in to bookmarkWhat it is
Instructor patches LLM clients so you can ask for a Pydantic model and get a validated instance back, with automatic retries when validation fails. Ports exist for several other languages.
Best for
Extracting structured data from text with minimal code.
Skills it helps with
Related tools
DSPy
Write LLM programs as declarative modules and let optimisers tune the prompts.
Pydantic AI
Type-safe Python agent framework from the Pydantic team.
AI SDK
TypeScript toolkit for streaming, tool calls and agents across model providers.
Agent Development Kit (ADK)
Google's code-first framework for building, evaluating and deploying agents.
Agno
Python framework for agents, teams and workflows, served as APIs with AgentOS.
Claude Agent SDK
Build agents on the same harness that powers Claude Code.