Skip to content

langchain-ai/langgraph-101-ts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 

LangGraph Workshops - TypeScript

Welcome to the LangGraph Workshops for TypeScript!

Introduction

This repository contains hands-on TypeScript workshops for learning to build agents with LangChain and LangGraph, organized into independent learning tracks:

  • 101 - Fundamentals: Build agents from scratch with LangChain v1 and LangGraph v1 -- tools, state, multi-agent supervisors, human-in-the-loop, memory, and evaluations.
  • Deep Agents: Advanced patterns including deep agents, AGENTS.md, skills, long-term memory, and production workflows.

This is a condensed version of LangChain Academy, intended to be run in a session with a LangChain engineer. If you're interested in going deeper or working through tutorials on your own, check out LangChain Academy -- it has helpful pre-recorded videos from our engineers.

Note: This is the TypeScript version. The Python version is at langchain-ai/langgraph-101.

What's Inside

Workshop Path Status Description
101 - Fundamentals workshops/101/ Available 6 progressive agents covering tools, state graphs, multi-agent supervisors, human-in-the-loop, and memory. Includes 4 evaluation scripts.
Deep Agents workshops/deepagents/ Available 14 progressive agents covering the Deep Agents harness, backends, subagents, middleware, HITL, memory, and skills.

Each workshop is self-contained with its own package.json, langgraph.json, .env.example, and README.md with detailed setup and usage instructions.

Context

At LangChain, we aim to make it easy to build LLM applications. One type of LLM application you can build is an agent. There's a lot of excitement around building agents because they can automate a wide range of tasks that were previously impossible.

In practice though, it is incredibly difficult to build systems that reliably execute on these tasks. As we've worked with our users to put agents into production, we've learned that more control is often necessary. You might need an agent to always call a specific tool first or use different prompts based on its state.

To tackle this problem, we've built LangGraph -- a framework for building agent and multi-agent applications. Separate from the LangChain package, LangGraph's core design philosophy is to help developers add better precision and control into agent workflows, suitable for the complexity of real-world systems.

Pre-work

1. Clone the repository

git clone https://github.com/langchain-ai/langgraph-101-ts.git
cd langgraph-101-ts

2. Navigate to a workshop and follow its README

Each workshop is self-contained. Navigate to the workshop directory and follow its setup instructions:

The workshop README will guide you through environment setup, dependency installation, and launching LangGraph Studio.

Getting Started

Recommended Learning Path

  1. Start with 101 -- Navigate to workshops/101/ and follow the README to install dependencies and launch LangGraph Studio. Work through agents 00-05 in order.
  2. Deep Agents -- Navigate to workshops/deepagents/ and follow the README. Work through agents 201-1 through 201-9 to build a complete research agent from scratch.

Resources

About

No description, website, or topics provided.

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors