langchain-ai/langchain

★ 146,351⑂ 24,453

The agent engineering platform.

146,351Star
24,453Fork
921Watch
492Issue
PythonLanguage
MITLicense
Created 2022-10-17 · last push 2026-09-14 · repository size 596460 KB · default branch master

README

https://github.com/langchain-ai/langchain/blob/HEAD/LangChain Logo

The agent engineering platform.

https://github.com/langchain-ai/langchain/blob/HEAD/PyPI - License https://github.com/langchain-ai/langchain/blob/HEAD/PyPI - Downloads https://github.com/langchain-ai/langchain/blob/HEAD/Version https://github.com/langchain-ai/langchain/blob/HEAD/Twitter / X


LangChain is a framework for building agents and LLM-powered applications. It helps you chain together interoperable components and third-party integrations to simplify AI application development — all while future-proofing decisions as the underlying technology evolves.

[!TIP]
Just getting started? Check out Deep Agents — a higher-level package built on LangChain for agents that have built-in capabilities for common usage patterns such as planning, subagents, file system usage, and more.

Quickstart

uv add langchain
from langchain.chat_models import init_chat_model

model = init_chat_model("openai:gpt-5.5") result = model.invoke("Hello, world!")

If you're looking for more advanced customization or agent orchestration, check out LangGraph, our framework for building controllable agent workflows.

For an equivalent JS/TS library, check out LangChain.js.

[!TIP]
For developing, debugging, and deploying AI agents and LLM applications, see LangSmith.

LangChain ecosystem

While the LangChain framework can be used standalone, it also integrates seamlessly with any LangChain product, giving developers a full suite of tools when building LLM applications.

Why use LangChain?

LangChain helps developers build applications powered by LLMs through a standard interface for models, embeddings, vector stores, and more.

---

Resources

More AI Agent Skills Trending projects

1

affaan-m / ECC

JavaScript★ 258,555⑂ 0
2

NousResearch / hermes-agent

Python★ 245,605⑂ 0
3

deepseek-ai / deepseek-harness

TypeScript★ 224,514⑂ 0
4

firecrawl / firecrawl

TypeScript★ 180,546⑂ 0
5

anthropics / skills

Python★ 176,366⑂ 0
6

DietrichGebert / ponytail

JavaScript★ 138,741⑂ 0