# Instructor

**Creator:** Jason Liu / Instructor community  |  **Category:** tool-use  |  **Status:** stable

## Description

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.

## Key Features

- 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)

## Resources

- [Website](https://python.useinstructor.com)
- [Specification](https://python.useinstructor.com/)
- [GitHub](https://github.com/jxnl/instructor)

---
*Source: agentprotocols.app — /protocol/instructor*