---
title: "Building an agent factory in a small company, stage by stage"
url: "https://kyberios.com/blog/building-an-agent-factory-in-a-small-company"
description: "A back-office agent factory is the office relay closed into a loop. Eight stages, three points where a person decides, and a build order in which every step already works."
---

# Building an agent factory in a small company, stage by stage

November 6, 2026·8 min read·Editorial team

A closed circular rail with a small operations console in the middle and seven different stations along the rail, three of them with a large push button

An agent factory in a small company is not a faster version of today’s office. It is the same work closed into a loop, in which every stage leaves a record and a person stops retyping and rechecking and starts approving in three places: the plan, the verification result and the release to the outside world. Agents prepare everything else. Move the old office over one to one, with an agent in place of a person, and you get more emails, not better-served customers.

## The old relay in one paragraph

Developers call their old cycle the SDLC: analyst, architect, developer, tester, release, each handing the work to the next. A small company’s office has a relay of its own. A sales rep takes a call and notes the order. The office retypes it into the program. The warehouse checks whether the goods are really there. Someone issues the invoice, someone else chases payment three weeks later. Between every pair there is a handover: an email, a sticky note, a phone call. The knowledge of why this customer pays in sixty days rather than thirty lives in one person’s head.

The relay worked because people’s time was the most expensive resource and handovers were the price of working together. In an agent factory execution gets cheap and a person’s attention becomes the most expensive thing. That turns the logic of the whole back office around.

## The loop in eight stages

```
1. intake → 2. triage → 3. plan [person approves] → 4. execution
     ↑                                                     ↓
8. monitoring ← 7. release [person] ← 6. verification [person] ← 5. review
```

