*   [](/v0.1/)
*   Get started

On this page

Introduction
============

**LangChain** is a framework for developing applications powered by large language models (LLMs).

LangChain simplifies every stage of the LLM application lifecycle:

*   **Development**: Build your applications using LangChain's open-source [building blocks](/v0.1/docs/expression_language/) and [components](/v0.1/docs/modules/). Hit the ground running using [third-party integrations](/v0.1/docs/integrations/platforms/) and [Templates](/v0.1/docs/templates/).
*   **Productionization**: Use [LangSmith](/v0.1/docs/langsmith/) to inspect, monitor and evaluate your chains, so that you can continuously optimize and deploy with confidence.
*   **Deployment**: Turn any chain into an API with [LangServe](/v0.1/docs/langserve/).

![Diagram outlining the hierarchical organization of the LangChain framework, displaying the interconnected parts across multiple layers.](/v0.1/svg/langchain_stack.svg "LangChain Framework Overview")![Diagram outlining the hierarchical organization of the LangChain framework, displaying the interconnected parts across multiple layers.](/v0.1/svg/langchain_stack_dark.svg "LangChain Framework Overview")

Concretely, the framework consists of the following open-source libraries:

*   **`langchain-core`**: Base abstractions and LangChain Expression Language.
*   **`langchain-community`**: Third party integrations.
    *   Partner packages (e.g. **`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.
*   **[langgraph](https://langchain-ai.github.io/langgraph/)**: Build robust and stateful multi-actor applications with LLMs by modeling steps as edges and nodes in a graph.
*   **[langserve](/v0.1/docs/langserve/)**: Deploy LangChain chains as REST APIs.

The broader ecosystem includes:

*   **[LangSmith](/v0.1/docs/langsmith/)**: A developer platform that lets you debug, test, evaluate, and monitor LLM applications and seamlessly integrates with LangChain.

Get started[​](#get-started "Direct link to Get started")
---------------------------------------------------------

We recommend following our [Quickstart](/v0.1/docs/get_started/quickstart/) guide to familiarize yourself with the framework by building your first LangChain application.

[See here](/v0.1/docs/get_started/installation/) for instructions on how to install LangChain, set up your environment, and start building.

note

These docs focus on the Python LangChain library. [Head here](https://js.langchain.com) for docs on the JavaScript LangChain library.

Use cases[​](#use-cases "Direct link to Use cases")
---------------------------------------------------

If you're looking to build something specific or are more of a hands-on learner, check out our [use-cases](/v0.1/docs/use_cases/). They're walkthroughs and techniques for common end-to-end tasks, such as:

*   [Question answering with RAG](/v0.1/docs/use_cases/question_answering/)
*   [Extracting structured output](/v0.1/docs/use_cases/extraction/)
*   [Chatbots](/v0.1/docs/use_cases/chatbots/)
*   and more!

Expression Language[​](#expression-language "Direct link to Expression Language")
---------------------------------------------------------------------------------

LangChain Expression Language (LCEL) is the foundation of many of LangChain's components, and is a declarative way to compose chains. LCEL was designed from day 1 to support putting prototypes in production, with no code changes, from the simplest “prompt + LLM” chain to the most complex chains.

*   **[Get started](/v0.1/docs/expression_language/)**: LCEL and its benefits
*   **[Runnable interface](/v0.1/docs/expression_language/interface/)**: The standard interface for LCEL objects
*   **[Primitives](/v0.1/docs/expression_language/primitives/)**: More on the primitives LCEL includes
*   and more!

Ecosystem[​](#ecosystem "Direct link to Ecosystem")
---------------------------------------------------

### [🦜🛠️ LangSmith](/v0.1/docs/langsmith/)[​](#️-langsmith "Direct link to ️-langsmith")

Trace and evaluate your language model applications and intelligent agents to help you move from prototype to production.

### [🦜🕸️ LangGraph](https://langchain-ai.github.io/langgraph/)[​](#️-langgraph "Direct link to ️-langgraph")

Build stateful, multi-actor applications with LLMs, built on top of (and intended to be used with) LangChain primitives.

### [🦜🏓 LangServe](/v0.1/docs/langserve/)[​](#-langserve "Direct link to -langserve")

Deploy LangChain runnables and chains as REST APIs.

[Security](/v0.1/docs/security/)[​](#security "Direct link to security")
------------------------------------------------------------------------

Read up on our [Security](/v0.1/docs/security/) best practices to make sure you're developing safely with LangChain.

Additional resources[​](#additional-resources "Direct link to Additional resources")
------------------------------------------------------------------------------------

### [Components](/v0.1/docs/modules/)[​](#components "Direct link to components")

LangChain provides standard, extendable interfaces and integrations for many different components, including:

### [Integrations](/v0.1/docs/integrations/providers/)[​](#integrations "Direct link to 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](/v0.1/docs/integrations/providers/).

### [Guides](/v0.1/docs/guides/)[​](#guides "Direct link to guides")

Best practices for developing with LangChain.

### [API reference](https://api.python.langchain.com)[​](#api-reference "Direct link to api-reference")

Head to the reference section for full documentation of all classes and methods in the LangChain and LangChain Experimental Python packages.

### [Contributing](/v0.1/docs/contributing/)[​](#contributing "Direct link to contributing")

Check out the developer's guide for guidelines on contributing and help getting your dev environment set up.

* * *

#### Help us out by providing feedback on this documentation page:

[

Next

Introduction

](/v0.1/docs/get_started/introduction/)

*   [Get started](#get-started)
*   [Use cases](#use-cases)
*   [Expression Language](#expression-language)
*   [Ecosystem](#ecosystem)
    *   [🦜🛠️ LangSmith](#️-langsmith)
    *   [🦜🕸️ LangGraph](#️-langgraph)
    *   [🦜🏓 LangServe](#-langserve)
*   [Security](#security)
*   [Additional resources](#additional-resources)
    *   [Components](#components)
    *   [Integrations](#integrations)
    *   [Guides](#guides)
    *   [API reference](#api-reference)
    *   [Contributing](#contributing)