LangChain homepage

LangChain

by LangChain, Inc.

Open-source framework and platform for building and deploying LLM agents

FrameworkSupervised

Last reviewed 2026-06-18

LangChain is an open-source (MIT-licensed) framework for building agents and LLM-powered applications. It lets developers chain together interoperable components (prompts, tools, retrievers, memory, and third-party integrations) while staying model-agnostic, so the underlying LLM can be swapped without rewriting application logic. The ecosystem includes the core langchain library, LangGraph (a low-level durable runtime for controllable agent workflows with persistence, checkpointing, and human-in-the-loop), and higher-level packages for long-running agents. Around the open-source framework, LangChain Inc. sells a commercial platform centered on LangSmith (observability, evaluation, deployment, and monitoring) plus the LangGraph Platform for hosting. The framework itself is developer infrastructure: the autonomy and quality of any agent depend on what the developer builds.

What it can do

  • Orchestrate LLM chains and agent workflows

    Supervised

    Compose prompts, models, tools, retrievers, and memory into reusable pipelines and graph-based agent loops; the autonomy of the result is developer-defined.

    source
  • Build multi-agent systems

    Supervised

    LangGraph primitives support subagents, handoffs, routing, and supervisor patterns for collaborating agents.

    source
  • Run durable, human-in-the-loop agents

    Supervised

    LangGraph's durable runtime adds persistence, rewind/checkpointing, and built-in human-in-the-loop interrupts.

    source
  • Observe, evaluate, and deploy agents (LangSmith)

    Assistant

    Trace every agent decision, run evaluations against datasets, and deploy and serve agents in production.

    source

Strengths

  • +Largest open-source LLM/agent framework community with very broad integration coverage
  • +Model-agnostic design future-proofs apps against LLM churn
  • +LangGraph adds production-grade primitives (durability, checkpointing, human-in-the-loop) that bare API calls lack

Limitations

  • Frequently criticized for heavy abstractions and churn between API versions; debugging deep chains can be painful
  • Most production value (observability, deploy) lives in the paid LangSmith platform
  • Framework, not a product: autonomy and quality depend entirely on what the developer builds

Overview

LangChain is the most widely adopted open-source framework for building LLM apps and agents. It is developer infrastructure, not an end-user product.

What it does

Developers compose prompts, models, tools, retrievers, and memory into pipelines and graph-based agent loops. LangGraph adds a durable runtime with persistence, checkpointing, and human-in-the-loop interrupts, and supports multi-agent patterns. LangSmith provides observability, evaluation, and deployment. The autonomy of any agent is determined by the developer's design.

Integrations & setup

Hundreds of provider integrations including OpenAI, Anthropic, Google, AWS Bedrock, and vector stores like Pinecone, plus native tool/function calling and MCP tool integrations. The libraries run anywhere; LangSmith and the LangGraph Platform are managed cloud.

Pricing

The framework is free and MIT-licensed. LangSmith is freemium with a free Developer tier and usage-based paid plans plus enterprise.

Best for / not for

Best for developers who want maximum flexibility and integration breadth. Less suited to non-developers or those wanting an out-of-the-box agent.

Alternatives

CrewAI is a leaner multi-agent framework; n8n offers visual workflow automation with AI nodes.

What people are saying

LinkedIn · 30d · updated 2026-06-20
46%
positive sentiment
282
mentions
282
46% positive50% neutral4% negative

Loved for

  • +systems
  • +engineering
  • +experience

Common gripes

  • model
  • something
Praise130Complaints12

FAQ

Is LangChain free and open source?+

Yes. The core LangChain framework is MIT-licensed and free; the commercial LangSmith platform is a separate paid product.

What is the difference between LangChain and LangGraph?+

LangChain provides quick-start agents and integrations; LangGraph is the lower-level durable runtime for controllable, production agent workflows. LangChain agents are built on LangGraph primitives.

Sources

Last reviewed 2026-06-18

Alternatives & related