inflearn logo

Implementing a RAG System with AI Agents (with LangGraph)

An intelligent Retrieval-Augmented Generation (RAG) AI agent built with LangGraph! A hands-on tutorial covering everything from theory to practice, easy for beginners to follow.

(4.8) 179 reviews

8,088 learners

Level Basic

Course period Unlimited

AI Agent
AI Agent
LangGraph
LangGraph
RAG
RAG
LLM
LLM
LangChain
LangChain
AI Agent
AI Agent
LangGraph
LangGraph
RAG
RAG
LLM
LLM
LangChain
LangChain

Reviews from Early Learners

4.8

5.0

이성규

61% enrolled

This is a well-organized and neat lecture. I hesitated to purchase it since I already had experience with the LangGraph project, but the content is so neatly organized and explained calmly step-by-step that I learned things I didn't know before and don't regret buying it at all. I'm seriously considering buying the RAG Langchain lecture because of this lecture.

5.0

조영재

31% enrolled

The course content was very easy to understand and highly helpful as it can be applied directly to practical work. The explanations were so clear that even difficult concepts felt natural to grasp.

5.0

jiyoung lim

98% enrolled

Okay

What you will gain after the course

  • Design and Implementation of an AI Agent Architecture Using LangGraph

  • Applying AI Agents to RAG (Retrieval-Augmented Generation)

  • Expanding AI Agent Capabilities with Tool Calling Implementation

  • Mastering the Latest Agentic RAG Architectures, Including Adaptive RAG, Self-RAG, and Corrective RAG

A magical tool for powerful RAG systems
A magical tool AI Agents🪄

LLMs excel at natural language processing and text generation, but they have limitations when it comes to independently coordinating complex workflows or making decisions. To go beyond information retrieval and enable LLMs to evaluate results, revise queries, and choose tools suited to the situation, they need the help of agents. To build a smarter, more flexible RAG system, agents are an essential technology to understand.

AI Agents That Boost LLM Performance 🔧

✅ Choose the right tools for the situation

It helps the LLM decide which tools to use based on the situation. Depending on the user's request or task, it can select the appropriate tools, such as API calls, database searches, or web searches.

✅ Generate optimal search queries

When the user’s question is unclear or complex, it helps refine or revise the query to get more accurate results. This enables the LLM to generate an optimal search query.

✅ Derive high-quality answers

When multiple results are returned, it evaluates the most relevant information and selects the best answer. This helps provide users with accurate information.

✅ Decide on follow-up actions to improve results

If the results are insufficient or inaccurate, determine whether further work is needed and run a feedback loop that repeats the search or tries a new approach.

Why Use LangGraph? 🤔

LangGraph is a useful tool for implementing complex workflows. While LangChain is suited to handling relatively fixed flows, LangGraph can flexibly handle and manage complex tasks, making it a good fit for agents.

<Features of LangGraph>

  • With node-based management, you can easily handle various states and conditions.

  • Complex workflows can be managed visually.

  • By combining agents with LangGraph, you can effectively connect and run various modules.


Features of This Course

Hands-on, step-by-step learning

Immediately follow each theoretical explanation with a related hands-on exercise to solidify your understanding and develop the ability to apply the concepts.

A curriculum that reflects the latest trends

Incorporating the latest technologies and methodologies for agent-based RAG, this course provides practical knowledge you can apply immediately in the field.

The Complete Guide to LangGraph

We explain complex LangGraph step by step from the basics so anyone can understand it, then deepen your learning with a variety of real-world examples.

Easy review with the provided tutorials

A Wikidocs textbook covering LangGraph and agentic RAG lets you continue learning and refer back to the material after completing the course.

What You’ll Learn About These Topics

Designing AI Agent Workflows with LangGraph

Learn the core concepts of LangGraph—state graphs, conditional edges, and feedback loops—and understand how to model an AI agent’s complex decision-making processes as graphs. You’ll also learn techniques for AI agent projects, including Human-in-the-Loop, parallel execution, and subgraphs.

Expanding AI Capabilities with Tool Calling

Master Tool Calling techniques that connect AI agents' capabilities to the real world. Learn how to create and call LangChain’s built-in tools and custom tools, and how to integrate external APIs and various tools into AI systems.

Implementing Advanced Agent-Based RAG Techniques

Explore advanced techniques that take RAG system performance to the next level. Learn the concepts and implementation techniques behind Adaptive RAG, which operates dynamically based on context, and Self RAG and Corrective RAG, which enable AI to evaluate and improve its own outputs.

Notes Before Taking the Course

