The Langchain library is a powerful tool for AI engineering, acting as the foundation of the broader LangChain-ecosystem (that is, LangGraph, LangSmith, LangServe, etc). In this course, you'll learn the fundamentals of building with LLMs and the essentials of LangChain — allowing you to build modern agentic systems and potentially move onto other components in the ecosystem such as LangGraph.
Quick Links!
📌 All Course Material: https://aurelio.ai/course/langchain
⭐ Course Repo: https://github.com/aurelio-labs/langchain-course
This course includes 10 chapters, those are:
1️⃣ When to Use LangChain (https://www.aurelio.ai/learn/langchain-when-to-use)
Guidelines for when we should use LangChain and what problems the framework does and does not solve.
2️⃣ Getting Started with LangChain (https://www.aurelio.ai/learn/langchain-intro)
LangChain is one of the most popular open source libraries for AI Engineers. Here we will introduce the library.
3️⃣ AI Observability with LangSmith (https://www.aurelio.ai/learn/langsmith-intro)
An introduction to LangSmith, an observability service for the LangChain-ecosystem.
4️⃣ Prompt Templating and Techniques in LangChain (https://www.aurelio.ai/learn/langchain-prompts)
Prompting is a critical part of building AI software. Here we'll learn general prompting techniques and specific LangChain tooling for prompting.
5️⃣ Conversational Memory in LangChain (https://www.aurelio.ai/learn/langchain-conversational-memory)
Exploring the various types of conversational memory and best practices for implementing them in LangChain v0.3 and beyond.
6️⃣ Introduction to LangChain Agents (https://www.aurelio.ai/learn/langchain-agents-intro)
An introduction to LangChain's agents in v0.3 and up using both traditional and LCEL syntax.
7️⃣ LangChain Agent Executor Deep Dive (https://www.aurelio.ai/learn/langchain-agent-executor)
A deep dive into LangChain's Agent Executor, exploring how to build your custom agent execution loop in LangChain v0.3.
8️⃣ LangChain Expression Language (LCEL) (https://www.aurelio.ai/learn/langchain-lcel)
An introduction to LangChain's Expression Language (LCEL), the recommended syntax for building agents and chains.
9️⃣ LangChain Streaming and Async (https://www.aurelio.ai/learn/langchain-streaming)
All you need to know about streaming and async, allowing us to receive, parse, and send LLM-generated data in real-time.
🔟 Capstone Project: AI Agent App
During the capstone project we build a fully fledged AI agent application using everything we've learned so far. It includes agent execution, tool-use, chat memory, streaming, async, LCEL, and more!
-----
👋🏼 Course Built by Aurelio AI:
https://aurelio.ai
👾 Discord:
https://discord.gg/c5QtDB9RAP
Follow on X: https://x.com/jamescalam
Connect on LinkedIn: https://www.linkedin.com/in/jamescalam/
#langchain #artificialintellegence #aiagents #coding #programming
00:00 Course Introduction
04:24 CH1 When to Use LangChain
13:28 CH2 Getting Started
14:14 Local Course Setup (Optional)
17:00 Colab Setup
18:11 Initializing our OpenAI LLMs
22:34 LLM Prompting
28:48 Creating a LLM Chain with LCEL
33:59 Another Text Generation Pipeline
37:11 Structured Outputs in LangChain
41:56 Image Generation in LangChain
46:59 CH3 LangSmith
49:36 LangSmith Tracing
55:45 CH4 Prompts
01:07:21 Using our LLM with Templates
01:12:39 Few-shot Prompting
01:18:56 Chain of Thought Prompting
01:25:25 CH5 LangChain Chat Memory
01:29:51 ConversationBufferMemory
01:38:39 ConversationBufferWindowMemory
01:47:57 ConversationSummaryMemory
01:57:33 ConversationSummaryBufferMemory
02:09:29 CH6 LangChain Agents Intro
02:16:34 Creating an Agent
02:20:56 Agent Executor
02:27:30 Web Search Agent
02:30:41 CH7 Agent Deep Dive
02:40:08 Creating an Agent with LCEL
02:56:40 Building a Custom Agent Executor
03:05:19 CH8 LCEL
03:09:14 LCEL Pipe Operator
03:13:28 LangChain RunnableLambda
03:18:00 LangChain Runnable Parallel and Passthrough
03:23:13 CH9 Streaming
03:29:22 Basic LangChain Streaming
03:33:29 Streaming with Agents
03:51:26 Custom Agent and Streaming
04:00:46 CH10 Capstone
04:05:25 API Build
04:12:14 API Token Generator
04:16:44 Agent Executor in API
04:34:50 Async SerpAPI Tool
04:40:53 Running the App
04:44:49 Course Completion!