Threads (@curiosity___ashes / SpaceXAi)
ai-engineeringai-tools
Original source

Lauren Tan 的 Coding Agent 規模化四層框架

Summary

A Threads post (22.7K views) breaking down how Lauren Tan (Principal Engineer, known as “poteto”) scales AI coding agents — not just using one agent, but managing 20+ specialized agents simultaneously that can reproduce bugs, write code, run verification, do code review, and auto-merge PRs.

Core Framework — Four Layers (a continuous loop)

  1. Skills — Teach agents HOW to do things

    • Encode team best practices, business context, codebase knowledge as agent-followable SOPs
  2. Architecture — Make it HARD to do wrong

    • Don’t rely on prompts saying “don’t do X” — use lint, type systems, CI/CD to block wrong paths structurally
  3. Verification — PROVE it actually worked

    • Agent runs code, operates UI, checks traces, runs tests
    • Not “I think I’m done” but “I can prove I’m done”
  4. Evals — Continuously improve the system

    • Analyze where agents fail at scale, then fix the right layer:
      • Doesn’t know how → fix Skills
      • Keeps going wrong → fix Architecture
      • Thinks it’s done but isn’t → fix Verification

Key Principle: “Shortest Path = Best Path”

Don’t expect agents to be smart enough every time. Design the environment so the easiest path for the agent IS the correct path.

Notable Replies

  • Source video linked: YouTube talk by Lauren Tan
  • Discussion about context distribution across 20+ agents
  • Comparison to Orca founder who manages 400+ agents for long tasks
  • Community notes: “The real bottleneck isn’t AI coding ability — it’s humans learning to define problems properly”
  • Related threads discuss pstack Pt.1 (Verification) and Pt.2 (Context + Evidence), and AGENTS.md as project rules for coding agents