Install Instructor — structured AI outputs using Pydantic models
Instructor patches the Anthropic/OpenAI/Gemini SDKs to return validated Pydantic objects instead of raw text. Define a Pydantic model for what you want (e.g., a list of bugs with severity and location), and the agent reliably returns data that shape.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.