LangChain is a framework for developing applications powered by large language models (LLMs).
LangChain simplifies every stage of the LLM application lifecycle:
Concretely, the framework consists of the following open-source libraries:
langchain-core
: Base abstractions and LangChain Expression Language.langchain-community
: Third party integrations.
langchain-openai
, langchain-anthropic
, etc.): Some integrations have been further split into their own lightweight packages that only depend on langchain-core
.langchain
: Chains, agents, and retrieval strategies that make up an application's cognitive architecture.note
These docs focus on the Python LangChain library. Head here for docs on the JavaScript LangChain library.
TutorialsโIf you're looking to build something specific or are more of a hands-on learner, check out our tutorials section. This is the best place to get started.
These are the best ones to get started with:
Explore the full list of LangChain tutorials here, and check out other LangGraph tutorials here. To learn more about LangGraph, check out our first LangChain Academy course, Introduction to LangGraph, available here.
How-to guidesโHere youโll find short answers to โHow do Iโฆ.?โ types of questions. These how-to guides donโt cover topics in depth โ youโll find that material in the Tutorials and the API Reference. However, these guides will help you quickly accomplish common tasks.
Check out LangGraph-specific how-tos here.
Conceptual guideโIntroductions to all the key parts of LangChain youโll need to know! Here you'll find high level explanations of all LangChain concepts.
For a deeper dive into LangGraph concepts, check out this page.
API referenceโHead to the reference section for full documentation of all classes and methods in the LangChain Python packages.
Ecosystemโ ๐ฆ๐ ๏ธ LangSmithโTrace and evaluate your language model applications and intelligent agents to help you move from prototype to production.
๐ฆ๐ธ๏ธ LangGraphโBuild stateful, multi-actor applications with LLMs. Integrates smoothly with LangChain, but can be used without it.
Additional resourcesโ VersionsโSee what changed in v0.2, learn how to migrate legacy code, and read up on our release/versioning policies, and more.
SecurityโRead up on security best practices to make sure you're developing safely with LangChain.
IntegrationsโLangChain is part of a rich ecosystem of tools that integrate with our framework and build on top of it. Check out our growing list of integrations.
ContributingโCheck out the developer's guide for guidelines on contributing and help getting your dev environment set up.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4