AI Software Factory: Scale Work Without Losing Control15 min read2,985 words

AI Software Factory: Scale Work Without Losing Control

See how an AI software factory turns ideas into reviewed draft merge requests—and how to add autonomy without overwhelming engineers or weakening controls.

AI software factoryAI coding agentssoftware development automationhuman-in-the-loop AIAI agent governance
AI Software Factory: Scale Work Without Losing Control

What Happens When Every Engineer Runs an AI Software Factory?

An AI coding agent can generate code. That's not the same as helping a team ship software people will actually want to use. The real work is turning scattered ideas, tickets, and design decisions into changes that are tested, reviewable, and aligned with what the team cares about - without creating yet another stream of output engineers can't keep up with.

A software factory is one way to organize that. Instead of handing an agent isolated tasks, you give it a record of the team's work, a queue of bounded jobs, shared rules, and a clear handoff point. The factory prepares draft changes; people review the parts that matter. More automation is only useful when the work is reliable, traceable, and easy to stop.

A report from Zapier's Sidekick team is a good example. A designer's prototype and handoff document turned into an "epic" of sixteen draft merge requests plus a page of open design questions. The designer answered those questions in context, and the answers fed back into the work in progress. This article breaks down how that model works, where it tends to fail, and how to add autonomy without giving an agent unchecked access to your engineering workflow.

What Is an AI Software Factory?

An AI software factory is a system that takes messy input and produces a tested, reviewable draft. Inputs might include tickets, review requests, meeting notes, Slack discussions, or half-formed product ideas. The output isn't an autonomous release. It's a prepared change - often a draft merge request - with tests, evidence, and enough context for a person to review, revise, or reject.

The core idea is simple: automate the setup and the legwork, but keep human judgment at the final step. The agent can investigate, make changes, and run checks while an engineer handles other work. The engineer still decides whether the change is correct, whether it fits the product need, and whether it should be merged.

Separate the coordinator from the coding agent

In Zapier's Sidekick setup, there are two parts. First is the coordination layer (Sidekick), which records activity, maintains a job queue, and stores learned rules. Second is the coding harness - an orchestrator that reads the queue and starts an agent session for each job.

You can build those pieces with different tools. The real design decision isn't which vendor you pick. It's having a clear interface between what the team knows and what the agent does. In Sidekick's case, both sides read and write plain files in a shared folder. That makes the handoff visible - so it's easier to inspect what the agent is doing, instead of treating it like a sealed black box.

A factory also needs boundaries. It should know which jobs it's allowed to take, what parts of the system are in scope, what it must report, and where a human needs to make a call. Without that, you don't have a dependable work system - you have an agent with access.

Why the factory is more than code generation

The point isn't "look how many lines changed." The point is reducing the amount of human effort it takes to go from a real problem to a safe decision. That can mean clarifying requirements, writing or updating a test, documenting what's unknown, or spotting a mismatch between a handoff document and a prototype.

In the Sidekick example, the factory surfaced nineteen design questions on a shared page. The designer answered them as comments, and each answer went back to the session responsible for that part of the work. That's a better workflow than having an agent guess silently - or forcing the designer to learn the agent's internal process just to correct it.

This pattern works best when the work is divisible, reviewable, and reversible. It's less suited for ambiguous high-impact decisions, production changes you can't roll back, or tasks where the agent can't gather reliable evidence. A factory should prepare those decisions, not pretend they've turned into a mechanical step.

How Does the Factory Turn Ideas Into Reviewable Work?

A useful factory runs a loop: capture, decide, build, review, and learn. That loop matters because an agent's coding skill is only one piece. If the system captures the wrong context, chooses the wrong priority, or doesn't learn from review, you'll ship the wrong work faster. That's... still the wrong work.

Capture before automating

The capture layer records the signals the team already creates: mentions, meeting notes, chats, and coding sessions. In the Sidekick approach, an operator checks that record every two hours during work hours. They handle the small stuff - items that are easy to undo - and either run a dry run or ask a question when the decision is unclear. Larger tasks become jobs in the queue.

That cadence isn't a law of nature. The requirement is a dependable record of what happened, plus a way to separate captured facts from assumptions. If the morning brief regularly misses decisions, or confuses a proposal with an approved task, the factory has a context problem - not a prompting problem.

It also helps to validate against reality. Spend a week observing what the system captures. See whether it tracks the right discussions, owners, and decisions. It might feel slower than turning on automation immediately, but it's cheaper than cleaning up incorrect tickets or code generated from a misunderstanding.

Write job briefs around outcomes and boundaries

