
In this video, we explore the latest release of LangChain v1, launched in October 2025. This new version introduces a more focused, production-ready foundation for building AI agents.
LangChain v1 has been streamlined around three major improvements:
create_agent – The new standard method for building agents, replacing langgraph.prebuilt.create_react_agent.
Standard Content Blocks – A new content_blocks property that provides unified access to modern LLM features across different providers.
Simplified Namespace – The langchain namespace now focuses only on essential agent-building components, while legacy features have been moved to langchain-classic.
By the end of this lecture, you will clearly understand what has changed in LangChain v1 and how these updates improve agent development for production environments.
In this lecture, we will set up our development environment from scratch. You will learn how to install the uv package manager, create a virtual environment using uv, activate it properly, and install all required dependencies inside the virtual environment.
In this video, we will guide you through creating a basic agent using LangChain. You’ll learn the essential steps to set up and run your first agent, understand its workflow, and see it in action.
In this video, we will explore model integration in LangChain. Large language models (LLMs) are powerful AI tools that can interpret and generate text like humans. They are versatile, capable of tasks such as content creation, translation, summarization, and answering questions without specialized training.
Beyond text generation, many models support:
Tool calling – interact with external tools, databases, or APIs and use results in responses.
Structured output – ensure responses follow a defined format.
Multimodality – process and return data like images, audio, or video.
Reasoning – perform multi-step logic to reach conclusions.
Models act as the reasoning engine of agents, guiding decision-making, determining which tools to call, interpreting results, and generating final answers. The choice of model directly impacts your agent’s performance, reliability, and ability to handle specific tasks.
LangChain provides standard model interfaces with multiple provider integrations, allowing you to experiment with different models and select the best fit for your use case. Models can be used in two ways:
With agents – dynamically specified when creating an agent.
Standalone – called directly for tasks like text generation, classification, or extraction without an agent framework.
Getting started is easy: you can initialize a standalone model using init_chat_model from a provider of your choice, such as OpenAI, Anthropic, Azure, Google Gemini, AWS Bedrock, or HuggingFace.
In this lecture, we will explore chat model parameters and invocation in LangChain. You’ll learn how to configure models with parameters such as model name, API key, temperature, max tokens, timeout, and retries, as well as provider-specific options.
We will also cover how to invoke chat models using different methods: single messages, conversation lists, or structured message objects. By the end of this lecture, you will understand how to configure and call chat models effectively, enabling them to generate reliable and context-aware responses for your applications.
In this lecture, we will explore streaming and batching with chat models in LangChain. You’ll learn how to use stream() to receive model outputs progressively in real-time, improving user experience for longer responses. We’ll also cover how streamed chunks are combined into a complete message and how streaming differs from invoke().
Additionally, you’ll learn how to use batch() to process multiple requests in parallel for better performance and reduced latency, as well as batch_as_completed() to handle results as they finish generating.
In this lecture, we will explore tool calling in LangChain, a powerful feature that enables models to interact with external tools such as APIs, databases, web search, or custom functions. You will learn how to bind tools to a model and understand the tool execution workflow.
In this lecture, we will explore messages in LangChain, the fundamental units of context for chat models. Messages carry content, role, and metadata, enabling models to maintain conversation history, handle multimodal data, and generate context-aware responses.
You’ll learn about the different message types — SystemMessage, HumanMessage, AIMessage, and ToolMessage — and how to use them effectively to guide model behavior, manage multi-turn conversations, and integrate tool outputs. We’ll also cover the various formats for sending messages, including text prompts, message objects, and dictionary-style prompts compatible with providers like OpenAI
In this lecture, we will explore structured output in LangChain, a feature that allows models to return responses in a predefined format matching a schema. Structured output ensures model results can be easily parsed, validated, and used for further processing.
You will learn how to define schemas using Pydantic, including nested structures, field validation, and descriptions.
In this lecture, we will explore how to generate structured output using TypedDict in LangChain.
In this lecture, we will explore prebuilt middleware in LangChain. Middleware enables you to control and enhance agent behavior without modifying the core agent logic.
We will review provider-agnostic middleware such as Summarization, Human-in-the-loop, and model and tool call limits. Special focus will be given to SummarizationMiddleware, where you’ll learn how to automatically manage long conversations by triggering summaries based on token limits, message counts, or context size fractions.
By the end of this lecture, you will be able to configure and apply prebuilt middleware to build more reliable, scalable, and production-ready AI agents.
In this lecture, we will explore Human-in-the-Loop middleware in LangChain, a powerful mechanism that allows you to pause agent execution for human approval before sensitive tool calls are executed.
You will learn how to configure HumanInTheLoopMiddleware to approve, edit, or reject specific tool calls, making it ideal for high-stakes operations such as database updates, financial transactions, or compliance-driven workflows.
In this lecture, we will provide an overview of Deep Agents, a powerful framework for building advanced AI agents using LLMs. Deep Agents enable you to handle complex, multi-step tasks with built-in capabilities for task planning, subagent spawning, file system-based context management, and long-term memory.
In this lecture, we will demonstrate how to create and run a Deep Agent. You will learn how to define tools, set up a system prompt, and initialize a deep agent capable of handling tasks.
AI agents are transforming how applications interact with data, tools, and users. In this course, you will learn how to build powerful AI agents using LangChain v1.
We start with the core concepts of LangChain, where you will learn how to work with LLMs, configure model parameters, and run models using different invocation methods such as invoke, stream, and batch. You will then explore structured outputs, allowing models to return responses in well-defined formats using Pydantic, TypedDict, and JSON schemas.
Next, you will dive into tool calling, one of the most powerful capabilities of LangChain. You will learn how to connect AI agents with external tools, APIs, and custom functions, enabling agents to perform real-world tasks.
The course also covers middleware in LangChain, which allows you to control and enhance agent behavior without modifying the core logic. You will learn how to implement features such as summarization middleware, human-in-the-loop approvals, model fallback, and tool call limits to build reliable and production-ready agents.
You will then explore Deep Agents, a powerful framework built on top of LangChain that enables agents to handle complex multi-step tasks, task planning, file systems for context management, subagents, and long-term memory.
Finally, you will learn how to integrate OpenClaw with AI agents, enabling automation and communication workflows through external platforms such as messaging systems.
By the end of this course, you will have the skills to design, build, and deploy intelligent AI agents capable of solving complex tasks and automating real-world workflows.
What You’ll Learn
Work with LLMs in LangChain v1
Configure model parameters and invocation methods
Generate structured outputs using Pydantic, TypedDict, and JSON Schema
Implement tool calling for APIs, databases, and custom functions
Use middleware to control and enhance agent behavior
Implement human-in-the-loop approval workflows
Build Deep Agents capable of planning and complex task execution
Integrate OpenClaw for AI-powered automation