Instructor
Multi-language library for structured LLM outputs. Built on top of Pydantic, provides type-safe data extraction with automatic validation, retries, and streaming. Supports 15+ LLM providers via a unified from_provider interface.
Creator: Jason Liu / Instructor community | Category: tool-use | Status: stable
Key Capabilities
- Pydantic-based structured outputs
- Automatic retries on validation failure
- Streaming partial responses
- 15+ providers (OpenAI, Anthropic, Google, Mistral, Cohere, Ollama, DeepSeek, etc.)
- Unified from_provider interface
- Sync + async clients
- Multi-language (Python, TypeScript, Go, Ruby, Elixir, Rust)