Practice Environment

  • Operating system and version (OS): The course is taught using macOS; Linux and Windows users can also follow along with the exercises.

  • Virtual environment: The course uses Poetry (users of conda or venv can also follow along with the exercises).

  • Tools used: VS Code, OpenAI API, etc. An LLM API key is required (additional costs may apply).

  • PC Specifications: Not applicable

  • LangGraph version: v0.2.34 used

  • LangChain version: v0.3.1 applied

Learning Materials

  • Materials required for hands-on practice provided (lecture notes and practice code)

  • Reference materials are available on Wikidocs: https://wikidocs.net/book/16723

Prerequisites and Important Notes

  • For those with basic knowledge of Python (able to do basic programming)

  • [Free Course] LangChain Basics for Beginners (Essential): https://inf.run/Xabb2


  • Please feel free to ask any questions or share your feedback.

Related Courses

  • RAG Mastery: From Basics to Advanced Techniques (feat. LangChain)

  • From RAG implementation to performance evaluation -

    Practical AI Development in 9 Hours

    • Hands-On Practice Building a RAG System with LangChain

    • Learn Advanced RAG Techniques

    • RAG System Performance Evaluation Methodology

    • How to use LangChain’s latest LCEL syntax and Runnables


  • Link: https://inf.run/CxVA3

Recommended for
these people

Who is this course right for?

  • For those who want to go beyond chatbots and build intelligent AI agents themselves

  • For those who want to take on the challenge of developing practical AI solutions using RAG and LLMs.

  • Those who want to take the next step after completing a LangChain-based 'chatbot' or 'RAG' course

Need to know before starting?

  • Python

  • (Free Course) LangChain Fundamentals for Beginners [Essential]

  • (Paid Course) RAG Master: From Basics to Advanced Techniques [Recommended]

Hello
This is pdstudio

Inflearn Verified

21,434

Learners

1,314

Reviews

200

Answers

4.8

Rating

16

Courses

Hello. I work in data analysis and AI service development using Python. I continually write books and teach AI courses so I can explore topics that interest me, study them, and share what I learn with others.

 

[Career History]

Current: CEO of a fintech startup

Former CDO at Dacon

Former adjunct professor, Department of Computer Software, Induk University

Kaggle Competition Expert, Big Data Analysis Engineer

 

[Lectures]

NCS-Registered Instructor (Artificial Intelligence)

SBA Seoul Business Agency’s SeSAC Campus SW Education Program: Selected as an “Outstanding Partner” (AI Model Development Using Python)

Financial Security Institute, Korea Electronics Association, Korea Display Industry Association, Daegu Digital Industry Promotion Agency, and other organizations,

Teaching experience at major universities in Korea, including Seoul National University, Pusan National University, Kyung Hee University, and Hankuk University of Foreign Studies, as well as at Korean companies

  

[Author]

 

[YouTube] Pandas Studio: https://youtube.com/@pandas-data-studio?si=XoLVQzJ9mmdFJQHU

More

Curriculum

All

54 lectures ∙ (6hr 45min)

Course Materials:

Lecture resources
Published: 
Last updated: 

Reviews

All

179 reviews

4.8

179 reviews

  • 열심히하겠습니다님의 프로필 이미지
    열심히하겠습니다

    Reviews 1

    ∙

    Average Rating 5.0

    5

    31% enrolled

    I'm learning step by step from the beginning.

    • pdstudio
      Instructor

      Thank you.

  • qkenr1321559님의 프로필 이미지
    qkenr1321559

    Reviews 10

    ∙

    Average Rating 5.0

    5

    61% enrolled

    This is a well-organized and neat lecture. I hesitated to purchase it since I already had experience with the LangGraph project, but the content is so neatly organized and explained calmly step-by-step that I learned things I didn't know before and don't regret buying it at all. I'm seriously considering buying the RAG Langchain lecture because of this lecture.

    • pdstudio
      Instructor

      Thank you so much! 😊 I'll prepare an even better lecture for you next time! 🌟

  • swimjiy4048님의 프로필 이미지
    swimjiy4048

    Reviews 1

    ∙

    Average Rating 5.0

    5

    98% enrolled

    Okay

    • pdstudio
      Instructor

      Thank you!

  • dominic8125님의 프로필 이미지
    dominic8125

    Reviews 5

    ∙

    Average Rating 5.0

    5

    61% enrolled

    It was very helpful for practical work. Thank you for providing such a great lecture!

    • pdstudio
      Instructor

      Thank you.

  • 16274736565님의 프로필 이미지
    16274736565

    Reviews 1

    ∙

    Average Rating 5.0

    5

    31% enrolled

    The course content was very easy to understand and highly helpful as it can be applied directly to practical work. The explanations were so clear that even difficult concepts felt natural to grasp.

    • pdstudio
      Instructor

      Thank you!

pdstudio's other courses

Check out other courses by the instructor!

Similar courses

Explore other courses in the same field!

25% off for new members

$57.00

25%

$77.00