Software factory: wait, so there's a name for what I've been doing all along?
From Claude Routines, GitHub ai-handle, and cloud development to Software Factory: analyzing StrongDM, Warp, Uber, validating AI-generated code, queues, costs, and how to build a software factory without losing control.
Also in: Tiếng Việt · 中文 · 한국어 · 日本語

Don't just build software anymore. Build a system capable of producing software itself.
Every time I hear a new buzzword on my timeline and, out of curiosity, click to read it, I always feel like: "Oh, so that's what I've been doing all this time, really?" :))))
In the past, it was Prompt Engineering, then Context Engineering, Harness Engineering, Loop Engineering, Graph Engineering...
And this week, let me introduce you to another buzzword: SOFTWARE FACTORY.
The name itself sounds impressive, right? A software factory, where a bunch of AI agents work day and night writing code, testing, debugging, and deploying, while the boss relaxes in a hammock drinking coffee.
Doesn't that sound a bit like those self-help/get-rich-quick ads? =))))
But this time there's something really worth investigating.
If you've ever read my articles about Claude Routines, moving development environments to the cloud, or most recently turning cloud environments into workplaces, then you'll probably notice one thing:
The things I'm tinkering with are essentially the first pieces of a software factory.
But there's a crucial difference between a few runnable automations and a reliably functioning software factory.
And that's what I want to delve into in this article.
1. What exactly is a software factory?
First, let's forget about AI for now.
In industrial production, a factory is not simply a place where many workers or machines gather.
A real factory must have:
- Input: Raw materials and production requirements.
- Process: A production line with clearly defined stages.
- Quality Control: controlling product quality.
- Output: The product meets the standards.
- Feedback Loop: A mechanism for detecting errors and improving processes.
The most important point is that the factory can repeat the production process relatively consistently, not relying entirely on the excellence of a single individual.
Now try replacing raw materials with requirements, workers with AI coding agents, quality control with tests and evaluation, and finished products with software.
That's how we can visualize a Software Factory.
The concept of a software factory isn't actually new. People have been talking about the industrialization of software production, process standardization, and automation of build/test/deployment for decades.
CI/CD, DevOps, Infrastructure as Code, automated testing... all are advancements in that direction.
The novelty isn't about factory thinking. The novelty is that AI is beginning to take over many tasks that previously required human thought and execution.
Previously, we automated tasks where we already knew exactly what each step needed to be done.
For example, after a programmer pushes the code, CI automatically runs the tests.
Now, an agent can receive an issue, read the codebase itself, investigate the cause, propose a solution, write code, test it, and then open a Pull Request.
In other words, the scope of automation has shifted from executing pre-programmed steps to performing parts of the work that require reasoning.
That's a significant step forward.
But remember to distinguish them:
A coding agent who knows how to write code is not a Software Factory.
Similarly, a highly skilled carpenter wouldn't naturally transform his workshop into a furniture factory.
A factory needs an entire operating system centered around that worker.
2/ From Claude Routines to Software Factory: My Journey
To help you visualize it, I'll recount the process I went through.
Phase 1: Turn GitHub into a control center
In my August post Claude Routines, I shared how to automate part of the development work using GitHub Issues and Claude.
The idea is extremely simple:
Instead of opening Claude Code and typing the prompt every time a task comes up, why not let the agent automatically accept tasks from GitHub?
I use the ai-handle tag as a signal to assign tasks.
An issue is written clearly enough, including context, requirements, completion criteria, and evidence, and then labeled so that the agent can receive it.
The agent will deploy according to the AgentKit workflow, opening a PR on the dev or beta branch.
Next, another routine performs the review, handles CI, and merges the approved PRs.
Finally, the morning routine summarizes everything that has been completed for me to check.
I divided it into three routines:
- Implementation: Receive the issue and create a PR.
- Review & Merge: Check PR, fix CI errors, and merge based on conditions.
- Human Verification: Reporting results, risks, and evidence for human verification.
And from that moment on, I deliberately emphasized the words "partially" in the context of automation.
Why?
Because when you let a coding agent run on its own without supervision, the issue isn't whether it can write code or not.
The problem lies in the decisions it makes on its own during the course of its work.
A very large issue could involve dozens of architectural, design, security, and data decisions that you might not want your agent to make independently.
So I usually break down tasks into very small parts, require evidence, maintain necessary control points, and only automate on the development branch.
Phase 2: Migrating the development environment to the cloud
Then I started experimenting with Claude Cloud Environment.
The idea is quite logical: instead of having the agent run on the laptop, we move the execution to a cloud environment, allowing tasks to continue running without keeping the personal computer constantly on.
However, in my experience at the time, the environment provided by Anthropic still had limitations in terms of model selection, task execution time, and customization capabilities.
So I thought:
Why not create a similar environment on your own VPS?
Then I actually did it.
A Linux VPS cost around $40/month at that time, with a configuration of 12 vCPUs, 48 GB RAM, and 400 GB SSD.
I installed the following on it:
- Orca: Connect to and control your workspace from your Mac or iPhone.
- Oh My Pi (OMP): AI coding agent runtime.
- AgentKit: A set of skills and engineering workflows.
- GitHub Webhooks: automatically trigger tasks when an event occurs.
- Discord/Dewee: Receives requests and reports results.
At this point, what I have is no longer a coding agent sitting in the terminal window.
It became a system that could function even when I wasn't sitting in front of the computer.
For example:
Customers are reporting bugs on Discord.
The Dewee agent receives the issue, performs a preliminary check, and creates a GitHub issue with the label ai-handle.
GitHub sends webhooks to the VPS.
OMP integrates with AgentKit to receive tasks, inspect source code, fix bugs, run tests, and generate PRs.
The results were then reported back to Discord.
I just need to review the output and decide on the next step.
The most interesting thing isn't that I can use my phone to code.
In fact, software development work no longer necessarily has to start with me opening the terminal and typing 'prompt'.
It's a change in how work is organized.
Phase 3: Realizing you need to build an entire system.
But after the initial automations started working, other problems began to emerge.
What if two agents receive the same issue?
What if a task is interrupted and the server restarts?
What if the agent modifies the tests so that its code gets approved?
What if the review agent agrees with the implementation agent simply because they both misunderstood the requirements?
What if a customer issue contains a prompt injection that causes the agent to execute a command outside the permitted scope?
And most importantly:
How do I know if the system is becoming more efficient, or just burning more tokens?
At that point, simply adding a few more webhooks or scripts was no longer enough.
I need queuing, state management, isolated runtimes, policy, verification, observability, and a mechanism for continuous improvement.
From this point on, if we look at it in new terms, the work has begun to shift from Agentic Workflow Automation to Software Factory Engineering.
Of course, my system isn't a complete software factory yet. But the problems that arose during operation helped me understand why people started using that concept.
mermaidflowchart TD
A["Customer / GitHub Issue"] --> B["Task / Triage"]
B --> C["Context & Spec"]
C --> D["OMP + AgentKit in the Cloud"]
D --> E["Code, Tests, Evidence"]
E --> F{"Verification"}
F -->|"Failed"| D
F -->|"Passed"| G{"Risk Gate"}
G -->|"High"| H["Human Review"]
G -->|"Low"| I["Merge / Ship"]
H --> I
I --> J["Monitor + Feedback"]
J --> CThis diagram is a generalization of the existing process and proposed components, not a confirmation that the entire system has been implemented.
3/ From code writer to code factory builder
On June 18, 2026, Zach Lloyd, the founder of Warp, wrote an article with a rather controversial title:
We are now factory engineers, not product engineers.
The main points are as follows:
Previously, engineers directly built the product.
As AI coding becomes powerful enough, the role of engineers begins to shift to building and optimizing the systems that agents use to create products.
He called it Factory Engineering.
The measure of success is no longer simply how much code each engineer writes or how many features they complete.
Instead, it is:
What percentage of the work can be automated, at what quality level, and at what cost?
Warp proposes a typical process:
Triage → Spec → Implement → Review → Verify → CI/CD → Ship → Monitor
If a problem occurs at any step, a human intervenes and the system records the cause.
Then, another agent can analyze the cause of that intervention to improve the process.
Does that sound familiar?
It's quite similar to Claude Routines, which I shared, but more complete in terms of management and learning from feedback.
What I appreciate about Warp isn't how many agents they have.
Rather, it's about how they shift the focus from the capabilities of an agent to the efficiency of the entire chain.
However, it's also important to remember that Warp is selling the Oz platform, a product that helps businesses build software factories.
Therefore, their statements about the future of software engineering are also a way for them to position themselves in the market.
That doesn't make Zach's point wrong. But we should view this as a strategic direction with accompanying commercial benefits, not as a conclusion that every company must immediately switch to this model.
4/ StrongDM and the Dark Factory ambition: the factory with the lights off.
If Warp represents a managed automation approach, then StrongDM goes much further.
Justin McCarthy, co-founder and CTO of StrongDM, announced their Software Factory trial in February 2026.
He put forward two rather shocking principles:
Humans don't write code.
Humans don't review code.
So who is responsible?
StrongDM's answer is a verification system.
Instead of people directly reading every line of source code, they define the requirements, expected behavior, constraints to be followed, and a set of scenarios for evaluating the product.
Agents write and modify code themselves until they pass those scenarios.
This is a very worthwhile idea to explore, especially in the verification aspect.
The problem with traditional unit tests
Imagine you give an agent a task:
"Write a function to check if a user has permission to access a resource."
You asked it to create unit tests automatically, and then write the code itself.
But the agent could easily make the mistake of writing a function that always returns true, and then create some tests that are appropriate for that incorrect implementation.
The test is completely green.
But the security system is broken.
This case involves reward hacking: the system optimizes to pass a measurement, but doesn't actually achieve the original goal.
StrongDM recognized that allowing the code-generating agent to manipulate the entire test criteria could lead to misleading results.
They switched to using Scenarios.
The scenario here is a real-world business situation, which can be saved separately from the codebase being modified by the agents.
For example:
A new employee in the Marketing department needs to be assigned an account, granted access to only certain systems, required to enable MFA, and unable to independently access Accounting department data.
To meet the requirements, the system must operate correctly throughout the entire situation.
There isn't just one function that returns the desired value.
Digital Twin Universe
StrongDM also built what they call the Digital Twin Universe.
Simply put, it involves creating simulations of the behavior of external systems like Okta, Jira, Slack, or Google Drive.
The agent can test a range of scenarios on those simulators without constantly calling the real API, without affecting production data and without being limited by the rate limits of the external service.
In principle, this approach offers three advantages:
- Test hazardous scenarios without touching the real system.
- Run the same script repeatedly in a controlled environment.
- Evaluate the output behavior instead of just checking if the code passes the tests.
But it needs a little more discussion.
A simulation is never guaranteed to be 100% identical to the production version.
If the simulation doesn't reflect a critical edge case, the agent may still pass all scenarios but fail during actual deployment.
And if we use LLM-as-judge to score behavior, we encounter another problem regarding the reliability of the evaluator themselves.
Therefore, this is a very worthwhile verification approach to learn, not a silver bullet that solves all software errors.
Oh, and StrongDM also made a rather outrageous statement about spending at least $1,000 worth of tokens per day on each engineer.
I think it should be understood as them deliberately pushing the limits of experimentation to the extreme, rather than a cost-effective formula for you to apply.
Burning more tokens doesn't automatically make the factory smarter, you know. :))))
5/ Uber: When Software Factories Truly Operate on a Large Scale
While StrongDM presented an extreme experimental model, Uber offered a remarkable perspective on enterprise-scale operations.
According to a post by Uday Kiran Medisetty, Distinguished Engineer at Uber, on August 27, 2026:
- Over 70% of pull requests are recorded as originating from local or cloud agents.
- Over 3,600 agent skills have been developed internally.
- Over 30,000 skill executions per day.
- From February to August 2026, the number of weekly active users increased approximately 7 times, while the number of agent requests increased 9.4 times.
But there's an even more interesting detail.
Uber stated that by keeping the model fixed for optimal performance analysis, the cost per 1,000 model requests decreased by nearly 34% from its peak, while the cost per session decreased by 52% from its June peak.
Why?
Because they're not simply switching to a cheaper model.
They analyzed each component that generated costs, from the number of sessions, turns, tokens, prompt caching, to context loading and selecting the appropriate model for each task.
This is where I want you guys to pay attention.
I've long held the view that the best way to save tokens isn't always to find a cheaper model, but to make the work easier to handle.
A well-organized codebase, clear documentation, stable interface, and meaningful testing will help agents reduce investigation time and the number of trial-and-error attempts.
Uber is approaching the same problem on a larger scale.
They have Context Graph, Model Gateway, MCP Gateway, and Cloud Developer Environments.
The agent is provided with the appropriate context instead of having to figure everything out from scratch.
When a simple task can be performed using a cheaper model, the system doesn't necessarily have to call the most expensive model.
When a tool is rarely used, there's no need to load the entire tool schema into the context window right from the start.
When the same type of error occurs repeatedly, it's necessary to find ways to improve the workflow instead of having the agent repeat the costly investigation process.
That means optimization at the system level, not just at the prompt level.
But we also need to be cautious about the 70% PR figure.
"PR originates from agents" doesn't mean that 70% of the changes implemented are completely unsupervised.
Uber still describes the steps for human review and escalation.
These two things are very different.
6. The real bottleneck: AI writes code faster than humans can verify it.
This is the most important part for me.
In the past, the cost of writing code was very high.
A feature might take days or weeks to develop.
Now, coding agents can generate large amounts of code in a much shorter amount of time.
But that doesn't mean the entire software development lifecycle speeds up accordingly.
A study by Fiona Chen and James Stratton at Harvard analyzed job data from 718 companies.
After businesses implemented AI coding agents, the study observed the following:
- The amount of code increased by about 30%.
- The number of commits increased by approximately 20%.
- The number of pull requests increased by approximately 23%.
- The time from opening a PR to merging increased by approximately 49%.
- The number of Jira issues and epics solved did not increase significantly.
Note that this is an observational study and has not proven that AI causes all of the aforementioned changes. And the lack of statistically significant increases does not mean that productivity is zero.
But it raises a very thought-provoking question.
If code is generated faster, but subsequent processes can't keep up, will the output of the finished software actually increase?
Does this sound familiar to you guys?
In the past, engineers would sit and write code.
Now the engineer is sitting here reading the AI code.
And as AI generates code faster than humans can review it, we've shifted the bottleneck from implementation to verification.
To solve this problem, many people have started using AI to review the very code that AI has generated.
That sounds reasonable.
But are AI reviewers good enough yet?
A very recent study from Microsoft Research.
In October 2026, researchers published CRBugBench, a benchmark suite with 1,800 review tasks, including both open-source codebases and enterprise systems.
Notable results: the best-performing review agent configuration detected 71.9% of confirmed bugs across the top five prioritized comments.
This figure shows that AI review has made significant progress.
But it also showed that nearly 28.1% of the measurement errors remained undetected.
And the ability to detect changes is further diminished in complex changes that require understanding many parts of the system or internal business context.
You can't take this 28.1% figure and conclude that for every 100 PRs, there will be 28 faulty PRs. The benchmark is measuring the ability to detect known errors, not the error rate of every PR.
However, the message is very clear:
Don't confuse AI reviews with quality guarantees.
Even if the implementation agent and the review agent agree, they can still both misunderstand the requirements.
Therefore, I think a software factory shouldn't be built on the assumption that AI is always right.
Opposite:
It must be designed based on the assumption that AI can make mistakes, and has the ability to detect those mistakes before they cause serious consequences.
7. What does a software factory actually need?
Ignoring the names of the tools, models, and frameworks, I think a sufficiently mature system needs at least six components.
First: a structured job source
It's not necessary to use GitHub.
It could be Linear, Jira, GitHub Issues, an API, or even a customer request via Discord.
But the input data must be transformed into a task with a specific scope.
At a minimum, there should be:
- The problem to be solved and the reasons.
- Current status, with evidence.
- The expected result.
- Acceptance criteria.
- The limits must not be crossed.
- Level of risk and approval authority.
I've been trying to implement this since building the skills for creating GitHub issues in AgentKit.
A low-quality issue can cause the agent to ask the same questions repeatedly or make incorrect assumptions.
Conversely, a small and clear issue makes the deployment process much easier to verify.
Second: queues and dispatch systems
I've seen quite a few people who like to build agent loops that run endlessly.
An agent wakes up, checks what needs to be done, reasons, acts, and then continues on.
That sounds fun.
But if you think of it like a factory, what's more essential at the control level is the Queue.
The job has been put on a queue.
Workers receive a task, complete it, report the results, and move on to the next task.
Each task needs clear status, the ability to retry if errors occur, time out if it runs too long, and to prevent multiple workers from handling the same task simultaneously.
Within a task, the agent can use a loop to investigate, write code, and verify.
But at the scheduling layer, I still lean towards queues with stable states rather than an infinite loop.
Specifically, simply labeling your GitHub device as in-progress is not enough to guarantee that there are no race conditions.
A serious system requires atomic job acceptance mechanisms, idempotency, concurrency control, and job state storage.
Third: independent execution environment
This is why I moved development to the cloud.
All agents should not be allowed to access the same workspace.
Each task should have its own independent execution environment, such as a separate worktree combined with a container or a sandbox with limited resources.
But there's one extremely important point:
Git worktree helps isolate source code changes, it's not a security mechanism.
If the agent still has full access to the host's filesystem, secrets, SSH keys, or network, then splitting the worktree won't solve the security problem.
I think we should approach it based on the principle of least privilege.
The agent is only granted the necessary permissions for the task, for the duration required.
It's necessary to limit package installation, network egress, repository access permissions, secrets, runtime, and costs.
An agent whose job is to update the README has no reason to possess the production database credentials.
Fourth: verification is independent of implementation.
This is the most important lesson from StrongDM.
I wouldn't put complete faith in tests created by the agent themselves.
Instead, there should be multiple layers of verification.
The first layer consists of deterministic checks: lint, typecheck, unit tests, integration tests, dependency scans, and security checks that can be automated.
Next is behavioral verification: E2E tests, browser automation, API contract tests, and scenarios representing real-world user behavior.
Finally, check for any significant invariants.
For example, in a payment system, a change should not result in customer losses, double charging, or granting access before payment has been successfully processed.
With such behavior, a "API returns HTTP 200" test is not enough.
The number of tests doesn't matter.
The real question is whether those tests are capable of detecting truly dangerous errors.
Fifth: Risk-based human approval
Not all tasks require the same level of supervision.
A simple document change can automatically pass quality gates and then merge into the testing branch.
However, changes related to authentication, billing, database migrations, or production infrastructure require stricter control mechanisms.
I like the approach that I'd call Earned Autonomy.
Initially, the agent was only asked to make a change.
After accumulating a sufficient history of successful completion on a task group, it may be possible to enable automatic merging within a narrow scope.
But that right must be revocationable in the event of a malfunction or deterioration in quality.
It shouldn't be the case that an agent who successfully completes 100 document update tasks is automatically granted permission to modify the entire payment system.
Reliability must be tied to the specific type of task and level of risk.
Friday: Feedback loops help factories improve.
This is what makes a Software Factory different from a typical automation process.
Each time the agent fails, the system needs to record:
Why did it fail?
Because the requirements were unclear?
Due to a lack of context?
Did you choose the wrong model?
Is it because the skills aren't a good match?
Is the codebase too difficult to understand?
Did the test not cover the necessary scenarios?
Or is it the infrastructure that's malfunctioning?
Then, we address the specific component causing the problem.
Skills can be updated, architectural documentation revised, tests added, routing models changed, or tools improved.
But remember that a feedback loop doesn't automatically equate to reliable self-improvement.
A skill change also needs to be versioned, evaluated using benchmarks, compared before and after, and rolled back if the quality decreases.
Otherwise, you're just building a system that's capable of making itself worse with each "improvement".
8. There's a good lesson from Swan: a good factory knows when to stop.
In September 2026, Swan's Yan Pritzker shared details of Cygnet, a Software Factory capable of automatically detecting production bugs and initiating bug fixing processes.
In a real-world incident on July 9th, a partner webhook sent too many events, causing a database job to repeatedly fail.
Cygnet independently investigated observational data from Datadog, created a ticket with evidence, and assigned three agents to analyze it.
Two agents agreed on the cause, while the third agent offered a different opinion.
The system accepts differing opinions instead of trying to force everyone into a single, unified conclusion.
Then, the agents proposed a solution to fix the error and open the PR.
What's the most interesting part?
Automated proof-of-test generation step fails.
So the system passes the task back to the engineer to complete the missing part, verify, and merge.
I much prefer this example to those demonstrations of "AI does everything automatically, humans don't need to lift a finger."
Because this is what we really need when operating.
A system that can accomplish 80% of the task and then realizes it's incapable of completing the remaining 20% is still very valuable.
As long as it knows when to stop, when to report, when to clearly indicate what it has tried, and when to delegate tasks to humans.
Conversely, it's the agent who keeps insisting "task completed successfully" despite insufficient evidence that's the real problem.
Autonomy doesn't mean never needing humans. Autonomy means the system knows how to do what it can do itself, and knows when to delegate responsibility.
9. Software factories also change the economic equation.
One less-discussed aspect is the economics of software production.
Previously, when calculating the cost of developing a feature, we typically calculated it based on the engineer's time.
For example, an engineer might take three days to complete a feature.
With AI coding agents, costs are gradually incorporating more variable components:
- Inference cost.
- Compute and runtime costs.
- Testing costs.
- It takes time for humans to review and intervene.
- The cost of correcting mistakes made by the agent.
- Costs incurred after deployment.
Therefore, I think it should be measured using a more practical indicator:
Cost per Accepted Task.
The total actual cost to complete a job has been verified and accepted.
No cost for a single agent call.
Not the number of tokens that have been consumed.
It's not about the number of lines of code generated either.
Hypothetical example:
Factory A costs $2 per run, but only completes 50% of the job.
Factory B costs $3 each time, but completes 90% of the tasks correctly.
If we temporarily ignore other costs and assume each run is independent, the average cost to achieve a successful result is as follows:
- Factory A: 4 USD.
- Factory B: approximately $3.33.
That's why optimizing for the cheapest model doesn't necessarily create the cheapest system.
And that's also why a powerful model can be more cost-effective if it helps reduce the number of retries, lessen the effort required for reviews, or avoid a serious problem.
Conversely, there's no reason to call the most expensive model for a Markdown formatting task.
A good factory must know how to allocate resources and budget according to actual needs.
Another metric I want to track is the Human Intervention Rate: how many times a human intervention is required to complete a task.
But don't optimize this metric blindly.
The absence of human intervention does not mean everything is safe.
Reducing intervention by skipping validation reduces quality, not increases effectiveness.
Ultimately, KPIs must be linked to a product that is accepted, operates stably, and creates real value.
10/ [Discussion Corner] Will Software Factories Cause Engineers to Lose Their Jobs?
I think this question is being asked rather incorrectly.
If we consider software engineering simply as translating requirements into code, then AI is indeed doing a significant portion of that work very well.
But a software production system needs more than just people who know how to write code.
It requires someone who understands why the product must exist, which business constraints must not be violated, which data needs to be protected, which architecture is suitable, and the consequences of technical decisions.
These things require engineering judgment.
Don't misunderstand; AI can't assist in those decisions. It absolutely can, and its capabilities are improving very rapidly.
But the decision-making power and ultimate responsibility still need to be clearly defined.
I remember writing once:
"Where you are, the AI is there too."
I don't mean that AI only knows what you know.
The model's capabilities can far exceed the user's knowledge in many tasks.
But if you don't know how to set requirements, how to distinguish a reasonable design from a risky one, and what constitutes the right outcome, then it will be very difficult to harness and control that capability.
This becomes even more apparent when transitioning from a coding vibe to a software factory vibe.
At the coding vibe level, users can continuously observe and correct errors.
At the factory level, a single wrong decision can be automatically applied to dozens of tasks before anyone realizes it.
Therefore, foundational knowledge does not lose its value.
It shifts from skills directly involved in creating products to skills in designing, monitoring, and improving the systems that create those products.
Similarly, a manufacturing engineer doesn't need to directly assemble every single screw, but still needs to understand the product's structure, the limitations of the production line, and the inspection standards.
As for whether software factories will completely replace software engineers in the future, I can't say for sure yet.
Currently, evidence suggests that AI has significantly increased coding capabilities, but it has not yet been proven that every remaining step can be reliably automated in all types of projects.
Another paradox: the easier it is to create software, the less valuable good software becomes?
I think the opposite.
As the cost of creating code decreases, the market will have more software available.
But that doesn't mean all of them turn out to be good products.
For software to be sustainable in the long term, it needs to solve the right problem, have reliable data, be secure, maintainable, integrable, and delivered to the right customers.
These advantages don't just appear out of nowhere because you can create an application in a few minutes.
AI reduces the cost of some production processes, but it can shift value to others.
This is an opportunity for those who understand Software Engineering and know how to build systems to help others get software up and running.
Don't just build products for them. Build something that helps them build, test, and operate products better.
11. So how will I build my Software Factory?
Looking back at what has been built and is being built within the AgentKit, Dewee, and Cloud Harness MCP ecosystems, I see quite a few reusable components.
But I don't want to build another cumbersome product just because I've discovered a new buzzword.
Instead, I think it's possible to develop it in layers.
The first layer is work.
GitHub issues, customer requests, or system events become the source of task creation.
Dewee can play a role in receiving and coordinating work, translating sufficiently clear requirements into structured tasks.
The second layer is knowledge and procedures.
AgentKit provides engineering workflows, coding standards, verification steps, and specialized skills.
SkillX can become a place for version control and accumulating evaluated improvements.
AgentBrain can play a role in providing the necessary knowledge and context for each task.
The third layer is execution.
Cloud Harness MCP can provide an environment for coding agents to work in the cloud, instead of relying on an open terminal session on a personal computer.
This is where particular attention needs to be paid to sandboxes, isolation, credentials, runtime packages, and resource budgets.
The fourth layer is verification and governance.
Each change must be supported by evidence, test results, risk assessments, and appropriate approval policies.
Sensitive actions must be blocked using actual infrastructure privileges, not just through warnings in a system prompt.
The final class is learning operational skills.
Record which tasks succeeded, where they failed, which models/skills were used, how much it cost, how long it took, and how many times a human intervened.
Then, use that data to suggest improvements to the factory's components.
This is the architecture I'm aiming for, not a claim that all the upper layers are now complete.
And I don't think all of these components are necessary to begin.
If you're a solo developer, you can definitely try this:
A GitHub repository + a cloud-based coding agent + a queue + a reliable test suite + a reviewer.
Let's run one lap first.
Only then can we identify bottlenecks to improve.
Don't build an orchestration system with 15 microservices just to automatically correct typos in the README. That sounds... a bit of an insult to computing resources. :))))
12/ There's an even bigger problem: code output has started to exceed infrastructure limits.
| Label | Merge/day |
|---|---|
| 05/2026 | 2500 |
| September 2026 | 30000 |
The September benchmark was over 30,000 views/day; the chart uses a minimum of 30,000 for comparison (as shared by Anthropic).
On October 13, 2026, Anthropic shared a very interesting story.
The number of changes merged into their monorepo increased from around 2,500 per day in May to over 30,000 per day in September.
More than 12 times in just a few months.
And that source control becomes the bottleneck.
Anthropic had to build its own version control system called Scion, and then migrate the monorepo from Git to this system over a period of about five months.
It's not that Git suddenly became a bad tool.
This is because many of Git's design assumptions are geared towards how humans develop software, while AI agent systems have different operating characteristics.
This is a rather interesting rule:
When we solve one bottleneck, we often discover the next.
In the past, it was about coding speed.
Next comes the code review.
Next are CI, source control, context retrieval, and the ability to coordinate multiple tasks concurrently.
Of course, most businesses don't yet need a system like Scion. Anthropic's case is a very special workload, not proof that everyone should abandon Git.
But it gives us a glimpse into a possible direction of evolution.
As AI agents become the primary force in creating and modifying code, development infrastructure will have to adapt to them.
That's when Factory Engineering really became an interesting field.
In conclusion: Don't chase the name, understand the principle.
After reading all sorts of things about Software Factory, I realized I was quite lucky to have started experimenting with these ideas before I even knew what it was called.
From using Claude Routines to automate GitHub Issues, to migrating development to the cloud and building automated workflows between Discord, Dewee, AgentKit, and coding agents.
It all started with a very simple question:
"Does this really have to be something I do directly?"
Otherwise, how can we turn it into a process that can be outsourced to a machine?
But after automating things for a while, I had another question:
"How can we know if the machine is actually doing things correctly and becoming more efficient?"
In my opinion, the second question is what distinguishes an automation chain from a long-term, operational software factory.
So if you're using Claude Code, Codex, or any other AI coding agent, there's no need to rush into building a Dark Factory.
Let's start with something really boring:
Clear tasks, easily modifiable codebase, meaningful tests, independent execution environment, minimal privileges, quality gates, logging, and rollback mechanisms.
These things don't sound as sexy as showing off 20 agents running in parallel.
But they solve real problems.
And most importantly, remember:
Writing code faster doesn't necessarily mean producing more efficient software.
Software Factory isn't a competition to see who runs the most agents, burns the most tokens, or can sit idle the longest while the AI writes code.
As I understand it, it's the process of integrating the principles of software engineering, manufacturing management, and automation into a system capable of producing software with measurable quality, cost, and control.
Code may become increasingly cheaper.
But understanding the problem correctly, designing a good system, and taking responsibility for the results are still valuable things.
Anyway, whatever the name is will do.
Today we call it Software Factory, but next week who knows, we might have another term that sounds even cooler.
Just make sure you don't get so caught up in researching how to build the factory that you forget what you intend to produce.
Okay then! Now let's build.
References
Previous articles I've written:
- Claude Routines: Partially Automating the Development Process via GitHub, August 11, 2026.
- I have migrated my entire development environment to the cloud, August 28, 2026.
- Transform the cloud environment into a workplace, 10/10/2026.
- Models, loops, harness: coding vibe is an opportunity, 10/10/2026.
Research sources and case studies:
- Dan Shapiro: The Five Levels, from Spicy Autocomplete to the Dark Factory, January 23, 2026.
- Justin McCarthy: StrongDM Software Factory, February 6, 2026.
- Zach Lloyd: We are now factory engineers, not product engineers, June 18, 2026.
- Uday Kiran Medisetty: Running a Software Factory Efficiently at Uber Scale, August 27, 2026.
- Yan Pritzker: Swan’s Agentic Software Factory, Cygnet Evolved, September 16, 2026.
- Anthropic: Redesigning source control, October 13, 2026.
- Microsoft Research: (When) Should a Software Factory be Lights-off?, October 9, 2026.
- Fiona Chen and James Stratton: Artificial Intelligence in the Firm, research 2026.
- Google DORA: State of AI-assisted Software Development, 2025.
(*) Disclaimer: This is my practical perspective, combined with research from teams building Software Factories. The data published by businesses are self-reported; observational research does not automatically prove causality. The proposed architectural models are implementation guidelines, not a confirmation that all components are fully operational. And I have a product interest in this topic through the tools I'm building, so feel free to offer your feedback.