LangChain
Framework for building LLM applications and agents with a standard interface to models, tools, retrievers and vector stores.
LangChain provides provider-neutral abstractions for chat models, embeddings, document loaders and tools, with hundreds of integrations in Python and JavaScript. Since its 1.0 releases its agent API runs on LangGraph underneath, and middleware hooks let you customise agent behaviour. LangSmith adds tracing and evaluation. Maintained by LangChain, Inc.
- Type
- AI framework
- Category
- AI & ML
- Maintainer
- LangChain, Inc.
- First released
- 2022
- License
- Open source (MIT)
- Pricing
- Open source
- Level
- Intermediate
- Technologies
- python, javascript, typescript, llm, rag, agents
- GitHub stars
- 150,438
- Weekly downloads
- 37,704,229 (pypi)
- Latest release
- [object Object]
- Last verified
- 26 Nov 2026
What LangChain is used for
- RAG chatbots
- Tool-using agents
- Swapping model providers behind one interface
Strengths
- Very wide integration catalogue
- Python and JS parity
- Pairs with LangGraph and LangSmith
Limitations
- Abstractions can be heavy for simple apps
- API churn across versions
LangChain alternatives
How it relates to other tools
- LangChain works with LangGraph
- LangChain works with LangSmith
- LangChain works with OpenAI API
- LangChain works with Claude API (Anthropic)
- LangChain works with Chroma
- LangChain works with Pinecone
- LangChain competes with LlamaIndex
- Works with LangChain: Amazon Bedrock
- Works with LangChain: Cohere
- Works with LangChain: FAISS
- Works with LangChain: Gemini API (Google)
- Works with LangChain: GroqCloud
- Works with LangChain: Langfuse
- Works with LangChain: Milvus
- Works with LangChain: Neo4j
- Works with LangChain: Ollama
- Works with LangChain: Pydantic
- Works with LangChain: Qdrant
- Works with LangChain: Together AI
- Works with LangChain: Weaviate
- Works with LangChain: pgvector
Built with the same technologies
Learn LangChain
Official links
- Official website
- Documentation
- Source code (langchain-ai/langchain)
- pypi: langchain
- npm: langchain