LangChain Framework

Product · Developer tool by LangChain

Build agents faster, your way with an open source framework and 1,000+ integrations.

An open-source framework for building AI agents with 1,000+ integrations and pre-built architectures. It enables developers to create model-agnostic, persistent agents with built-in human-in-the-loop support.

Price
From 0 USD
Languages
Python, JavaScript/TypeScript

Category: Developer Tools

Programming languages
Python, JavaScript, TypeScript
License
MIT License
Deployment
Cloud, Hybrid, or Self-Hosted via LangSmith Agent Server
Integrations Count
1,000+
Supported Languages
Python, JavaScript, TypeScript
Runtime Engine
LangGraph Durable Runtime
  • 1,000+ integrations for models and tools
  • MIT-licensed open source framework
  • Built-in persistence and human-in-the-loop support
  • Seamless LangSmith integration for observability

Overview

LangChain Framework is an open-source developer tool for building AI agents with pre-built architectures and extensive integrations. It provides a model-agnostic approach that allows developers to swap between different LLMs, tools, and databases without rewriting the application core. The framework features a durable runtime with built-in persistence, enabling agents to handle multi-turn conversations, rewind actions, and support human-in-the-loop interactions. With over 1,000 integrations, it serves as a standard for connecting models to diverse data sources and external tools. LangChain integrates natively with the LangSmith platform for production-grade monitoring and evaluation. It is available as an MIT-licensed library for both Python and JavaScript/TypeScript environments.

Agent Development Framework

  • Pre-built Templates: Build agents in minutes using templates for common use cases like the ReAct pattern.
  • Model Agnostic Design: Swap models, tools, and databases without rewriting the application core to avoid vendor lock-in.
  • 1,000+ Integrations: Access over 1,000 integrations for various model providers, tools, and data sources.
  • Composable Middleware: Extend agent behavior through middleware for tasks like human-in-the-loop approval or data redaction using simple, composable hooks.

Runtime and Ecosystem

  • Durable Runtime: Runs on LangGraph's durable runtime to provide built-in persistence, rewind, and checkpointing.
  • Seamless Observability Integration: Integrates with LangSmith by setting a single environment variable for instant observability and debugging.
  • Multi-language Support: Supports both Python and JavaScript/TypeScript for cross-platform agent development.
  • Context Engineering: Connect user instructions with actual order or task context for complex classification and reasoning.

Use cases

  • Developers build agents in minutes using proven ReAct patterns and pre-built templates.
  • Engineering teams swap model providers or databases without rewriting their entire application logic.
  • Organizations implement human-in-the-loop approvals for sensitive agent actions using composable middleware.
  • Teams use the durable runtime to maintain agent state and conversation history across long-running sessions.

Specifications

Programming languages
Python, JavaScript, TypeScript
Integrations
1,000+ integrations including model providers, tools, and databases
License
MIT License
Deployment
Cloud, Hybrid, or Self-Hosted via LangSmith Agent Server
Integrations Count
1,000+
Supported Languages
Python, JavaScript, TypeScript
Runtime Engine
LangGraph Durable Runtime
Core Pattern
ReAct Pattern

How it works

  1. Choose a Template: Install the open-source library and choose a pre-built agent architecture or template.
  2. Integrate Models and Tools: Connect the framework to your preferred model providers, tools, and databases using over 1,000 available integrations.
  3. Customize Behavior: Add middleware for custom logic like human-in-the-loop approvals or conversation compression.
  4. Enable Observability: Set an environment variable to enable LangSmith for tracing, debugging, and monitoring in production.

Pricing

Open Source Library
Free (MIT License)

FAQ

How do I use LangChain with LangSmith?

The LangChain framework integrates seamlessly with LangSmith for observability, evaluation, and deployment by setting just one environment variable.

What does LangChain provide for developers?

LangChain provides pre-built agent architectures and integrations to models, tools, and databases to start building agents quickly.

Start building

Added by AntSpace from public sources (langchain.com).

Related

More products by LangChain