Above the loop works a planner: an agent that takes the trigger (an order email, a bank statement, stock dropping below the minimum), works out which stage the work is at, and starts the right agents with the right model. A small local model for sorting. A stronger one for the plan. For review, whichever scored best on the company’s own tasks. In KYBERIOS this is the [KyberAgent swarm](https://kyberios.com/blog/processes-as-swarms) pattern: a planner and sub-agents with one job each, each in its own KyberCell.

Below, each stage on one example: a regular customer of the wholesaler emails an order for three times the usual amount of cable, for delivery tomorrow.

### 1\. Intake: the work arrives in one place

**What happens:** the email, a phone call noted by the KyberBot of whoever answered, a web-shop order, a bank-statement line and a stock alert land in one queue, recorded once in one data model.

**Why it matters:** a factory that receives work through five doors does not know what is on the table. It cannot measure lead time or cost.

**What breaks without it:** half the work happens in someone’s inbox, with no trace and no rules.

### 2\. Triage: the cheapest saving in the loop

**What happens:** an agent reads the order and puts it in one of three bins. _Ready_: a standard order within limits. _Needs a plan_: an unusual quantity, a new customer, a custom quote. _For a person_: a customer in a dispute, missing data, a commercial decision. Our cable order goes into the second bin.

**Why it matters:** today sorting eats the time of the most experienced people in the office. Here they get it already sorted, and ordinary orders go through untouched.

**What breaks without it:** the execution agent treats an unusual order like a normal one, reserves all the stock and promises a delivery the warehouse cannot make.

### 3\. Plan: where the quality of the whole loop is decided

**What happens:** the planner writes down what the swarm will do: check stock including goods in transit, check trade credit because three times the quantity goes over the customer’s limit, price it under the contract, and draft a confirmation with two delivery options. The owner or the office manager reads the plan, corrects one line (“at this amount, 30% prepayment”) and approves it.

**Why it matters:** this is the control point with the most leverage. A fix in the plan costs a minute. Unwinding a reserved delivery and apologising to the customer costs a day.

**What breaks without it:** a person sees only the finished confirmation and reconstructs from it what the agent assumed. Usually too late.

### 4\. Execution: the least interesting stage

**What happens:** sub-agents carry out the plan: reserve the goods, price them, draft the confirmation and the prepayment document. Each in its own cell, with access only to what it needs.

**Why it matters:** less than it seems. If intake, triage and the plan work, execution is the most predictable part of the loop. Everyone wants to start here because this is where results show. That is a mistake.

**What breaks if you start only here:** you get a fast agent processing unsorted, unplanned orders, and an office that spends the day undoing things.

### 5\. Review: the stage that teaches itself

**What happens:** a second agent checks the result before a person sees it. Does the price match the contract. Is the discount within the policy limit. Is there an arrangement with this customer in company memory that changes the terms. It judges the result against the approved plan, not just its form.

On top of that runs an outer loop. Another agent collects the comments people leave during review and from time to time proposes a change to a policy or to the reviewer’s instructions. That proposal is an ordinary change for a person to accept.

**Why it matters:** the company’s habits do not have to be written up front in a rulebook nobody reads. They build up in the policies with every correction.

**What breaks without it:** the office manager fixes the same five things every week.

### 6\. Verification: a person confirms instead of rechecking

**What happens:** an agent compares the result with the real world. It looks at the confirmation the way the customer will see it. It matches the reservation against the pick confirmed on a Band in the warehouse. It checks the prepayment invoice against the plan. The person gets one summary with the evidence and says yes or no.

**Why it matters:** rules catch what someone foresaw. Verification catches the rest: goods that exist in the system but sit damaged under the loading ramp. Nobody has to click through three programs to check the agent.

**What breaks without it:** the last step before the customer depends, again, on whether someone had the time.

### 7\. Release: the decision stays with a person

**What happens:** the confirmation goes to the customer, the goods are released, the payment goes out. Either a person approves it, or a written policy allows that action up to a set limit.

**Why it matters:** release is the moment the risk moves from the company to the customer or to its bank account. The agent prepares and checks. A person decides and answers for it. Messages to customers, payments and anything above a limit wait for the person who owns the decision. How to write such boundaries down is the subject of [policy, not prompts](https://kyberios.com/blog/policy-not-prompts-agent-governance).

### 8\. Monitoring: the loop closes

**What happens:** the [homeostat](https://kyberios.com/blog/the-homeostat-set-point-for-autonomous-systems) watches a few set points: cash, lead time, stock and the share of agent work that needs correcting. When the prepayment for our order does not arrive on time, it opens a new item in the queue. When corrections pile up, it narrows the agents’ autonomy on its own and hands more decisions back to people.

**Why it matters:** without this stage the factory is a conveyor belt. With it, it is a loop in which the company itself reports what needs fixing.

## The second loop: a factory that improves the factory

Above the order loop runs a second, less visible one. An observer agent scores every run: how many times a person had to correct something, what it cost, whether the order came back as a correction or a complaint. From that it proposes changes to the factory itself: a different model for triage, a more detailed plan for new customers, a higher limit for a process that has needed no corrections for a quarter.

To make that safe, policies and plans have to be written like code: versioned, with a way to roll back a bad change and to try a new version on part of the orders. In KYBERIOS a policy is plain text with a history, and the agents’ scope grows process by process and can be pulled back. Every change to the factory goes the same way as an order: proposal, review, a person’s approval. A factory that rewrites its own rules without consent is, a quarter later, doing things nobody in the company understands.

## The old relay against the factory: what actually changes

Dimension

The old office relay

The agent factory

Shape

handovers between people, by email and phone

a loop: monitoring feeds new items into the queue

Where a person looks

at every order, from the start

at the plan before execution and at the summary after verification

Most expensive resource

the office’s time

a person’s attention at the decision points

Company knowledge

in heads and old emails

in policies and company memory, with a history of changes

Checking

someone looks, if there is time

review against the policies and verification with evidence

Improvement

complaints at the weekly meeting

every run scored, changes proposed for approval

Responsibility for release

a person

still a person

The last row matters most. Everything in between changes.

## Where the factory does harm

**Tasks that only look simple.** “Update prices for every customer” sounds like a job for an agent. Until three key buyers turn out to have prices fixed in their contracts. Start with tasks where a mistake is cheap and shows at once: matching payments, confirming standard orders, reminders within limits.

**Skipping the plan because “the agent is fast anyway”.** Fast execution without an approved plan is the most expensive way to find out that everyone understood the order differently.

**Self-improvement without a brake.** A policy change without a person’s approval is drift, not progress.

**A factory without people.** Tell the office manager the factory is there to replace her, and she leaves with exactly the knowledge the factory needs most. Running the factory is a step up in responsibility for her, not a sentence.

## How you know the factory works

Vanity metric

Outcome metric

documents drafted by agents

how many times a person touched one order from intake to release (should fall)

model calls made

the cost of handling one order and its month-on-month trend

agents running

the share of orders with no correction after reaching the customer

“agents handle half the office”

time from order to dispatch, and time from complaint to correction

Developers measure their loop with the four DORA metrics: how fast a change reaches customers, how often, how often it breaks and how fast it recovers. The last two rows of the table are their office counterparts.

## Where to start: the build order

Every step leaves you with a working system. You can stop after any of them and still have something that pays its way.

1.  **Triage.** An agent only reads and sorts incoming work into three bins. It writes nothing. Result: the office starts the day with a sorted queue.
2.  **Plans.** For work in the second bin the planner writes a plan and a person approves it. Result: unusual orders stop getting stuck in someone’s inbox.
3.  **Review with a learning loop.** A second agent checks the result against the policies, and people’s comments come back as proposed changes. Result: every confirmation has a first review before a person sees it.
4.  **Verification.** An agent compares the result with the warehouse, the bank and the plan. Result: a person confirms instead of rechecking.
5.  **Connect and measure.** The planner links the stages, the homeostat feeds intake, the observer scores the runs. Only now does the second loop start working.

Why the loop will not stay in the IT department is the argument of [agent factories are coming to the small-company back office](https://kyberios.com/blog/agent-factories-in-the-back-office). Where the policies, trace and memory of such a factory should live is the subject of [who owns a small company’s agent factory](https://kyberios.com/blog/who-owns-a-small-company-agent-factory). KYBERIOS is not available yet; this loop is how we are designing it.

On Monday, do one thing: take the last twenty orders and enquiries that reached the office and, in a spreadsheet, put each into one of the three bins. If more than half land in “needs a plan”, the first agent in your factory should not be the one that executes, but the one that plans.

That leaves a decision. You can give the office an agent that answers email faster and watch the pile of things to undo grow. Or you can build a loop in which people stop retyping and rechecking everything, and start approving what genuinely needs their judgement.

-   agent factory
-   processes
-   small business
-   policy engine
-   homeostat

## Keep reading

-   [Every new app is a door an attacking agent will try](https://kyberios.com/blog/every-new-app-is-a-door-an-attacking-agent-will-try)
-   [Who owns a small company's agent factory](https://kyberios.com/blog/who-owns-a-small-company-agent-factory)