Build agentic design patterns: reflection, tool use, planning, and multi-agent workflows
- Intermediate
- 9h55m
- 31 Video Lessons
- 7 Code Examples
- 8 Graded Assignments PRO
- Earn a certificate with PRO
- Instructor: Andrew Ng
DeepLearning.AI- Learn more aboutMembership PRO Plan
What you'll learn
Integrate AI with external tools: databases, APIs, web search, and code execution
Evaluate and optimize AI systems: performance metrics, error analysis, and production deployment
Why Enroll?
Agentic AI represents a new way of building software that leverages LLMs to complete some or all of the steps in complex tasks. Instead of generating single responses to prompts, agentic workflows enable AI to plan multi-step processes, execute them iteratively, and improve outputs through reflection and tool use. This course teaches you to build these sophisticated AI systems from the ground up.
You’ll master four design patterns that power agentic AI systems:
- Reflection: AI critiques its own work and iterates to improve quality—like code review, but automated.
- Tool Use: Connect AI to databases, APIs, and external services so it can actually perform actions, not just generate text.
- Planning: Break complex tasks into executable steps that AI can follow and adapt when things don’t go as expected.
- Multi-Agent: Coordinate multiple specialized AI systems to handle different parts of a complex workflow.
The course emphasizes practical implementation using Python, building each pattern from first principles before exploring frameworks, giving you the flexibility to customize AI workflows for your specific needs. You’ll learn to deconstruct business processes into agentic workflows, identifying where human-like iteration and tool interaction can automate complex tasks. Critical evaluation skills are woven throughout—you’ll build robust testing frameworks, conduct systematic error analysis, and optimize systems for production deployment.
You’ll earn a certificate upon completing the course, recognizing your skills in building agentic workflows.
Instructor
Who this course is for
Software developers who want to apply AI techniques to build autonomous systems that handle multi-step workflows.
Professionals with intermediate-level Python programming skills to be able to follow along with the implementations.
Professionals with a basic understanding of large language models and APIs who want to deepen their practical skills.
Course Outline
Agentic AI
Module 1: Introduction to Agentic Workflows
- Welcome!Video・1m
- What is agentic AI?Video・5m
- Degrees of autonomyVideo・5m
- Benefits of agentic AIVideo・4m
- Agentic AI applicationsVideo・7m
- Task decomposition: Identifying the steps in a workflowVideo・8m
- Evaluating agentic AI (evals)Video・5m
- Agentic design patternsVideo・7m
- Optional: Set up your local environment for the ungraded labsReading・10m
- Module 1 quiz
Graded・Quiz
・10m - Try the research agentCode Example・1h
- Join the DeepLearning.AI Forum to ask questions, get support, or share amazing ideas!Reading・1m
Module 2: Reflection Design Pattern
- Reflection to improve outputs of a taskVideo・3m
- Why not just direct generation?Video・5m
- Chart generation workflowVideo・3m
- Ungraded Lab: Chart GenerationCode Example・15m
- Evaluating the impact of reflectionVideo・8m
- Using external feedbackVideo・4m
- Ungraded Lab: Improving SQL Generation with ReflectionCode Example・15m
- Module 2 quiz
Graded・Quiz
・10m - M2 Graded Lab
Graded・Code Assignment
・1h

