LangChain
Build LLM Applications with Composability

Unlock the power of Large Language Models. Seamlessly integrate LLMs with chains, retrieval, and agents to create innovative AI solutions.

🦜Effortless LLM Integration
🔗Extensive Tool Integrations
🤖Simplified Agent Creation

What is LangChain?

LangChain is a powerful framework designed to simplify the development of applications using Large Language Models (LLMs). It goes beyond simple LLM calls, enabling you to combine LLMs with external data sources and other tools to create sophisticated, production-ready applications. This composability allows developers to build applications previously impossible.
GitHub star chart

Whether you're building chatbots, question-answering systems, or applications that require structured output extraction, LangChain provides the tools and integrations you need to succeed.

Core LangChain Features

LangChain empowers developers to build sophisticated LLM applications by providing key features that streamline the development process.

Here's a breakdown of the main areas where LangChain excels:

1. Models and Prompts: Efficiently manage prompts, optimize them, and utilize a standardized interface for different LLMs.

2. Chains: Assemble sequences of calls to LLMs and external tools for advanced functionality. Includes end-to-end chains for common applications.

3. Retrieval Augmented Generation (RAG): Integrate external data sources into the generation process, such as summarizing long texts or question-answering over specific datasets.

4. Agents: Enable LLMs to make decisions, take actions, and repeat until a goal is achieved. Includes a standard interface and a selection of ready-to-use agents.

5. Evaluation: Utilize LLMs to evaluate the performance of generated content, providing a new way to assess generative model outputs.

Getting Started with LangChain

Getting started with LangChain is easy. Visit the official documentation for comprehensive guides on installation, setting up your environment, and exploring simple examples.

The documentation also offers detailed how-to examples demonstrating demos, integrations, and helper functions. Full API documentation and high-level explanations of core concepts are also available.

For advanced use cases, LangSmith provides a unified developer platform for building, testing, and monitoring LLM applications. Speak with the sales team by filling out the provided form.

LangChain empowers developers to create truly powerful AI applications by combining the strengths of LLMs with external knowledge and computation.

LangChain Team

Explore LangChain

Interactive resources to help you get started

Quick Install Guide

Get up and running quickly with our simple installation instructions.

📚

Comprehensive Documentation

Access full API documentation, how-to guides, and more.

💡

End-to-End Examples

Explore practical examples of common LangChain applications, including chatbots and question answering.

Contribute Join the Community

LangChain is an open-source project and welcomes contributions from the community. Whether you're interested in contributing new features, improving infrastructure, or enhancing documentation, your help is valuable.

Refer to the Contributing Guide for detailed instructions on how to contribute to the project and become part of the growing LangChain community.