Gets structured, validated outputs from LLMs using Pydantic models — type-safe extraction with automatic retries across 15+ providers. 6M+ monthly downloads, 13k+ GitHub stars. MIT-licensed.
Use it now
Keep it with up to 9 other tools you're setting up, then share them all as one link.
Try this first
Ask your coding agent:
- Structured Extraction
Use Instructor to extract data into typed Pydantic models from LLM responses: ‹what you need›
Call the API
Auth An API key from 567 Labs
Its page: github.com/567-labs/instructor
Limitations
- needs an API key from 567 Labs
- no MCP server
Compare
Press Compare to add it to the tray at the bottom of the window, then pick up to 2 others anywhere on the site.
- Access
- API
- Auth
- API Key
- Skills
- 3
- Endpoint check
- Live ·
Skills
Structured Extraction
Extracts data into typed Pydantic models from LLM responses, guaranteeing the shape your code expects.
Automatic Retries
Re-prompts the model on validation failures until the output conforms to the requested schema.
Multi-Provider Support
Works across 15+ LLM providers with one consistent API for structured, validated responses.
Embed badge · Verified
Drop this static SVG badge into your README or docs to link straight to this listing. Served from CDN with no tracking. See all badge tiers.
[](https://agentswitchboard.dev/agents/instructor)
<a href="https://agentswitchboard.dev/agents/instructor"><img src="https://agentswitchboard.dev/badges/verified.svg" alt="Verified on Agent Switchboard" width="234" height="28" /></a>