Chat Langchain banner
langchain-ai langchain-ai

Chat Langchain

Communication community

Description

> A documentation assistant deployed as a Managed Deep Agent.

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

Chat LangChain

A documentation assistant deployed as a Managed Deep Agent.

[![LangGraph](https://img.shields.io/badge/Built%20with-LangGraph-blue)](https://langchain-ai.github.io/langgraph/) [![Python](https://img.shields.io/badge/Python-3.11+-green)](https://python.org) [![License](https://img.shields.io/badge/License-MIT-yellow)](LICENSE)

Overview

This is a documentation assistant agent that helps answer questions about LangChain, LangGraph, and LangSmith. It demonstrates how to build a production-ready agent using:

  • Managed Deep Agents - For managed deployment, identity, and connectors
  • LangChain Agents - For agent creation with middleware support
  • Guardrails - To keep conversations on-topic

The repo also includes a Next.js frontend in `frontend/` for the public chat UI.

Features

  • Documentation Search - Searches official LangChain docs via managed MCP
  • Support KB - Searches the Pylon knowledge base for known issues
  • Link Validation - Verifies URLs before including in responses
  • Guardrails - Filters off-topic queries

Quick Start

Prerequisites

  • Python 3.11+
  • uv (recommended) or pip

Installation

# Clone the repository
git clone https://github.com/langchain-ai/chat-langchain.git
cd chat-langchain

# Install dependencies with uv
uv sync

# Or with pip
pip install -e .

Configuration

# Copy environment template
cp .env.example .env

# Edit .env with your API keys

Required Environment Variables

Variable Description
ANTHROPIC_API_KEY Anthropic API key (or use another provider)
PYLON_API_KEY Pylon API key for support KB