LangChain
Python and JavaScript framework for building LLM applications — chains, agents, memory, retrieval, and tool use.
Definition
LangChain is the most widely adopted framework for assembling LLM pipelines. Its core abstractions are LLMs, prompts, chains (composed sequences), agents (tool-using loops), memory (conversation state), and retrievers (over vector stores). LangChain's MultiServerMCPClient adds MCP support. It is often paired with LangGraph for explicit stateful orchestration and LangSmith for tracing.
When to use
See also
- LangGraph — LangChain's stateful-graph framework for building agents as explicit nodes, edges, and conditional branches.
- agent — An LLM-driven program that plans, calls tools, observes results, and loops until it reaches a goal.
- MCP — Anthropic's open standard for connecting LLMs to external tools and data sources over JSON-RPC.