Beyond Coding Agents: Building a Continuously Operating AI Software Factory
The article argues that AI coding agents are becoming commoditized infrastructure, and the next challenge is organizing them into a continuously operating software factory with managed agents, role-based digital employees, spec-driven production orders, and verification-driven feedback loops for trusted autonomous delivery.
Reading font

The author reflects on the rapid evolution of AI in software engineering, noting that coding agents such as Claude Code, Codex, and Qoder are lowering the cost of code generation and becoming interchangeable, pluggable capabilities. The central question shifts from building a better agent to organizing near on-demand code production capacity into a coherent production system.
From Point Tool to Generalized Production Capability
Early AI coding assistants (Copilot) focused on context-aware suggestions within the IDE. The focus then moved to autonomous coding agents that execute tasks and collaborate. However, when agents handle complex tasks, model capability is not the only bottleneck; runtime environments, tool permissions, state management, context isolation, and execution verification become critical. This shifts attention to harness engineering — automated execution, verification, and feedback loops that form a continuous engineering loop.
For enterprises, coding agents are evolving into a general production capability that can be integrated, replaced, and composed, rather than a core asset tied to a specific product. The competition for the next generation of AI coding platforms will center on how these generalized capabilities are organized into an AI-native software R&D organization where humans and agents collaborate.
Bottleneck Migration: From Code Production to Trusted Delivery
Drawing an analogy to early 20th-century factory electrification (referencing Addy Osmani's "Your Ambition is your Agent's Bottleneck"), the author notes that simply replacing steam engines with electric motors while keeping the same shaft-and-belt layout yielded no productivity gains. Real gains came when factories were redesigned around independent electric motors per machine, enabling workflow-driven layouts.
Today, AI coding agents are embedded in IDEs, PR reviews, and CI/CD pipelines, but the surrounding process — task assignment, human review queues — remains unchanged. Faster code generation only lengthens review queues. The bottleneck migrates to:
Quickly judging which results are production-ready
Stopping valueless work in time
Providing agents with clear goals and context
Verifying large volumes of parallel changes
Coordinating dependencies and conflicts between agents
The optimization target must shift from faster code generation to faster verification and continuous delivery of trusted software value.
A software factory is a software production system aimed at software delivery, with Agent as production unit, project and team context as organizational basis, automated verification ensuring quality, and continuous feedback forming a closed loop.
It organizes requirement discovery, product design, software construction, quality verification, delivery deployment, and continuous improvement into a continuously running, measurable, and evolvable production process.
Persistent Operation: From Local Coding Agent to Managed Agent
In AutoDev and Qoder, the focus was on making agents smarter — understanding codebases, organizing tools and context, dividing tasks among agents. At Routa, the approach changed: instead of implementing all agents, the platform integrates diverse agents via protocols like ACP, handling task management, role division, collaboration, and harness. The coding agent becomes a schedulable execution capability — an architectural decoupling that also shifts the product center.
Traditional AI coding tools revolve around agents and conversations; a delivery-oriented platform must shift from conversation to task. A task defines the goal; the agent is a schedulable execution unit. When coding agents are pluggable and replaceable, the platform must manage them — this is the Managed Agent.
Managed Agent is not merely hosting an agent in the cloud or wrapping an API. The platform manages the full execution lifecycle: preparing environment and context, controlling permissions, tracking state, handling exceptions and interruptions, and verifying final results. Agents can run locally or in the cloud, use Claude Code or Codex. The platform cares not whether a process stays alive, but whether a task can be reliably started, advanced, recovered, and produce verifiable results.
The software factory must decouple harness, runtime, worker, and task lifecycle. The agent solves the problem; the Managed Agent platform turns it into a schedulable, manageable, governable production unit — analogous to Kubernetes managing containerized workloads while containers provide the application runtime.
Responsibility-Bounded Context: From Task-Based Agent to Role-Based Digital Employee
When managing multiple agents, a key question arises: after an agent completes a task, how should it continue next time? An architecture review ends at PR merge, but the architect's responsibility persists. For example, a previous review allowed two modules to temporarily share a table to meet a data migration window. The next time someone adds a column to that table, the digital employee performing the review must know why the compromise was accepted and whether the reason still holds.
The platform manages each execution by task; the team assigns long-term concerns by responsibility. For digital employees, three distinct contexts are needed:
Task context : what is needed to complete a specific task — requirements, relevant code, acceptance criteria, execution environment.
Responsibility context : what must be accumulated to continuously fulfill a role — architectural constraints, work specifications, professional knowledge, historical decisions, proactive concerns.
Project context : what is shared for different roles to collaborate around a common goal — project goals, requirements, code, documents, decisions, delivery history.
The digital employee pulls task-relevant information from the project per its role. After the review, the decision and rationale are recorded back to the project for future reviews. Task defines one work, Responsibility defines long-term duty, Project connects different roles' work contexts. This is the key to moving from task-based agents to role-based digital employees: organizing a group of continuously collaborating digital employees around clear responsibilities, contexts, and work goals, rather than simply creating agents and assigning tasks.
Project-Driven Collaboration: From Multi-Agent to Digital Employee Collaboration
Past multi-agent collaboration experiments (e.g., in Routa) used role division, structured tasks, and event mechanisms. But task decomposition is only one collaboration mode. For long-term role coordination, collaboration cannot end with a task; it must revolve around a continuously evolving project.
The project carries shared goals and persistent state; agents of different responsibilities advance work around it. Claude Code's evolution illustrates this: its Projects feature lets multiple conversations share project instructions and persistent context; Agent Teams lets multiple independent sessions collaborate via an owner, shared task list, and messages — one organizes project context, the other organizes agent division.
Such collaboration should not be fixed into a linear agent pipeline. Workflows constrain stable processes; agents handle uncertainty in concrete work; events drive collaboration between roles; new discoveries in requirements, architecture, development, and verification feed back to the project, influencing the next work cycle.
From Requirements Document to Producible Spec: Redefining Spec
Traditionally, requirements documents are written for humans, then decomposed through repeated communication. In a software factory, requirements must become a production input that agents can directly consume. The author rejects transplanting full phased processes (e.g., Kiro, SDD, Superpowers) into the factory; the factory should not require every requirement to follow a fixed process, nor should agents spend time producing intermediate documents for human review.
Instead, Spec is understood as a Production Order . Simple requirements can start immediately; complex ones add design, prototypes, or split into tasks. Spec defines what to produce; the software factory decides how to produce. Which agent handles it, what tools, which environment — decided at execution time.
A workable order must specify three things:
Production goal : what problem to solve, expected outcome.
Production boundaries : scope, project context, business rules, technical constraints.
Delivery standards : what counts as done, what tests or real scenarios verify it.
Example: a user selects ten reports, but two lack export permission. Should the operation fail entirely, or export the eight permitted reports and notify the user about the skipped two? This decision goes into the Spec. At acceptance, the same ten reports are run to verify exported files and UI prompts.
Closed-Loop Feedback: Verification and Metrics Driving Autonomous Delivery
When agents participate in software production at scale, the challenge is not just task completion but judging delivery reliability and gradually expanding autonomy based on results. Three interlocking mechanisms are needed:
Verification builds trust. Code completion or PR approval is insufficient. The software must run in real environments, collecting logs, screenshots, and results via tests, browser, and device operations to confirm the delivery meets the Spec. Agents deliver not just code but inspectable evidence.
Metrics measure results. Tokens, lines of code, and PR counts only show volume; acceptance pass rate, change rollback rate, and human rework reflect delivery quality. The system must link agent sessions, tasks, commits, PRs, and verification records to establish traceability from execution to delivery.
Feedback adjusts autonomy. Verification and metrics feed back into the agent's context, work methods, and permissions. Stable tasks can gradually expand autonomy scope; unreliable or high-risk steps retain human checks, letting the system calibrate the next round's autonomy level each delivery cycle.
These three mechanisms form the software factory's feedback loop: verification builds trust, metrics measure performance, feedback adjusts autonomy, ultimately moving agents from task execution to trusted autonomous delivery.
Reorganizing Software Production: Building the Loop Software Factory
Returning to the opening example: if verification reveals a requirement misunderstanding, the test agent records a counterexample to the project, the implementation agent pauses related changes, the product owner revises acceptance criteria, and the next development and verification round starts from the revised Spec.
This mirrors the factory that switched to electric motors. For software teams, rearranging the factory can be a small change: previously, a failed test only turned the current PR red. Now, it can also stop another agent that is busy writing code.
About this article
For attribution, corrections or content rights, contact






