Evals and error analysis
He calls evals and error analysis the key differentiator: start quick and dirty, inspect traces, and benchmark each step against human-level performance.
Based on Andrew Ng's public content. Not affiliated with or endorsed by Andrew Ng.
Rules
Covered in
Improve Agentic Performance with Evals and Error Analysis, Part 2: Best practices for error analysis in agentic AI development, and how LLMs make them easier
Andrew Ng explains the core ideas and best practices of error analysis for agentic AI workflows, using a Deep Research agent as an example. He teaches examining traces step by step against human level performance, starting informally and growing more rigorous, and argues that because LLMs improve rapidly, error analysis can also prompt rearchitecting workflows, such as removing scaffolding and letting the LLM do more.
Andrew Ng: State of AI Agents | LangChain Interrupt
In this fireside chat Andrew Ng describes the state of AI agents: he argues for thinking in degrees of agenticness rather than debating what counts as an agent, and he says most business opportunities today are fairly linear workflows. He teaches practical skills for agent builders, including task decomposition, quick-and-dirty evals, and broad familiarity with many tools. He also covers voice applications, MCP, multi-agent systems, vibe coding, why everyone should learn to code, and speed and technical knowledge as predictors of startup success.
DeepSeek Cuts Inference Costs, OpenAI Tightens Ties with AMD, Thinking Machines Simplifies Fine-Tuning, Robots Improve Spatial Awareness
Andrew Ng argues that the biggest predictor of fast progress in building AI agents is a disciplined process of evals and error analysis, and he focuses here on building evals first. He teaches that because generative AI outputs are much richer than supervised learning outputs, developers should prototype quickly, manually inspect outputs, and then iteratively build datasets and metrics around the failure modes they care about. The newsletter's 'We're thinking' notes also observe that AI demand is shifting toward inference and that architecture tweaks and shared fine-tuning infrastructure can lower costs.
Agentic AI (Full Course Recording)
Andrew Ng teaches how to build agentic AI workflows, where an LLM-based app executes multiple steps to complete a task, and argues that the key differentiator between effective and less effective builders is a disciplined process of evals and error analysis. He covers task decomposition, four design patterns (reflection, tool use, planning, multi-agent collaboration), how to build and iterate evals, how to use traces to find which component to improve, and how to optimize cost and latency later.
We Iterate on Models. We Can Iterate on Evals, Too: Building automated evals doesn’t need to be a huge investment. Start with a few quick-and-dirty examples and iterate!
Andrew Ng argues that GenAI teams delay automated evals too long because they see them as a large up-front investment. He teaches that evals can be built iteratively, starting quick-and-dirty with a few examples and partial metrics, then improved over time to match human judgment, using an error-analysis mindset applied to the evals themselves.