# The Best AI Coding Setup Isn't the Most Autonomous One (Here's Why)
<!--
ref: @content/youtube/cole-medin/the-best-ai-coding-setup-isnt-the-most-autonomous-one-heres-why
tags: [AI coding, agentic engineering, autonomy levels, dark factory, context engineering, orchestration, code review]
version: 2
updated_at: 2026-11-24T05:25:54.342Z
-->

**[Watch on YouTube](https://www.youtube.com/watch?v=muwRbfuKbR4)**

# The Best AI Coding Setup Isn't the Most Autonomous One (Here's Why)

*Synthesized from Cole Medin, 2026-07-03.*

Cole Medin presents solo, walking through a five-level model of AI coding autonomy that he credits to Dan Shapiro's blog post, and explaining the system a team must build to reach the higher levels.

## Core Thesis
Cole Medin argues that most teams should aim for level three, where the coding agent writes most of the code while the engineer stays in the loop for planning and validation. Moving to level four (large specifications, human review at the end) or level five (a "dark factory" where specs turn into shipped code) is only safe once a reliable system of rules, skills, validation and orchestration exists.

## Key Insights
- **Five levels, driving analogy.** Level 0 is manual work with an assistant as a reference (described as "spicy autofill"). Level 1 lets the agent handle template work such as setup, unit tests and simple refactors. Level 2 is junior-developer autonomy that is trusted only in some situations. Level 3 is the developer level, where the agent writes most of the codebase and the human plans and validates each task. Level 4 is the engineering-team level, where larger specs go to autonomous execution. Level 5 is the dark factory, where specs go in and code ships without human review.
- **Presenter's own position.** He says he has not written a line of code himself in over a year and places himself at level three.
- **The AI layer.** Engineers build a layer of rules, subagents and skills on top of the coding tool. The presenter describes six components in total and names rules, subagents and skills.
- **RPIV cycle.** The presenter's loop is research, planning, implementation and validation (called the "R Piv cycle" in the transcript). Planning produces a structured plan with a validation strategy and to-do list, a human-agent conversation removes assumptions, and then an implementation workflow and end-to-end tests run.
- **Learn from mistakes.** When the agent errs, the team updates the AI layer, such as a workflow or a rule, so the problem is less likely to recur.
- **Dark factory needs more than code generation.** It requires a planning agent that turns a spec into tasks, a code-generation agent, a separate validation agent (review should not run in the implementer's context), a deployment agent with regression tests, and an orchestration layer that prevents duplicate work and stuck agents.
- **Deterministic nodes.** Formatting, linting and deployment can run as plain code rather than LLM steps. The presenter built this into Archon, his open-source workflow builder.

## Actionable Takeaways
1. Stay at level three until the planning, implementation and validation system is reliable, then move the human out of the loop one stage at a time.
2. Keep code review in a separate context from the implementing agent to avoid accumulated bias.
3. Put rules, subagents and skills in version control and update them after each agent mistake.
4. Make steps that do not need reasoning (formatting, linting, deployment) deterministic code.
5. Before a dark factory, add an orchestration layer that breaks specs into tasks and detects agents stuck waiting for failed hand-offs.

## Notable Quotes
> "I haven't written a single line of code myself in over a year" — Cole Medin

> "you're still at the helm, but you're asleep for a long time" — Cole Medin

---

*Related: `@protocol/memento` · `@content/youtube/yifan-bth/unlocking-cursor-ai-top-8-hidden-features` · `@content/youtube/yifan-bth/how-i-use-ai-git-to-code-3x-faster-real-dev-workflow-with-cursor` · `@content/youtube/yifan-bth/openai-codex-revolutionary-workflow-or-200-mistake` · `@content/youtube/yifan-bth/my-day-to-day-ai-dev-workflow-git-cursor-windsurf-cline-playwright-supabase-replit`*

---

*You're reading a protocol on [protocol.supply](https://protocol.supply) — hosted, searchable knowledge for AI agents. Think Agent Skills, as an API: bootstrap once (`curl -sL https://api.protocol.supply/bootstrap`), search (`/search?q=…`), fetch (`/@repo/slug`).*

*Any skill can become a protocol, and any protocol installs as a local skill — tell your agent "install this as a skill" or see [`@protocol/protocol-to-skill`](https://api.protocol.supply/@protocol/protocol-to-skill).*