A good job brief gives the agent room to solve the task without leaving the team to guess what it was allowed to do. The Sidekick team found that effective briefs name the skill or area responsible, state the expected outcome, specify what must not be touched, and define what "done" means. They don't spell out every implementation step.

For example, one brief asked for a draft merge request that adds search-timeout recovery scenarios to an evaluation suite. It required a deterministic grader and one baseline run. The scope was limited to the evaluation: if the baseline showed the model repeating the same query, the agent had to file a ticket instead of expanding the change.

That boundary makes the result easier to assess. The job doesn't ask the agent to fix everything around the problem, and the team can see what evidence should back up the draft. A practical brief template looks like this:

  • Owner: Which skill, service, or team owns the work?
  • Outcome: What artifact or behavior should exist when the job is done?
  • Evidence: Which tests, baseline, or production signal must be included?
  • Limits: What may the agent change, and what should it leave alone?
  • Escalation: What condition means it should stop and ask or create a follow-up?

Make every demo answer the same questions

A green check doesn't tell you much by itself. The team standardized four questions for demos: Where did the work come from? What production evidence supports it? What did failure look like before the change? What will the user notice?

Those questions give reviewers a consistent surface to evaluate. They also flag work that's "complete" in a technical sense but disconnected from the user problem. They make evaluation results easier to interpret, too. In the example above, the baseline scored nine out of nine. The engineer found that suspicious - so the team added a rule: if an evaluation has no failing case, it's a regression guard, not proof that the system actually handles the underlying problem well.

The takeaway for AI-assisted engineering is uncomfortable but important: the factory won't reliably question its own success criteria unless you give it a reason to. If results surprise you, treat that as an invitation to inspect the test, not as something to celebrate automatically.

How Do You Give an AI Factory More Autonomy Safely?

Start with no external write access. Let the factory observe, propose, and generate dry runs first. Then grant one narrowly defined action at a time - only after the system has shown it can do that action reliably.

This isn't "be careful" as a vibe. Creating a ticket, opening a merge request, and changing production are different risk levels. If you bundle them under one broad permission, it's hard to tell what the agent can do - or how to contain a failure. A staged permission model forces the team to collect evidence before each jump in impact.

Start with actions that are easy to undo

In Sidekick's rollout, the first permission increase was ticket creation. A bad ticket is relatively easy to close. That permission came with explicit limits: search for duplicates first, create no more than five tickets per run or ten per day, don't change sprint assignments, and don't edit someone else's tickets.

The numbers matter less than the structure. Each permission should spell out:

  • Scope: Which systems, repositories, or records can it touch?
  • Volume: How many actions can it take in one run and per day?
  • Preconditions: What must it check before writing?
  • Stop conditions: What should make it pause or ask a person?
  • Recovery: How will the team find and undo a bad action?

As evidence builds, the owner can expand the permission - for example, from drafting a change to opening a draft merge request. The next step should be earned through demonstrated reliability, not assumed because a demo went well.

Convert corrections into durable rules

A human correction doesn't help if it disappears when the current session ends. The factory should record the correction as a rule or shared skill, so later jobs can use it. If the same issue gets fixed twice, that's a sign the system needs a reusable instruction - not another one-off comment.

This creates a learning loop: a reviewer spots a recurring failure, the team updates a rule or skill, and later jobs get checked against that rule. At team scale, that update belongs in shared guidance when the lesson applies across engineers. Otherwise, one person's factory improves while the same mistake keeps popping up in someone else's.

The rule should also stay specific enough to test. "Be careful with tests" isn't actionable. "A perfect evaluation score requires checking that the test includes a failing case; otherwise label it a regression guard" gives the next job a concrete instruction.

Treat reliability and review capacity as controls

Quiet failures are especially dangerous in unattended workflows. Before a job starts, the factory should verify that it can reach its coordination layer. If the connection fails, it should send one clear alert - not keep going on stale context. Failed writes need to show up as failures, not get quietly presented as completed work.

Keep a stop mechanism simple and fast - something you can use from a phone if you have to. Also cap the queue. A factory that creates more drafts than the team can review isn't increasing delivery capacity. It's just moving the bottleneck and adding backlog. Review bandwidth is a real system limit, so queue size and prioritization belong in the operating design.

What Changes When a Whole Team Runs Factories?

One engineer can tune a factory to their own habits. A team with multiple factories runs into a different problem: each factory may optimize for a local queue while pulling the team in different directions. More activity can make the team slower when priorities conflict or when review demand grows faster than available attention.

Sidekick is testing a thin shared layer that each factory reads. It includes a current team priority, shared skills like design review, and a team learning loop. The goal isn't to force every engineer to use the same harness. One person might build around an orchestrator plus a general agent; another might use more deterministic workflows that call an agent only for specific steps. The shared layer aligns the work without locking everyone into identical implementations.

