Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Master LangGraph v1 and Ollama - Build Gen AI Agents
Rating: 4.4 out of 5(789 ratings)
5,760 students

Master LangGraph v1 and Ollama - Build Gen AI Agents

Gen AI, Langchain v1 AI Agents, MCP, MySQL AI Agent, DeepSeek, GPT-OSS Qwen3 LLAMA Agent, Lang Graph, Ollama, KGPTalkie
Last updated 6/2026
English

What you'll learn

  • Install and integrate Ollama with LangChain v1, run models like Qwen3, Gemma3, GPT-OSS, DeepSeek-R1, and build custom GGUF models.
  • Use LangGraph v1 from scratch, including states, nodes, reducers, nested nodes, conditional routing, and full graph execution.
  • Build complete AI agents with ReAct, tool calling, memory saver, streaming, long-term memory, short-term memory, and agent state management.
  • Design and deploy sentiment analyzers, tweet handlers, weather tools, calculator tools, and multi-step agent workflows.
  • Implement agentic memory systems, including SQLite + PostgreSQL persistence, semantic memory search, and retrieval pipelines.
  • Create guardrails, interrupts, and human-in-the-loop approvals for sensitive workflows like money transfer and PII filtering.
  • Build advanced agents: Reflection Agent, Critique Agent, Research Agent, Model-Selection Agent, and multi-tool routing agents.
  • Develop MySQL ReAct Agent, including schema tools, SQL generation, validation, error correction, and full execution pipelines.
  • Integrate MCP (Model Context Protocol) with Airbnb MCP Server and build LangGraph MCP agents with real tools.
  • Build end-to-end production-ready GenAI agent systems, ready for real applications using open-source LLMs.

Course content

15 sections137 lectures14h 56m total length
  • Welcome & Course Overview6:16

    Course Introduction!

  • AI Agent Mastery Learning Path | Must Watch7:12
  • Download Code Files & Install Requirements (Must Watch)3:31

    Get code files here

    https://github.com/laxmimerit/LangGraph-and-Ollama

Requirements

  • Basic programming knowledge (preferably in Python).
  • No prior knowledge of LangChain or LangGraph required — everything starts from beginner level.
  • A laptop with internet access to run Ollama, LangChain, and project files.
  • Interest in learning AI agents, memory systems, tool calling, and modern GenAI engineering.

Description

**Brand New 2026 Version**

This course has been re-designed, re-recorded, and rebuilt from the ground up to support

**LangChain v1+, LangGraph v1+, latest frameworks, and modern agentic workflows.**

Master LangGraph v1 and Ollama – Build Gen AI Agents is a complete and beginner-friendly course for anyone who wants to build real AI agents using LangGraph, LangChain, Ollama, and open source LLMs like GPT-OSS, Qwen3 and Gemma3.

This course starts from the basics. You will understand every concept step by step and build fully working AI agent systems with real tools, memory, routing, and database integration.

By the end of the course, you will be able to build production-ready AI agents that can search the web, call tools, interact with databases, store memories, follow human approval steps, and solve real-world tasks.

Every lecture includes a live demo and a working example to help you learn through hands-on experience.


What You Will Learn

Ollama and Open Source LLMs

  1. Install and set up Ollama with the latest LangChain v1 updates

  2. Work with models like Qwen3 and Gemma3

  3. Test context handling and realtime search settings

  4. Do quick document analysis

  5. Inspect and benchmark models

  6. Understand how to select the right model for a project

  7. Use all important Ollama commands

  8. Create custom Ollama models

  9. Use Ollama message commands

  10. Make raw API requests

  11. Load uncensored GGUF models for educational research


LangChain v1 Fundamentals

  1. Set up LangSmith for debugging and tracing

  2. Understand open source tracing tools like LangFuse and Opik

  3. Use ChatOllama with Gemma3

  4. Produce responses and trace them in LangSmith

  5. Reuse prompts with ChatPromptTemplate

  6. Chain multiple runnables

  7. Format messages with StrOutputParser

  8. Create structured output with Pydantic


