Agent frameworks · ranked 07
LangChain
The original LLM application framework, plus a hosted LangSmith side.
Last reviewed
Last updated
LangChain is #7 of 7 in Agent frameworks. Editorial score 6.7: Ease 6, Power 8, Price 8, Vibe-coder fit 5. Initial editorial estimate. Not a measured benchmark.
Who it is for A general LLM app framework with a huge ecosystem.Agent frameworks: The harness around a model.
LangChain is an open-source framework for building applications on language models, with Python and JavaScript libraries. Chains, tools, and retrieval are the core ideas. LangSmith is the hosted sibling for tracing. Use the library when you want the ecosystem. Use LangGraph, in this directory, when the thing you are building is a stateful agent.
Best use cases
- Retrieval and tool-calling prototypes
- Python or JavaScript services that call models
- Teams that already have LangChain examples in the repo
Pros
- + The library is open source
- + Docs, integrations, and examples are everywhere
- + Python and JavaScript both exist
Who should skip it
Skip LangChain when one of these listed limits is the constraint.
- − The abstraction surface is large for a weekend agent
- − Hosted LangSmith pricing, if you use it: check site
All comparisonsAll best-of lists
Pricing
LangChain is listed as Free. The library is open source. LangSmith and other hosted products: check site.
Alternatives to LangChain
Listed alternatives: LangGraph, LlamaIndex, Mastra. LangGraph is listed for “Agents that are workflows, not a single loop”. LlamaIndex is listed for “Retrieval over your own documents” (also GPT Index). Mastra is listed for “TypeScript agents you keep in your repo”.
Also in Agent frameworks: Vercel AI SDK, CrewAI, Pydantic AI.
Agent frameworks
7.3
LangGraph
Graph-shaped agents with state, from the LangChain team.
Best for Agents that are workflows, not a single loop
Agent frameworks
7.0
LlamaIndex
A data framework for connecting documents and models.
Best for Retrieval over your own documents
Agent frameworks
8.0
Mastra
TypeScript framework for agents, workflows, and evals.
Best for TypeScript agents you keep in your repo
Release notes
Release historylangchain-core 1.8.5
Released November 25, 2026. Streamed chat model chunks reuse the provider message id when the provider sends it only on the first chunk, including the synthetic last chunk. With the OpenAI Responses API, later chunks had been given a different id from the final message, so a transcript could show one message twice. The v2 protocol path is unchanged.
Source for langchain-core 1.8.5 (opens in a new tab)langchain-anthropic 1.7.13
Released November 25, 2026. ChatAnthropic accepts an HTTP client through http_client or http_async_client, or a full Anthropic SDK client through client or async_client, including AnthropicBedrock, AnthropicVertex, and AnthropicFoundry. An HTTP client must come from the HTTP library the installed anthropic SDK uses. Passing both an SDK client and an HTTP client for the same side raises an error, as does an HTTP client together with anthropic_proxy. The model does not close a client you pass in. When only an HTTP client is passed, the model's connection settings still apply.
Source for langchain-anthropic 1.7.13 (opens in a new tab)langchain-openai 1.8.5
Released November 19, 2026. langchain-openai 1.8.5 keeps streamed Responses tool-call arguments, and standardizes the finish reason on message-finish events.
Source for langchain-openai 1.8.5 (opens in a new tab)
Newsletter
Get the weekly AI tool shortlist
One email when rankings change or a tool ships something that matters. No spam, unsubscribe anytime.