Lauren Tan 的 Coding Agent 規模化四層框架
- URL: https://www.threads.com/share/_swYB3E-0/
- Canonical: https://www.threads.com/@curiosity___ashes/post/Dd1ltS9mZdg
- Date Saved: 2026-09-29
- Source: Threads (@curiosity___ashes / SpaceXAi)
- Tags: ai-engineering, ai-tools
- Repo: https://github.com/michael-denyer/pstack-claude (667★ — pstack for Claude Code/Codex/etc, adapted from Lauren Tan’s original Cursor pstack)
- Video: https://youtu.be/EWSUv… (Lauren Tan - SpaceXAI engineer talk)
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)
-
Skills — Teach agents HOW to do things
- Encode team best practices, business context, codebase knowledge as agent-followable SOPs
-
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
-
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”
-
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
- Analyze where agents fail at scale, then fix the right layer:
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