local_fire_departmentHoneystax
search⌘K
loginLog Inperson_addSign Up
layers
HONEYSTAX TERMINAL v1.0
HomeNewsSavedSubmit
Back to the live board
C

chat-langchain

App

chat-langchain

Copy the install, test the workflow, then decide if it earns a permanent slot.

6,280
Why nowMoving now

Fresh repo activity plus visible builder pull. This is the kind of tool people test before it turns obvious.

DecisionHigh-conviction move

Copy the install, test the workflow, then decide if it earns a permanent slot.

Trial costMedium lift

Reasonable to try, but it will take more than a quick skim to get real signal.

Risk22/100

GitHub health 62/100. no security policy. Fresh enough repo health and manageable issue load keep the risk controlled.

What You Are Adopting

AI Agent

Universal

Model

Multiple

Build Time

Hours

Move Fast

open_in_new

No direct local install flow.

Open the project page, steal the pattern, and decide fast if it deserves a deeper test.

About

chat-langchain. An open-source app for the AI coding ecosystem.

README

Chat LangChain

A simple documentation assistant built with LangGraph.

LangGraph Python 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:

  • LangGraph - For agent orchestration and state management
  • LangChain Agents - For agent creation with middleware support
  • Guardrails - To keep conversations on-topic

Features

  • Documentation Search - Searches official LangChain docs
  • 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 . "langgraph-cli[inmem]"

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)
MINTLIFY_API_URL Mintlify API base URL for docs search (e.g. https://api-dsc.mintlify.com/v1/search/docs.langchain.com)
MINTLIFY_API_KEY Mintlify API key for docs search
PYLON_API_KEY Pylon API key for support KB
PYLON_KB_ID Pylon knowledge base ID for support articles

Running Locally

# Start LangGraph development server
uv run langgraph dev

# Or with pip
langgraph dev

Open LangGraph Studio: https://smith.langchain.com/studio/?baseUrl=http://127.0.0.1:2024

Project Structure

├── src/
│   ├── agent/
│   │   ├── docs_graph.py      # Main docs agent
│   │   └── config.py          # Model configuration
│   ├── tools/
│   │   ├── docs_tools.py      # Documentation search
│   │   ├── pylon_tools.py     # Support KB tools
│   │   └── link_check_tools.py # URL validation
│   ├── prompts/
│   │   └── docs_agent_prompt.py
│   └── middleware/
│       ├── guardrails_middleware.py
│       └── retry_middleware.py
├── langgraph.json             # LangGraph configuration
└── pyproject.toml             # Python project config

How It Works

The agent uses a docs-first research strategy:

  1. Guardrails Check - Validates the query is LangChain-related
  2. Documentation Search - Searches official docs via Mintlify
  3. Knowledge Base - Searches Pylon for known issues/solutions
  4. Link Validation - Verifies any URLs before including them
  5. Response Generation - Synthesizes a helpful answer

Deployment

LangGraph Cloud

  1. Push to GitHub
  2. Connect repository in LangSmith
  3. Configure environment variables
  4. Deploy

Resources

  • LangChain Documentation
  • LangGraph Documentation
  • LangSmith Documentation

License

MIT

Tech Stack

PythonAnthropicLangChain

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 . " langgraph-cli[inmem] "

Open Live ProjectAudit Repo

Reviews0

Log in to write a review.

ActiveLast commit 5d ago
bug_report22open issues
Submitted January 16, 2023

auto_awesomeYour strongest next moves after chat-langchain