Full access is free during Beta. A paid subscription will be offered after Beta.

LangChain Docs — User Guide

LangChain documentation.

Strengths
  • LangChain official authoritative document
  • Contains numerous code examples and tutorials
  • Covers all LangChain components
  • Updated regularly to reflect the latest version
  • Provides interactive notebook examples
Best for
  • Learn how to use the LangChain framework
  • Find API documentation for a specific component
  • Understand how functions such as RAG and Agent are implemented
  • Learn best practices from LangChain
  • Troubleshooting issues in using LangChain

Document structure navigation

The LangChain documentation is rich in content, and you can quickly find the information you need by mastering the navigation method.

Scenario

Get started quickly

Prompt example
Main parts of LangChain documentation:

1. Get Started
   - Installation and configuration
   - The first LangChain application

2. Tutorials
   - Build simple LLM applications
   - Build chatbots
   - Build RAG applications
   - Build Agent

3. How-to Guides
   - How specific tasks are accomplished
   - Solutions to common problems

4. Conceptual Guide
   - Core concepts of LangChain
   - Architectural design description

5. API Reference
   - Complete documentation of all classes and functions
Output / what to expect
Through the document structure, Beginners start with Tutorials, Experienced developers can directly check the API Reference.
Tips

LangChain is updated frequently. When encountering problems, please check whether the document version is consistent with the installed version.

Scenario

Find documentation for a specific feature

Prompt example
Document locations for commonly used functions:

Document Loaders:
python.langchain.com/docs/integrations/document_loaders/

Vector Stores:
python.langchain.com/docs/integrations/vectorstores/

LLM integration:
python.langchain.com/docs/integrations/llms/

Tools:
python.langchain.com/docs/integrations/tools/

Search tips:
- Use Ctrl+K to search quickly
- Search GitHub Issues for specific issues
Output / what to expect
Quickly find the integration documents you need, LangChain supports hundreds of integrations, There is sample code in the documentation.
Tips

If you can't find the answer in the documentation, LangChain's GitHub Issues and Discord communities can often solve the problem.

Starter & above

The rest of this guide

Additional scenarios and the full comparison table are included with Starter and above. Sign in with an eligible account to load them.

You're on the Free plan. Upgrade to Starter or higher to unlock the rest of this guide—additional scenarios and the full comparison table.

Loading full guide…