LangGraph Beginner to Advanced

  1. Understand flow engineering and finite state machines

  2. Create custom states and nodes

  3. Learn how LangGraph updates states

  4. Execute nested nodes

  5. Build and visualize LangGraph workflows

  6. Invoke graphs and watch state changes happen


Conditional Routing

  1. Build sentiment analysis workflows

  2. Create Pydantic models for classification

  3. Route outputs to different nodes

  4. Generate positive and negative responses using LangGraph

  5. Build a complete sentiment analysis graph


ReAct Agent with LangGraph

  1. Learn Chain of Thoughts and Tree of Thoughts patterns

  2. Understand ReAct agent design

  3. Manage agent state

  4. Create tools for weather and calculations

  5. Build agent nodes and enable debugging

  6. Create conditional tool execution

  7. Build a complete ReAct agent

  8. Test tool calls, internal states, and parallel execution


Agent Memory and Streaming

  1. Understand how agent memory works

  2. Set up memory notebooks

  3. Build agents with MemorySaver

  4. Stream agent output

  5. Recall chat history


Short Term Memory

  1. Learn the idea of persistence

  2. Separate long term and short term memory

  3. Save agent memory to SQLite

  4. Create a free PostgreSQL database online

  5. Store and retrieve memory from PostgreSQL


Long Term Memory

  1. Build long term memory storage

  2. Use store namespace and put functions

  3. Save, fetch, and delete long term memory items

  4. Create semantic search for memories

  5. Build tools to save and retrieve user memory

  6. Build long term and short term memory agents


Interrupt and Human in the Loop

  1. Understand human approval workflows

  2. Add guardrails to protect PII

  3. Build interruptible tools like money transfer

  4. Create HITL nodes and routers

  5. Build SQLite persistence for agent state

  6. Execute workflows that need user approval

  7. Stress test guardrail and approval flows


Reflection Agent

  1. Build a researcher agent with critique feedback

  2. Add free web search tools

  3. Build routing logic for self evaluation

  4. Combine agents into a reflection loop

  5. Evaluate and test reflection workflows


MySQL ReAct Agent

  1. Connect LangGraph with a MySQL database

  2. Extract database schema

  3. Generate SQL queries using LangChain tools

  4. Validate queries and fix errors automatically

  5. Execute complex queries using agents

  6. Compare Qwen3 with GPT OSS models for database tasks


Search Hotels with Airbnb MCP Servers

  1. Understand the Model Context Protocol

  2. Use the Airbnb MCP server

  3. Build LangGraph MCP client workflows

  4. Run MCP based agents in Jupyter


Who This Course Is For

  1. Beginners who want to learn AI agents

  2. Developers working with LangChain or open source LLMs

  3. Students and professionals entering Gen AI development

  4. Python programmers exploring agent systems

  5. Anyone who wants to build complete production ready AI agents


No advanced experience is required. Only basic Python knowledge is enough.


Why This Course Is Different

  • Beginner friendly language

  • Covers everything end to end: LLMs, LangChain, LangGraph, Agents

  • Live coding with practical examples

  • Includes latest updates for LangChain v1 and Ollama

  • Focuses on production ready workflows

  • Uses open source models so there is no API cost


By the End of This Course You Will Be Able To

  • Build complete AI agents using LangGraph

  • Use tools, databases, and APIs inside agents

  • Add short term and long term memory

  • Add human approval and guardrails

  • Use Ollama to run powerful LLMs locally

  • Create stateful and fully working Gen AI applications

Who this course is for:

  • Interest in learning AI agents, memory systems, tool calling, and modern GenAI engineering.
  • Data scientists & ML engineers who want hands-on experience with agent workflows, tools, memories, and retrieval pipelines.
  • AI enthusiasts who want to go beyond chatbots and build real reasoning-based, tool-calling agents.
  • Professionals exploring agentic architectures for automation, data workflows, and enterprise-grade AI solutions.
  • Students & beginners who know basic Python and want to master production-grade GenAI development.