Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
17 views2 pages

Chat GPT

LangChain is a framework for developing applications powered by Large Language Models (LLMs), enabling features like chains, agents, and memory integration. LangSmith serves as a debugging and monitoring tool for LLM applications, providing tracing, evaluation, and collaboration capabilities. LangGraph is a library for creating stateful, multi-step workflows using a graph-based structure, allowing for advanced agent systems and interactive applications.

Uploaded by

shubham.bohra
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views2 pages

Chat GPT

LangChain is a framework for developing applications powered by Large Language Models (LLMs), enabling features like chains, agents, and memory integration. LangSmith serves as a debugging and monitoring tool for LLM applications, providing tracing, evaluation, and collaboration capabilities. LangGraph is a library for creating stateful, multi-step workflows using a graph-based structure, allowing for advanced agent systems and interactive applications.

Uploaded by

shubham.bohra
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

ChatGPT

what is langchain , langsmith and langgraph

Here's a concise breakdown of LangChain, LangSmith, and LangGraph, and how they relate to each
other:

🔹 LangChain
LangChain is a Python (and JavaScript) framework for developing applications powered by LLMs
(Large Language Models), like agents, chatbots, RAG (Retrieval-Augmented Generation) systems, and
more.

✅ Key Features:
Chains: Sequences of calls (to LLMs, APIs, tools, etc.)

Agents: LLMs that decide what actions to take (like searching a database or calling a tool).

Memory: Add short/long-term memory to apps.

Tools Integration: Use tools like search, calculators, or your own APIs.

RAG Pipelines: Integrate vector databases and retrieval systems for better document-based
responses.

Think of LangChain as the backend logic framework for building complex LLM-powered
workflows.

🔸 LangSmith
LangSmith is a developer tool for debugging, evaluating, and monitoring LLM applications built with
LangChain (or any other framework).

✅ Key Features:
Tracing: Visualize and debug each step of your app (see LLM calls, tool calls, etc.).

Evaluation: Run tests on your prompts and chains using metrics or human feedback.
Logging: Record inputs/outputs for inspection and comparison.

Collaboration: Share traces and sessions with others.

Think of LangSmith as the "Datadog + Postman" for LLM apps.

Printed using ChatGPT to PDF, powered by PDFCrowd HTML to PDF API. 1/2
🔷 LangGraph
LangGraph is a library for building stateful, multi-step, and branching LLM workflows using a graph-
based structure (like a state machine).

✅ Key Features:
Stateful Execution: Maintain state across many steps or user interactions.
Graph Structure: Define workflows as nodes and edges (steps and transitions).
Concurrency & Looping: Supports cycles, branching logic, and async steps.

Agent Workflows: Build advanced agent systems with memory, retries, or human-in-the-loop.

Think of LangGraph as the "workflow engine" for building robust, interactive LLM
applications.

🧠 Analogy:
Tool Analogy Primary Use

LangChain The framework / engine Build LLM apps (chains, agents)


LangSmith The debugger / observability tool Debug, monitor, and evaluate

LangGraph The workflow orchestrator Create advanced, stateful workflows

Let me know if you want to see examples or how to use these together in a real project.

Printed using ChatGPT to PDF, powered by PDFCrowd HTML to PDF API. 2/2

You might also like