Dan Shapiro compares AI-assisted software development with the five levels of driving automation. His argument is that coding teams move through increasing levels of delegation:
- Level 0: Manual coding
The developer writes and approves every line. - Level 1: Task assistance
AI handles small jobs such as tests, documentation, or simple code changes. - Level 2: AI pair programming
The developer works alongside an AI coding tool and becomes much faster. Shapiro says many “AI-native” developers are here today. - Level 3: Agent supervision
AI writes much of the code while the developer reviews diffs, manages multiple tasks, and acts more like a technical manager. - Level 4: Specification-driven development
The human writes requirements, designs workflows, creates reusable skills, and checks results after agents work for hours. - Level 5: The software factory
Specifications flow into an automated system that plans, builds, tests, and validates software with very little human intervention.
The main point is that AI does not simply make developers type faster. At higher levels, it changes what developers do. Their work moves from writing code to defining intent, designing systems, setting controls, and judging quality. The “dark factory” is Shapiro’s metaphor for a software process that can operate with very few people directly involved.
Many companies are aiming for Level 5 software factories, but success depends on first maturing the practices and tools behind Levels 2 through 4. Teams need reliable AI collaboration, agent orchestration, secure sandboxes, automated testing, code review, and delivery controls before they can safely operate at Level 5
Internal coding-agent platform
Internal coding-agent platforms are evolving from simple assistants into controlled software factories, combining orchestration, isolated execution, automated validation, and delivery workflows.

A composable approach is the most practical path toward a Level 5 software factory. The agentic coding ecosystem is changing too quickly to justify a fully custom platform upfront. Companies should build around replaceable components and mature the capabilities required at Levels 2 through 4 before connecting them into a highly autonomous workflow. This provides room to experiment while keeping security, testing, governance, and delivery under control.