Practical AI Agent Workflows

4 hours, 25 minutes CC
Practical AI Agent Workflows

Course Description

Build AI workflows and agent systems that balance context, reliability, and cost. Explore the tools, memory, retrieval, planning, and reflection that make single agents effective. Compare single and multi-agent patterns and choose, test, and improve the right architecture for each task.

Prerequisite: Practical Prompt Engineering or experience with any programming language and basic knowledge of LLMs.
Preview

Course Details

Published: October 23, 2026

Learn Straight from the Experts Who Shape the Modern Web

Your Path to Senior Developer and Beyond
  • 300+ In-depth courses
  • 24 Learning Paths
  • Industry Leading Experts
  • Live Interactive Workshops

Table of Contents

Introduction

Section Duration: 8 minutes
  • Introduction
    Sabrina (Bri) Goldfarb from the GitHub Copilot team introduces the course and explains why efficient AI use matters more than using as many tokens as possible. She describes the simple scorecard for weighing context, reliability, and cost, which will be used throughout the course.

Agent Fundamentals

Section Duration: 1 hour, 19 minutes
  • Reasoning LLMs vs Agents
    Bri explains what an AI agent actually is and how it differs from a reasoning LLM. Agents are a system of connected parts, and you give up more control as systems become more flexible.
  • Tools
    Bri shows how agents use tools to interact with the outside world. She covers how tools are described to the LLM, why clear metadata matters, and why too many tools can hurt an agent's performance.
  • MCP & Skills
    Bri introduces the Model Context Protocol (MCP), a standard for connecting LLMs to tools and APIs. She also covers skills, which are bundles of instructions that load only when needed so they don't use up valuable context space.
  • RAG
    Bri walks through Retrieval-Augmented Generation (RAG) and how it gives agents a form of external memory. She explains how documents are chunked, embedded, and searched so the model only sees the information that's relevant to a question.
  • Context
    Bri looks at the challenge of fitting everything an agent needs into a limited context window. She covers techniques like reranking, context compression, and Maximal Marginal Relevance, along with the costs and reliability concerns that come with them.
  • Agent Memory
    Bri explains how agents handle short-term and long-term memory, even though LLMs forget everything after each response. She covers working memory along with semantic, episodic, and procedural memory, and how agents retrieve and save information over time.
  • Planning & Reflection
    Bri covers how agents plan and reflect on their work. She explains the difference between plan-then-execute and ReAct approaches and shows how methods like self-refine and Reflexion help agents improve their results.

Non-Agent Workflows

Section Duration: 45 minutes
  • Prompt Chaining
    Bri explains what a workflow is and how it differs from an agent. She introduces prompt chaining, where each LLM call feeds the next, and discusses its benefits for accuracy and debugging as well as its cost in added latency.
  • Prompt Chaining Example Workflow
    Bri leads a hands-on lesson where you build a prompt chaining workflow in JavaScript. She demonstrates how to structure the code, validate outputs between steps, and stop early to avoid wasting LLM calls.
  • Routing
    Bri shows how routing workflows classify user input and send it down a single specialized path. She explains how this approach saves cost and time compared to using one large prompt for everything.
  • Parallelization & Other Workflows
    Bri covers three more workflow patterns: parallelization, evaluator optimizer, and orchestrator workers. She explains when to run calls at the same time, when to use a feedback loop between LLMs, and when a central LLM should hand out tasks to others.
  • Workflows Scorecard
    Bri wraps up the workflow section by showing that these patterns are built from basic programming tools like functions, switch statements, and if statements. She explains how to keep context focused, control cost, and handle errors so users get honest messages instead of bad answers.

Single-Agent Systems

Section Duration: 41 minutes

Multi-Agent Systems

Section Duration: 1 hour, 20 minutes
  • Sequential Agents
    Bri introduces multi-agent systems and starts with the sequential pattern, where agents pass work down a chain. She explains how it improves context management and keeps costs low, but can compound errors and add latency.
  • Sequential Agents Workflow Example
    Bri builds a sequential multi-agent workflow in JavaScript using a career picker agent and a path advisor agent. She shows how an orchestrator passes small handoff objects between agents and uses validation gates to catch errors.
  • Multi-Agent Parallelization
    Bri explains how parallel multi-agent systems split work across several agents at once. She describes the difference between sectioning and voting, how an aggregator combines results, and why this approach is faster but more expensive.
  • Supervisor
    Bri covers the supervisor pattern, where one main agent breaks a task into pieces and assigns them to specialized sub-agents. She discusses where it works well, where it gets costly, and why it can be too much for simpler problems.
  • Dispatcher
    Bri discusses the dispatcher pattern, which uses a classifier to send each request to the right specialized agent. She explains how it saves money at scale and why a misrouted request is hard to recover from.
  • Evaluator-Optimizer
    Bri covers the evaluator optimizer pattern, where one agent creates solutions and another critiques them in a loop. She emphasizes why stop conditions and concrete feedback, like test results, are important, and how to keep context from growing too large.
  • Peer-to-Peer
    Bri explains peer-to-peer multi-agent systems, where agents talk to each other directly with no central coordinator. She describes why this approach is flexible but chaotic, hard to debug, and usually a last resort.
  • Multi-Agent Systems Summary
    Bri steps back to look at the overall pros and cons of multi-agent systems. She weighs the benefits of specialization and swappable agents against the challenges of debugging, trust between agents, and use in high-stakes field
  • Evaluations
    Bri shows how to build agents that improve themselves by adding reflection steps based on concrete feedback. She also offers guidance on choosing between workflows, single agents, and multi-agent systems, starting simple and testing for your own use case.

Wrapping Up

Section Duration: 10 minutes
  • Wrapping Up
    Bri closes out the course by reviewing design patterns for self-improving agents and how to choose the right architecture. She revisits the trade-offs among reliability, cost, and context and offers advice on testing and experimenting with your own systems.

Earn a Completion Certificate

After completing this course, you'll receive a certificate of completion that serves as proof of your achievement, showcasing your expertise, and commitment to professional development. You can easily share this certificate on your LinkedIn profile to highlight your new skills and demonstrate continuous learning to potential employers and professional connections.

Sample completion certificate