langchain-ai/langchain-academy

▲ 1 stars today★ 2,921⑂ 1,877

About langchain-ai/langchain-academy

langchain-ai/langchain-academy is an open-source project on GitHub, mainly written in Jupyter Notebook. It currently holds 2,921 stars and 1,877 forks with 0 open issues, and was last pushed on an unknown date (repository created unknown).

Project Overview

AI Homed tracks it on the Today's Trending board, currently at rank #66 with 1 new stars today.

GitHub Repository Details

Repository langchain-ai/langchain-academy · default branch - · size 0 KB · watchers 0 · source: GitHub REST API and repository README

README

LangChain Academy.svg)

Introduction

Welcome to LangChain Academy, Introduction to LangGraph! This is a growing set of modules focused on foundational concepts within the LangChain ecosystem. Module 0 is basic setup and Modules 1 - 5 focus on building in LangGraph, progressively adding more advanced themes. Module 6 addresses deploying your agents. In each module folder, you'll see a set of notebooks. A link to the LangChain Academy lesson is at the top of each notebook to guide you through the topic. Each module also has a studio subdirectory, with a set of relevant graphs that we will explore using the LangGraph API and Studio.

Setup

Python version

Make sure you're using Python version 3.11, 3.12, or 3.13.

python3 --version

Clone repo

git clone https://github.com/langchain-ai/langchain-academy.git
$ cd langchain-academy
Or, if you prefer, you can download a zip file here.

Create an environment and install dependencies

Mac/Linux/WSL

$ python3 -m venv lc-academy-env
$ source lc-academy-env/bin/activate
$ pip install -r requirements.txt

Windows Powershell

PS> python3 -m venv lc-academy-env
PS> Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope Process
PS> .\lc-academy-env\Scripts\Activate.ps1
PS> pip install -r requirements.txt

Running notebooks

If you don't have Jupyter set up, follow the installation instructions here.
$ jupyter notebook

Setting up env variables

Briefly going over how to set up environment variables.

Mac/Linux/WSL

$ export API_ENV_VAR="your-api-key-here"

Windows Powershell

PS> $env:API_ENV_VAR = "your-api-key-here"

Set OpenAI API key

Sign up and Set LangSmith API

Set up Tavily API for web search

quick, and persistent search results. It's easy to sign up and offers a very generous free tier. Some lessons (in Module 4) will use Tavily.

Set up Studio

langgraph dev

You should see the following output:

- 🚀 API: http://127.0.0.1:2024
  • 🎨 Studio UI: https://smith.langchain.com/studio/?baseUrl=http://127.0.0.1:2024
  • 📚 API Docs: http://127.0.0.1:2024/docs

Open your browser and navigate to the Studio UI: https://smith.langchain.com/studio/?baseUrl=http://127.0.0.1:2024.

for i in {1..5}; do
  cp module-$i/studio/.env.example module-$i/studio/.env
  echo "OPENAI_API_KEY=\"$OPENAI_API_KEY\"" > module-$i/studio/.env
done
echo "TAVILY_API_KEY=\"$TAVILY_API_KEY\"" >> module-4/studio/.env

GitHub Stars & Activity

2,921Stars
1,877Forks
0Open issues
Jupyter NotebookLanguage

GitHub Popularity

GitHub stars2,921
Forks1,877
Open issues0
Primary languageJupyter Notebook
License-
Stars gained today1
Created-
Last pushed-

Trending History

Daily boardrank #66 · ▲ 1 stars

Related AI Projects

1

microsoft / generative-ai-for-beginners

Jupyter Notebook★ 121,078⑂ 63,716▲ 50 stars
→
2

microsoft / ai-agents-for-beginners

Jupyter Notebook★ 76,541⑂ 25,157▲ 61 stars
→
3

UFund-Me / Qbot

Jupyter Notebook★ 18,571⑂ 2,601▲ 7 stars
→
4

karpathy / micrograd

Jupyter Notebook★ 17,787⑂ 2,839▲ 9 stars
→
5

ageron / handson-ml3

Jupyter Notebook★ 14,274⑂ 5,343▲ 5 stars
→
6

ed-donner / llm_engineering

Jupyter Notebook★ 7,600⑂ 7,411▲ 20 stars
→
7

DataTalksClub / llm-zoomcamp

Jupyter Notebook★ 7,429⑂ 1,384▲ 7 stars
→
8

ed-donner / agents

Jupyter Notebook★ 6,324⑂ 5,482▲ 6 stars
→

More AI Rankings