/langgraphjs-examples

Repository containing LangGraph.js🦜🕸️ examples

Primary LanguageTypeScript

LangGraph.js Examples

This repository contains a series of example TypeScript projects which implement LangGraph.js agents. Each directory focuses on a different problem which LangGraph.js aims to solve/enable solutions for.

Prerequisites

The following projects all use LangSmith, LangGraph Studio and Cloud, as well as the LangGraph.js and LangChain.js libraries.

Before jumping into any of the projects, you should create a LangSmith account here, and download the latest LangGraph Studio version here.

Running LangGraph Studio locally requires Docker, so ensure you have it installed and running before starting the Studio (I personally use OrbStack to manage my Docker containers, which is free to use for personal use).

Projects

  • Intro - Introduction to LangGraph.js, Studio, and Cloud.
  • Human in the Loop - Introduction to Human in the Loop (HITL) concepts.
  • Stockbroker - A full stack stockbroker & financial analyst app, with HITL for purchasing stocks.
  • Streaming Messages (Examples, Frontend) - Next.js web app connected to a LangGraph Cloud deployment to show off different message streaming types.