LangChain
One of the most widely used frameworks for building LLM-powered agents and chains. Extensive integrations. Raised $125M at $1.25B valuation (Oct 2025). MIT.
Install
$pip install langchain langchain-anthropic About
LangChain is the most widely used framework for building LLM-powered applications. It provides a unified interface for models, a composable chain system for building pipelines, and a rich library of integrations.
LangGraph, built on top of LangChain, adds graph-based state machines for building agentic workflows with loops, branching, and persistent state — the recommended approach for complex multi-step agents.
Getting Started
pip install langchain langchain-anthropic
from langchain_anthropic import ChatAnthropic
from langchain_core.messages import HumanMessage
model = ChatAnthropic(model="claude-sonnet-4-5")
response = model.invoke([HumanMessage(content="Hello!")])
print(response.content)Features
References & Links
Project Info
Topics
Ready to try LangChain?
Free and open source. Install in one command, works with Claude Code, Cursor, Windsurf, and more.
$pip install langchain langchain-anthropic