Replace one-shot generation with iterative workflows
Build agentic workflows that plan, use tools, reflect, and revise, instead of expecting a perfect answer from one pass.
He compares one-shot prompting to writing an essay without a backspace key. He teaches four design patterns (reflection, tool use, planning, multi-agent collaboration), task decomposition, and harnesses with appropriate scaffolding, treating agentic-ness as a spectrum.
Based on Andrew Ng's public content. Not affiliated with or endorsed by Andrew Ng.
What following it looks like
Decomposes a task into steps the way a human expert would
Has the LLM draft, critique, and revise its output
Removes scaffolding as models improve
Gives agents spec-based tests so they can close their own loops
Evidence · 12 quotes from 3 videos
Each quote was matched word for word against the transcript. Tap the time to hear it.
“So to use is a major design pattern that is letting large language models make functioning calls”
12:33to have it decide when it needs to search the web
12:36or execute code or take other tasks
12:37like issue a customer refund or send an email
12:40or pull up a calendar entry.
12:42So to use is a major design pattern
“But I see much more in terms of number of opportunities still about value. There's a lot of simpler workflows that I think are still being built out.”
8:08and put it into the context of the large-language model.
8:10Then let's write the first draft
8:11and then let's read the first draft
8:13and critique it and revise the draft and so on.
“what has emerged over the last year is a new agentic orchestration layer that helps application builders orchestrate or coordinate a lot of calls to the technology layers underneath.”
15:51where you can approach this problem step-by-step.
15:54So detect the faces, detect the numbers, put it together.
15:57And so with this more iterative workflow,
16:00you can actually get an agent to do some planning,
“large language model-based agents, large multimodal-based agents can do better with an iterative workflow where you can approach this problem step-by-step.”