Instructor
JSON →Structured data extraction from LLMs via Pydantic models. Patches or wraps provider clients (OpenAI, Anthropic, Gemini, Cohere, Mistral, Groq, Ollama, and 15+ others) to add response_model, automatic validation, and retry logic. Uses tool-calling or JSON mode depending on provider. Core interface: client.chat.completions.create(response_model=MyModel, ...) returns a validated Pydantic instance. Maintained by Jason Liu / jxnl.
Traffic · last 30 days ↓83% vs prev 7d
total hits 23
actors 5 distinct systems
last hit 10d ago AhrefsBot
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇸🇬 Singapore · VN · PH
Resources
homepagepython.useinstructor.com ↗
API endpoints
full doc /v1/registry/instructor
install /v1/registry/instructor/install
compatibility /v1/registry/instructor/compatibility