﻿# Andrew Ng's agent design patterns applied to a paid workflow

Test Andrew Ng's reflection, tools, planning and multi-agent patterns one at a time to see which changes improve accepted work at a viable cost.

Author: Retrivium team
Updated: 2026-11-08
Canonical URL: https://retrivium.ai/journal/startup-andrew-ng-agent-design-patterns-paid-work/
Language: en

In a talk published March 26, 2024, Andrew Ng argued that iterative agentic workflows could substantially improve what language models accomplish. His DeepLearning.AI course names four patterns: reflection, tool use, planning and multi-agent collaboration. A startup can evaluate these as individual design changes on a workflow it expects customers to pay for.

## Set a commercial baseline before adding steps

Suppose a team sells vendor onboarding. Measure how the current system handles a packet with inconsistent business details, a missing attachment or an expired record. Keep cases that require a human decision. Record accepted outcomes, staff minutes, latency and cost. This gives each design change a baseline that includes real operating effort.

## Use reflection to catch a known omission

Ask a reviewer step to check whether a proposed decision cites required evidence and points to the right supplier record. Compare with a deterministic validation of required fields. Reflection earns its extra model call when it catches problems the simple check misses and does so with a manageable number of false escalations.

## Introduce a tool for facts the model needs

Let the agent query a permitted registry for the latest record. Evaluate the effect of stale results and a registry failure. Restrict fields and return structured identifiers that a validator can inspect. Track the reduction in rework along with the new error cases, including timeouts or requests against the wrong entity.

## Try planning and collaboration on the exceptions

An unusual packet might need several sources and a plan chosen after seeing the first result. A separate specialist could assess an unfamiliar document type. Test both changes on exceptional cases and add their coordination time to the cost. A fixed route can remain the default for standard packets.

## Keep the pattern only while it pays for itself

Run versions against the same held-out examples. Inspect what each stage contributed and which decisions now require customer review. Identify the largest latency increase and the remaining failure that matters most to the buyer. Repeat when a model or tool changes so the team can remove a step whose former contribution has become unnecessary.

## Sources

- [Andrew Ng at Sequoia AI Ascent](https://www.youtube.com/watch?v=sal78ACtGTc)
- [DeepLearning.AI Agentic AI course taught by Andrew Ng](https://www.deeplearning.ai/courses/agentic-ai)

## Related reading

- [DeepEval G-Eval: freeze evaluation steps and rubric meaning, not just a metric name](/journal/fg2-deepeval-geval-steps-rubric-measurement-contract/)
- [Cloud-agent budgets: model tokens and sandbox work need one accepted-outcome boundary](/journal/frontier-economics-cloud-agent-budget-accepted-work-boundaries/)
