More Beyond Coding episodes

How Amazon Turns Real Failures Into Better AI Models thumbnail

How Amazon Turns Real Failures Into Better AI Models

Published 19 Aug 2026

Duration: 00:41:53

AI's evolution and challenges are explored through agentic systems like Amazon's Nova, model routing inefficiencies, simulated learning, enterprise tool integration, dynamic benchmarks, and the balance between specialized and generalized models.

Episode Description

How does Amazon build its agentic AI? Michael Giannangeli, Head of Product for Amazon Nova and Agentic AI, breaks down evals, RL gyms, and model routi...

Overview

The podcast discusses key developments and challenges in AI, particularly focusing on agentic systems and enterprise applications. Amazon's Nova and other AI models are explored in terms of their cost, latency, and performance trade-offs, with an emphasis on using lower-cost models for efficiency while still aiming to reach frontier-level capabilities. A major theme is model selection and routing - determining the right model for a given task based on performance, speed, and cost - though this remains an unsolved challenge due to rapidly evolving model capabilities. Simulated environments using reinforcement learning help models improve through trial and error, while internal tools at companies like Amazon provide valuable real-world feedback loops for training and evaluation.

Evaluation frameworks are critical for measuring model performance across dimensions like accuracy, reasoning, tool use, and cost, but these evals face the problem of "saturation" as models improve and achieve perfect scores, making differentiation difficult. As a result, evals must be continuously updated to reflect new failure modes and maintain meaningful benchmarks. The discussion also covers AI adoption in both personal and professional contexts, such as using agents for coding, migrations, budgeting, and meal planning. While general-purpose models currently offer broad benefits, there is ongoing debate about whether future models will specialize in areas like code modernization or remain generalized. Trust in AI agents is expected to grow over time, enabling more autonomous operation, though reliability over long, multi-step tasks remains a hurdle.

What If

  • What if you built a dynamic model router for your AI-powered SaaS that automatically selects the cheapest effective model per task?

    • Move: Implement a lightweight routing layer in your application that tests 2 - 3 candidate models (e.g., Nova, smaller open-source LLMs) on real user inputs, logs cost, latency, and output quality, then routes future similar tasks to the best-performing model. Start with one high-volume use case like auto-replies or data extraction.
    • Why Now?: Model performance is saturating on common evals, and enterprises are shifting from "best model" to "best value per token" - you can differentiate by optimizing cost without sacrificing UX.
    • Expected Upside: Reduce inference costs by 30 - 60% while maintaining or improving response quality, increasing margin and enabling lower pricing or higher scalability.
  • What if you created your own evolving evaluation suite to stress-test AI outputs in your niche before competitors do?

    • Move: Identify 3 recurring failure modes in your product (e.g., incorrect API calls, bad migration logic, off-brand tone), turn them into automated evals, and run them weekly against new model versions or prompts. Automate retraining triggers when failure rates exceed thresholds.
    • Why Now?: Public benchmarks are becoming saturated - models score 80 - 100% on Sweebench-style tests - so proprietary, real-world evals give you an edge in reliability and differentiation.
    • Expected Upside: Catch regressions early, improve customer trust, and build a defensible feedback loop that turns operational errors into training signals, accelerating product iteration.
  • What if you automated legacy code migration for a forgotten but widespread tech stack (e.g., ColdFusion, VB6) using AI agents trained on real refactoring traces?

    • Move: Scrape public repos, forums, and documentation for legacy-to-modern migration examples (e.g., VB6 C#), fine-tune a small model on these patterns, then offer a self-serve tool that ingests old code and generates modern equivalents with audit logs and test coverage.
    • Why Now?: Migrations are underserved, engineers dislike them, and internal tools at Amazon/Google show agent-driven refactoring works - now with accessible models, solo devs can target neglected enterprise pain points.
    • Expected Upside: Capture early-mover advantage in a high-friction, low-competition niche; monetize via per-project pricing or API access, with potential to expand into compliance or audit reporting.

Takeaway

  • Implement a model routing strategy that starts with larger models for feasibility testing, then iteratively tests smaller, cost-efficient models to optimize performance per dollar.
  • Build and maintain custom evaluation frameworks focused on real-world failure modes from user feedback, updating them regularly to avoid saturation and ensure meaningful model comparisons.
  • Allocate 10 - 20% of development time to experimenting with new AI tools and models to stay current and identify practical improvements for personal or product workflows.
  • Use internal tooling traces and error logs (even in solo projects) to identify recurring issues and create targeted evals that drive measurable model or workflow improvements.
  • Focus AI adoption on high-friction, repetitive tasks like code migration or DevOps automation, where agents can deliver immediate productivity gains and reduce manual effort.

Recent Episodes of Beyond Coding

29 Jul 2026 The AI Spend Question Nobody Can Answer

Software engineering faces scaling challenges, AI integration, and cultural shifts, balancing productivity, verification, observability, and autonomy while measuring outcomes and adapting to AI's broader impact.

22 Jul 2026 AWS Veteran: The Agent Blueprint Behind 1,400 Engineers

"Explores software engineering challenges like cost management, refactoring, and AWS expertise, emphasizing team collaboration, agile cultures, and AI-assisted workflows while advocating for balanced skills and human-driven problem-solving."

15 Jul 2026 What Senior Engineers do Differently (Vercel VP)

"Career growth, overcoming imposter syndrome, and adapting to AI-driven trends in software engineering are explored, emphasizing problem-solving, meritocracy, collaboration, and lifelong learning."

More Beyond Coding episodes