Favicon of instructor

instructor Skill

AI Agent SkillPythonOpen source

Extract structured data from LLM responses with Pydantic validation, retry failed extractions automatically, parse complex JSON with type safety, and stream partial results with Instructor - battle-tested structured output library Published by NousResearch in hermes-agent.

What is instructor Skill?

Extract structured data from LLM responses with Pydantic validation, retry failed extractions automatically, parse complex JSON with type safety, and stream partial results with Instructor - battle-tested structured output library Published by NousResearch in hermes-agent. This profile combines repository metadata with install, compatibility, and usage signals so developers can quickly decide whether it fits their agent workflow before opening the source repository.

Trust signal
95/100
Maintenance signal
90/100
Adoption signal
100/100

Automated repository signals based on public metadata such as recency, license, installation evidence, and adoption. These are not a security audit or endorsement.

Key capabilities

  • Includes SKILL.md support
  • Reusable instructions support
  • Data analysis
  • Data analysis use cases

Technical details

Copy skill directory
  • Install or run with Copy skill directory

When to use instructor Skill

  • Use it for data analysis.

Built with

PythonCopy skill directory

Editorial notes

Source

  • Creator: NousResearch
  • Repository: NousResearch/hermes-agent
  • Skill file: optional-skills/mlops/instructor/SKILL.md

What it does

Extract structured data from LLM responses with Pydantic validation, retry failed extractions automatically, parse complex JSON with type safety, and stream partial results with Instructor - battle-tested structured output library

Skill instructions

Instructor: Structured LLM Outputs When to Use This Skill Use Instructor when you need to: - Extract structured data from LLM responses reliably - Validate outputs against Pydantic schemas automatically - Retry failed extractions with automatic error handling - Parse complex JSON with type safety and validation - Stream partial results for real-time processing - Support multiple LLM providers with consistent API GitHub Stars: 15,000+ | Battle-tested: 100,000+ developers Installation bash Base installation pip install instructor With specific providers pip install "instructor[anthropic]" Anthropic Claude pip install "instructor[openai]" OpenAI pip install "instructor[all]" All providers Quick Start Basic Example: Extract User Data python import instructor from pydantic import BaseModel from anthropic import Anthropic Define output structure class User(BaseModel): name: str age: int email: str Create instructor client client = instructor.fromanthropic(Anthropic()) Extract structured data

Explore related resources

Frequently asked questions

What is instructor?

instructor is a open-source AI agent skill with Copy skill directory. Extract structured data from LLM responses with Pydantic validation, retry failed extractions automatically, parse complex JSON with type safety, and stream partial results with Instructor - battle-tested.

Who is instructor best for?

instructor is best for reusing agent instructions, scripts, and references, data analysis workflows.

How do I install instructor?

Install or run instructor using Copy skill directory. Check instructor for the latest setup command.

Is instructor actively maintained?

instructor may need a closer maintenance check before production use.

Share:

Stars
214,436
Forks
39,858
Last commit
9 days ago
Repository age
1 year
License
MIT

Auto-fetched from GitHub.

Ad
Favicon

 

  
 

Similar to instructor