LangChain

LangChain

By LangChain

The original LLM-app framework — standard model/tool interfaces, hundreds of integrations, and the create_agent prebuilt that compiles to a LangGraph agent

langchain-core==1.5.02026-07-21Python / JSMIT
142.4k Completely free Open source

Doc version 1.0 · Updated

Related tools

Overview

LangChain is the framework the rest of the family plugs into: standard interfaces for chat models, messages, and tools, plus a large catalog of provider and vector-store integrations.
Since 1.0 the package is deliberately slim — the agent runtime lives in LangGraph, observability in LangSmith, and LangChain supplies the glue: create_agent builds a production-ready ReAct agent and returns it as a compiled LangGraph graph.

flowchart TB
  code["your agent code"] --> lc["LangChain — interfaces + create_agent"]
  lc --> lg["LangGraph — loop runtime"]
  lc --> prov[("model / tool integrations")]
  class lc roleFocus
  class lg roleTool
  class prov roleModel

The tutorials in this catalog use exactly that pair — ChatLiteLLM for provider routing and create_agent for the loop.
Whether you even need the glue layer is a fair question: Dropping LangChain wires the same loop with just LiteLLM + LangGraph and compares the tradeoffs.

When to use it

Reach for LangChain when you want a working tool-calling agent in minutes, model-vendor portability through one interface, and the integration catalog — and drop to LangGraph’s graph API when the loop itself needs custom shape.