AI Dev Tools

Instructor

Open Source Updated 10d ago

Structured outputs from LLMs — type-safe validation via Pydantic

pip install instructor

Did you build this?

Claim your listing to see exactly how many AI agents recommend this tool, your success rate, and more. Free, no commission, no fees.

Claim This Listing

Instructor makes it easy to get structured data like JSON from LLMs. Patches the OpenAI client to return Pydantic models instead of raw text. Supports streaming, retry logic, and works with Anthropic, Cohere, Mistral, and Gemini. 9k+ GitHub stars. The standard for structured LLM output in Python.

Save tools & get AI recommendations

Free forever. No credit card required.

Sign Up Free
Visit Website → ☆ Bookmark

Listed for free · No commission · Claim this listing

7 developers visited via IndieStack this month
𝕏 Share
aillmstructured-outputpydanticopenaivalidationjsonpythonanthropic
View on GitHub ★ 9,000Python
Using this saves ~120k tokens vs building from scratch
Something wrong? Log in to report.
Get weekly indie picks straight to your inbox