Structured data extraction from any LLM using Pydantic models. Automatic retries, validation, and streaming. 3M+ monthly downloads. Available in Python, TypeScript, Go, Ruby, and Rust.
Instructor is the most popular library for extracting structured data from large language models, with over 3 million monthly downloads, 11K GitHub stars, and 100+ contributors. Define a Pydantic model that specifies exactly what data you want, and Instructor handles the rest: schema generation, API calls, validation, and automatic retries when the output does not match. It works with OpenAI, Anthropic, Google Gemini, DeepSeek, Ollama, and 15+ other providers. Available in Python, TypeScript, Go, Ruby, Elixir, and Rust. For most projects that need reliable structured output from LLMs, Instructor is the safest default. It requires almost no learning curve and covers the 80% case where you just need the model to return validated JSON matching your schema.
LLM data framework for connecting custom data sources to language models. Best-in-class RAG, data connectors, and query engines. Python and TypeScript.
Type-safe Python agent framework from the Pydantic team. Brings the FastAPI feeling to AI development. Composable tools, durable execution, and full IDE autocomplete.
Constrained generation library for LLMs. Uses finite state machines to mask invalid tokens during generation. Guarantees schema-compliant output with zero retries.
The TypeScript toolkit for building AI apps. Unified API across OpenAI, Anthropic, Google. Streaming, tool calling, structured output, multi-step agents. 50K+ GitHub stars.
Structured data extraction from any LLM using Pydantic models. Automatic retries, validation, and streaming. 3M+ monthly downloads. Available in Python, TypeScript, Go, Ruby, and Rust.
Try InstructorHonest takes on AI dev tools, frameworks, and infrastructure - delivered to your inbox.
Subscribe FreeThe TypeScript toolkit for building AI apps. Unified API across OpenAI, Anthropic, Google. Streaming, tool calling, structured output, multi-step agents. 50K+ GitHub stars.
Frontend stack for agent-native apps. React hooks, prebuilt copilot UI, AG-UI runtime, frontend tools, shared state, and human-in-the-loop flows.
Anthropic's Python SDK for building production agent systems. Tool use, guardrails, agent handoffs, and orchestration. Released alongside Claude 4.
Step-by-step guide to building an MCP server in TypeScript - from project setup to tool definitions, resource handling, testing, and deployment.
AI AgentsDeep comparison of the top AI agent frameworks - LangGraph, CrewAI, Mastra, CopilotKit, AutoGen, and Claude Code.
AI AgentsInstall the dd CLI and scaffold your first AI-powered app in under a minute.
Getting Started
Production-tested patterns for orchestrating AI agent teams - from fan-out parallelism to hierarchical delegation. Cover...

Convex and Supabase both work for AI-powered apps. Here is when to use each, based on building production apps with both...

MCP servers and function calling both let AI tools interact with external systems. They solve different problems. Here i...

The TypeScript patterns that show up in every AI project. Streaming responses, type-safe tool definitions, structured ou...

A step-by-step guide to building Model Context Protocol servers in TypeScript. Project setup, tool registration, resourc...

Transformers.js lets you run machine learning models in the browser with zero backend. Here is how to use it for text ge...

New tutorials, open-source projects, and deep dives on coding agents - delivered weekly.