LangChain icon
AI Frameworks

LangChain

LangChain is an MIT-licensed open-source framework for building AI agents, with a ready-made agent pattern and more than 1,000 integrations.

OVERVIEW

About LangChain

LangChain is an open-source framework for building agents that use language models and tools. It supplies a pre-built agent architecture and a large set of integrations, so you can swap models, tools, and databases without rewriting your application. It is built on top of LangGraph, which handles the underlying runtime.

Key features

  • create_agent — a ready-made agent loop in the ReAct style that you can start from in a few lines.
  • 1,000+ integrations — connects to model providers and services such as OpenAI, Anthropic, Google, AWS, and Databricks.
  • Middleware — add steps such as human approval, conversation compression, and removal of sensitive data.
  • Durable runtime — LangGraph underneath provides persistence, checkpointing, rewind, and human-in-the-loop support.
  • Companion products — LangGraph for low-level control, LangSmith for observability, evaluation, and deployment, and Deep Agents for long-running tasks.

Pricing

LangChain is MIT licensed and free to use. Paid plans exist for the separate LangSmith service; see LangChain’s pricing page for those figures.

Who it’s for

Developers building agents or retrieval-based apps who want a common structure across model providers, and teams that need testing and tracing as projects grow.

Good to know

  • It is a developer framework, so you need to write code; it is not a no-code builder.
  • The ecosystem has several parts (LangChain, LangGraph, LangSmith), so decide which layer you actually need.
  • Observability and deployment features come from LangSmith, which is a separate product.