Let the decision owner steer the work in context

The designer's prototype test is a great example of why this workflow shouldn't belong only to engineers. The designer could answer open questions directly on the page listing them, and those answers flowed to the relevant sessions. The work also revealed cases where the prototype provided better direction than the handoff document. The designer agreed, and the answers became five small stories - each with its own draft merge request.

This kind of interaction keeps decisions close to the artifact they affect. The person who owns a design decision shouldn't have to understand the factory's orchestration or learn a separate command interface just to clarify intent. Comments, questions, and responses should be visible where the work lives, with a clear record of how each answer changed the implementation.

Share lessons without forcing one implementation

A shared skill can stop the same review problem from repeating across the team, while individual factories still try different workflows. That's the pragmatic balance: standardize the lessons and the interfaces that reduce team risk, and allow variation in the tooling where there's no clear benefit to forcing sameness.

The trade-off is operational complexity. Different harnesses can make behavior harder to compare, debug, and support. Shared rules, job formats, permission boundaries, and failure reporting matter more when tooling varies. If people can't tell which factory took an action - or what evidence it used - experimentation starts to undermine accountability.

So a team rollout should track more than output volume. Watch whether drafts get accepted, how much review time they take, how often they trigger major rework, and whether the queue grows. If review load rises but useful changes don't, limit intake or improve prioritization before adding more agents.

A practical rollout sequence

If a team is considering this model, a controlled sequence beats a big-bang launch:

  1. Observe for a week. Capture activity and compare it with what actually happened. Do not allow external writes.
  2. Test one bounded job. Pick work with clear acceptance criteria and a straightforward way to verify the result.
  3. Add review evidence. Require the draft to show its source, relevant signals, prior failure, and user-visible effect.
  4. Grant one reversible permission. Set scope, volume limits, and stop conditions in writing.
  5. Review the operating data. Check accuracy, rework, review time, and failure handling before expanding autonomy.
  6. Share proven rules. Move team-wide lessons into shared skills and keep individual workflows flexible where it's safe.

This sequence won't eliminate mistakes. It does make mistakes easier to detect, attribute, and correct before the factory gets broad access or the queue grows too large.

Key Takeaways

  • An AI software factory is a work system, not just a code-generation tool. It combines captured context, a job queue, an agent harness, permissions, and a learning loop.
  • Keep human review at the last mile for decisions about correctness, product intent, and merging.
  • Start with observation and dry runs. Increase autonomy one reversible action at a time, with explicit limits.
  • Brief jobs around ownership, outcomes, evidence, boundaries, and escalation - not a brittle script of every step.
  • Treat perfect evaluations as a reason to inspect the test design. A score only means something when the test can reveal failure.
  • Make review capacity a constraint. More drafts don't automatically mean more delivery if the team can't assess them.
  • Let the people who own product and design decisions steer the work where those decisions get recorded.

Conclusion: Automate the Work, Keep the Decisions

An AI software factory can move useful work forward while engineers handle other tasks, but only if the system is built around trustworthy context, bounded jobs, and reviewable evidence. The Sidekick team's experiment shows that this can extend beyond coding: a designer could answer questions in context, and those answers shaped the work that was already underway.

Start by observing, not granting broad access. Define what each job may touch, make corrections durable, and watch review load as closely as you watch agent output. The goal isn't to remove people from software delivery. It's to give them better-prepared decisions - and enough control to know when the factory should stop.

Frequently Asked Questions

An AI software factory is a workflow that turns inputs such as tickets, discussions and design notes into tested, reviewable draft changes. It combines context capture, job management, coding agents and team rules. People retain responsibility for final review and decisions such as whether a change should merge.
No. A coding agent performs implementation tasks. A factory adds the surrounding system: it captures work, prioritizes jobs, defines permissions, checks results and learns from review. That operational layer determines whether agent output fits the team's priorities and can be handled safely.
Start with dry runs and grant one external action at a time. Choose an action that is easy to undo, define its scope and volume limits, specify required checks and provide a stop condition. Expand access only after the factory has shown reliable behavior for that action.
It should identify where the work came from, provide relevant evidence, explain what failed before the change and show what a user will notice. It should also make its scope and test results clear. A passing test alone does not demonstrate that the change solves the right problem.
Cap the job queue, prioritize work against a shared team goal and measure review time alongside output. If drafts accumulate or require substantial rework, reduce intake or improve job briefs before adding more agents. The team's review capacity—not the agent's generation speed—sets the practical throughput limit.

Related articles