Loading video player...
In the final session of our Python + Agents series, we’ll explore how to incorporate **human‑in‑the‑loop (HITL)** interactions into agentic workflows using the Microsoft Agent Framework. This session focuses on adding points where a workflow can pause, request input or approval from a user, and then resume once the human has responded. HITL is especially important because LLMs can produce uncertain or inconsistent outputs, and human checkpoints provide an added layer of accuracy and oversight. We’ll begin with the framework’s **requests‑and‑responses** model, which provides a structured way for workflows to ask questions, collect human input, and continue execution with that data. We'll move onto **tool approval**, one of the most frequent reasons an agent requests input from a human, and see how workflows can surface pending tool calls for approval or rejection. Next, we’ll cover **checkpoints and resuming**, which allow workflows to pause and be restarted later. This is especially important for HITL scenarios where the human may not be available immediately. We’ll walk through examples that demonstrate how checkpoints store progress, how resuming picks up the workflow state, and how this mechanism supports longer‑running or multi‑step review cycles. This session brings together everything from the series—agents, workflows, branching, orchestration—and shows how to integrate humans thoughtfully into AI‑driven processes, especially when reliability and judgment matter most. Prerequisites: To follow along with the live examples, sign up for a free GitHub account. If you are brand new to generative AI with Python, start with our 9-part Python + AI series https://aka.ms/pythonai/rewatch, which covers LLMs, embedding models, RAG, tool calling, MCP, and more. 📌 This event is a part of a series, learn more here: https://aka.ms/PythonAgents/YT Microsoft Agent Framework: https://learn.microsoft.com/agent-framework/overview/agent-framework-overview/?wt.mc_id=youtube_26693_organicsocial_reactor #microsoftreactor #learnconnectbuild [eventID:26693]