Unlock
LLM Power with LangChain

Develop, Productionize, and Deploy Language Model Applications with Ease

⚙️Open-Source Components
🔗Seamless Integrations

What is LangChain?

LangChain is a robust framework designed to streamline the entire lifecycle of Large Language Model (LLM) applications. From initial development using open-source components and third-party integrations to productionization with LangSmith for monitoring and evaluation, LangChain empowers developers to build, optimize, and deploy LLM applications with confidence.

The framework offers a standard interface for interacting with LLMs, embedding models, and vector stores, providing compatibility with hundreds of providers. This comprehensive approach allows developers to leverage the best tools and services for their specific needs, ensuring flexibility and scalability.

LangGraph, a key component of LangChain, enables the creation of stateful agents with advanced features like streaming and human-in-the-loop support. Furthermore, the LangGraph Platform facilitates the transformation of LangGraph applications into production-ready APIs and Assistants.

Key LangChain Architecture & Components

The LangChain architecture comprises several open-source libraries that work together to provide a complete LLM application development environment:

**Base Abstractions:** Core components for chat models and other essential functionalities.

**Integration Packages:** Lightweight, co-maintained packages that provide seamless integrations with various services and tools.

**Chains, Agents, and Retrieval Strategies:** Cognitive building blocks for constructing application logic and information retrieval mechanisms.

**Third-Party Integrations:** Community-maintained integrations that extend the framework's capabilities.

**LangGraph Orchestration:** An orchestration framework for building production-ready applications with persistence, streaming, and other advanced features.

LangChain simplifies every stage of the LLM application lifecycle.

LangChain Documentation

Getting Started with LangChain

LangChain offers various resources to help you quickly get started:

**Tutorials:** Hands-on tutorials guide you through building specific applications like chatbots and LLM-powered tools. Explore the comprehensive list of LangChain and LangGraph tutorials.

**How-to Guides:** Concise answers to common “How do I…?” questions, providing quick solutions for working with chat models, vector stores, and other components.

**Conceptual Guides:** High-level explanations of key LangChain concepts, offering a solid understanding of the framework's fundamentals.

**Integrations:** A growing list of integrations simplifies the process of connecting with chat models, vector stores, and other services from various providers.

**API Reference:** Complete documentation of all classes and methods within the LangChain Python packages.

LangGraph powers production-grade agents, trusted by LinkedIn, Uber, Klarna, GitLab, and many more.

LangChain Documentation

Dive Deeper into LangChain

Explore these interactive resources to master LangChain

📚

LangChain Tutorials

Get hands-on experience building LLM applications with practical tutorials.

🔌

LangChain Integrations

Discover the vast array of integrations available to extend LangChain's capabilities.

📄

LangChain Documentation

Access comprehensive documentation for all LangChain components and APIs.

Explore the LangChain Ecosystem

LangChain thrives within a vibrant ecosystem of tools that enhance its functionality and expand its possibilities:

**LangSmith:** A powerful tool for tracing, evaluating, and optimizing language model applications and intelligent agents, facilitating the transition from prototype to production.

**LangGraph:** Enables the construction of stateful, multi-actor applications powered by LLMs. Integrates seamlessly with LangChain and is trusted by industry leaders.

**Versions:** Stay informed about the latest changes, migration strategies, and versioning policies to keep your applications up-to-date.

**Security:** Implement security best practices to ensure the safe development of LangChain applications.

**Contributing:** Contribute to the LangChain community and help improve the framework for everyone.