The orchestration layer above raw model APIs — chains, agents, RAG pipelines, prompt management, evaluation. The plumbing that turns "call an LLM" into a real product.
← Back to AI Landscape| Framework | Language | Best for |
|---|---|---|
| LangChain | Python, TS | Most popular; chains, agents, integrations to ~everything. |
| LangGraph | Python, TS | Stateful, graph-based agent workflows (LangChain's successor for agents). |
| LlamaIndex | Python, TS | RAG-first — ingestion, indexing, query engines. |
| Haystack | Python | Production RAG & search pipelines (deepset). |
| Semantic Kernel | C#, Python, Java | Microsoft's enterprise orchestrator with planners. |
| DSPy | Python | Programmatic prompts that auto-optimize against metrics. |
| Anthropic Agent SDK | Python, TS | Claude-native agents with built-in tool use & subagents. |
| OpenAI Agents SDK | Python | OpenAI-native agent framework with handoffs & guardrails. |
| Vercel AI SDK | TypeScript | Streaming UI helpers for Next.js / React. |
| CrewAI / AutoGen | Python | Multi-agent collaboration patterns. |
The standard pattern for "ask my docs":
Modern RAG adds re-ranking, hybrid (keyword + vector) search, query rewriting, and metadata filters.
You describe a function (name, JSON schema). The model decides when to call it and produces a JSON argument; the framework runs it, feeds the result back, and the model continues. Used for:
An agent is an LLM in a loop: think → act → observe → repeat. The framework handles:
Newer frameworks (LangGraph, Anthropic Agent SDK) model agents as explicit state machines instead of opaque loops.
| If you want… | Reach for |
|---|---|
| Maximum integrations & ecosystem | LangChain |
| Graph-based stateful agents | LangGraph |
| RAG done well, fast | LlamaIndex |
| Microsoft / .NET shop | Semantic Kernel |
| Provider-native agent | Anthropic / OpenAI Agent SDK |
| Streaming UI on the web | Vercel AI SDK |
| Auto-optimized prompts | DSPy |