whatisgithub

What is langchain-tutorials?

gkamradt/langchain-tutorials — explained in plain English

Analysis updated 2026-06-24

7,435Jupyter NotebookAudience · developerComplexity · 2/5Setup · easy

In one sentence

A curated collection of Jupyter Notebook tutorials for learning LangChain, covering document Q&A, summarization, data extraction, AI agents, and chatbots, with YouTube walkthroughs and a community project gallery.

Mindmap

mindmap
  root((langchain-tutorials))
    What it does
      Teaches LangChain use
      Practical code examples
      YouTube walkthroughs
    Topics covered
      Document Q and A
      Summarization
      AI agents
      Data extraction
    Resources
      Cookbook notebooks
      Community gallery
      Prompt engineering tips
    Audience
      AI developers
      LangChain beginners
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Follow a guided cookbook notebook covering 7 core LangChain concepts and 9 practical use cases with runnable code and matching YouTube videos

USE CASE 2

Build a question-answering chatbot over your own documents using LangChain patterns from the tutorial notebooks

USE CASE 3

Browse community project examples organised by difficulty and category to find a working starting point for your own AI app

What is it built with?

PythonLangChainJupyter Notebook

How does it compare?

gkamradt/langchain-tutorialsmicrosoft/tinytroupeopen-mmlab/mmagic
Stars7,4357,4407,426
LanguageJupyter NotebookJupyter NotebookJupyter Notebook
Setup difficultyeasymoderatemoderate
Complexity2/53/54/5
Audiencedeveloperresearcherresearcher

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 30min

Most notebooks require an OpenAI or other LLM API key to run the code examples.

So what is it?

This repository is a collection of tutorials and code examples for LangChain, a library that helps developers build applications powered by large language models. LangChain provides building blocks for tasks like asking questions over your own documents, summarizing text, extracting structured data from unstructured sources, and building chatbot-style interfaces. This repository is aimed at developers who want to learn how to use LangChain through practical examples rather than just reading the official documentation. The recommended learning path in the README starts with two cookbook notebooks. The first covers seven core concepts in LangChain, and the second covers nine practical use cases. Each notebook has a matching YouTube video. There are also links to prompt engineering resources for those who are new to writing effective instructions for AI models. Beyond the cookbooks, the repository includes a gallery of community-submitted projects organized by difficulty level (beginner, intermediate, and advanced) and by category. The categories covered include summarization, question answering over documents, data extraction, evaluation of AI outputs, chatbots, and AI agents. Most entries in the gallery link to separate repositories with the full code for each project. The tutorials use Jupyter Notebooks, which are files that combine code, explanatory text, and output in a single document that can be run interactively in the browser through tools like Google Colab. The README includes a link to a beginner video explaining how to use notebooks if that format is unfamiliar. The repository is maintained by Greg Kamradt and accepts contributions via pull request. It accompanies a YouTube channel and email newsletter focused on practical applications of AI tools for developers.

Copy-paste prompts

Prompt 1
Using the langchain-tutorials cookbooks, show me how to build a LangChain chain that loads a PDF and answers questions about its content.
Prompt 2
I want to extract structured data from unstructured text using LangChain. Which notebook in gkamradt/langchain-tutorials covers data extraction, and what is the basic code pattern?
Prompt 3
Using langchain-tutorials, show me how to build a LangChain agent that can call tools like search or a calculator to answer a multi-step question.
Prompt 4
I am new to Jupyter Notebooks. How do I open and run the langchain-tutorials notebooks in Google Colab without installing Python locally?

Frequently asked questions

What is langchain-tutorials?

A curated collection of Jupyter Notebook tutorials for learning LangChain, covering document Q&A, summarization, data extraction, AI agents, and chatbots, with YouTube walkthroughs and a community project gallery.

What language is langchain-tutorials written in?

Mainly Jupyter Notebook. The stack also includes Python, LangChain, Jupyter Notebook.

How hard is langchain-tutorials to set up?

Setup difficulty is rated easy, with roughly 30min to a first successful run.

Who is langchain-tutorials for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.