Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Building AI Agents with LangGraph! (Crash Course 2026)
Rating: 5.0 out of 5(1 rating)
143 students

Building AI Agents with LangGraph! (Crash Course 2026)

Build reliable AI agents with LangGraph.
Last updated 8/2026
English
English [Auto],

What you'll learn

  • Understand how AI agents, agent loops, tools, and agentic workflows work.
  • Build AI applications with LangChain and Python.
  • Work with LLM messages, prompts, streaming, structured outputs, and tool calling.
  • Create custom tools and connect AI agents to external systems and APIs.
  • Build complete tool-using AI agents from scratch.
  • Identify common AI agent failure modes and design more reliable agent architectures.
  • Build stateful AI agents and workflows using LangGraph.
  • Implement conditional routing, branching, parallel execution, and subgraphs.
  • Add short-term and persistent memory to AI agents.
  • Implement human-in-the-loop approval for sensitive agent actions.
  • Build RAG agents that retrieve and reason over private or internal knowledge.
  • Improve retrieval using query rewriting and agentic retrieval strategies.

Course content

3 sections • 9 lectures • 1h 54m total length
  • AI Agents Explained9:39
  • Course Material0:55
  • When to Build AI Agents and when not to.5:46

Requirements

  • Basic knowledge of Python is recommended.
  • You should be comfortable with functions, classes, dictionaries, lists, and installing Python packages.
  • No previous experience with LangChain or LangGraph is required.
  • No previous AI or machine-learning knowledge is required.
  • No previous experience building AI agents is required.
  • A computer capable of running Python and a code editor such as VS Code.
  • Access to an LLM API will be useful for following the practical exercises.

Description

Learn the fundamentals of LangGraph and AI agent workflows in Python, with a practical focus on building stateful agents, structured workflows, memory, and human-in-the-loop systems.

This course is designed as an introduction to the core ideas behind LangGraph and graph-based agent development. Rather than trying to cover every advanced production pattern, the course focuses on the concepts that help you understand how modern AI agents can be organized, controlled, and extended beyond a simple model-and-tools loop.

We begin with the fundamentals of AI agents and agentic workflows. You will learn what an agent is, how an agent differs from a traditional deterministic workflow, and why many real-world systems combine both approaches.

You will look at how an AI application can move through multiple steps, maintain information between those steps, make decisions based on intermediate results, and route execution through different parts of a workflow.

From there, we introduce LangGraph and the graph-based way of thinking about agent systems.

You will learn how workflows can be represented using state, nodes, and edges. Nodes can perform different parts of an application, while edges determine how execution moves from one part of the graph to another.

This gives you a more structured way to think about multi-step AI applications.

Instead of placing all of the logic inside a single agent loop, you can separate responsibilities into different parts of a workflow. One node might interact with a language model, another might execute a tool, another might validate a result, and another might decide what should happen next.

A major focus of the course is state.

You will learn how LangGraph can maintain information as an application moves through a workflow. This can include conversation messages, intermediate results, decisions, tool outputs, or other values required by the application.

Understanding state is especially important when building agents that need to perform multiple steps or continue a conversation over time.

We will also explore routing and workflow control.

You will see how a graph can move through different paths depending on the current state of the application. This allows you to create workflows where different actions happen depending on what the model produces or what conditions are currently met.

Some workflows may follow a predictable sequence, while others may contain loops, branches, or agent-controlled decisions.

Another important part of the course is memory.

Many useful AI applications need to remember information beyond a single model request. We will explore the difference between the temporary state used during one execution and information that can be persisted across interactions.

You will learn the basic ideas behind conversation memory and persistent state, and see how they can be integrated into LangGraph applications.

The course also introduces human-in-the-loop workflows.

Not every action should be performed automatically by an AI agent. In some applications, it is useful to pause execution and allow a person to inspect, approve, reject, or modify what the system is about to do.

You will learn how LangGraph can support these kinds of workflows by allowing execution to pause and later continue from the existing state.

This can be useful when an agent reaches an important decision, prepares an action that requires approval, or needs additional information before continuing.

As the course progresses, we will combine these concepts to build more structured AI agent workflows.

You will see how agents can use tools while operating inside a graph, how different parts of an agent can be separated into nodes, and how the overall workflow can be controlled through explicit routing logic.

We will also discuss the difference between letting a language model make a decision and using deterministic application logic. In many systems, the most useful design is a combination of both.

The course remains intentionally focused on the fundamentals of LangGraph. The goal is not to present one perfect architecture for every application, but to help you understand the main concepts behind stateful and controllable agent workflows.

By the end of the course, you should have a practical understanding of how LangGraph organizes AI applications and how concepts such as workflows, state, routing, memory, and human approval fit together.

What we will cover

  • AI agent fundamentals

  • Agentic workflows

  • Agents compared with deterministic workflows

  • LangGraph fundamentals

  • Graph-based application design

  • Nodes and edges

  • State management

  • Passing information between workflow steps

  • Agent state and message history

  • Conditional routing

  • Branching workflows

  • Agent loops

  • Tool-using agents

  • Combining tools with LangGraph

  • Separating agent responsibilities into nodes

  • Deterministic and model-driven routing

  • Multi-step workflows

  • Conversation memory

  • Persistent state

  • Continuing conversations across interactions

  • Checkpointing concepts

  • Human-in-the-loop workflows

  • Pausing graph execution

  • Human approval before actions

  • Resuming workflows after approval

  • Designing more controlled AI agents

  • Organizing agentic applications in Python

The emphasis throughout the course is on understanding how AI agents can be structured as workflows rather than treating the agent as a single black box.

If you already have some familiarity with Python and language models and want to understand how LangGraph can be used to build stateful AI agents, manage workflows, introduce memory, and include human control where necessary, this course provides a focused introduction.

Who this course is for:

  • Python developers who want to learn how to build modern AI agents.
  • Software engineers who want to move from simple LLM applications to production agent systems.
  • Backend developers interested in integrating AI agents into existing products and APIs.
  • AI engineers who want practical experience with LangChain and LangGraph.
  • Developers who have experimented with ChatGPT or LLM APIs and want to understand agent architecture properly.
  • Developers building RAG applications who want to extend them with agentic reasoning and tools.
  • Engineers who want to learn how to evaluate and debug agents using LangSmith.
  • Developers interested in agent memory, workflows, human approval, tool calling, and multi-step reasoning.
  • Technical founders and indie developers building AI-powered applications.
  • Students who know Python and want a practical introduction to modern AI application development.
  • Developers who already know the basics of LangChain but want to learn how to build reliable, secure, and deployable AI agents.