The agent factory loop in a Kyber deployment, stage by stage

An agent factory is not a faster version of the old development lifecycle; it is the same lifecycle closed into a loop, where every stage leaves a record and people move from doing the work to three decisions: they approve the description, confirm the verification and agree to the release. Everything in between is prepared by agents. In a Kyber deployment we want to run that loop not only over the client’s processes but over the deployment itself: every change to a rule, a connector or a system image. What follows are the stages, where each one plugs into the Kyber layers, and which to build first.
KYBERTIS is pre-launch and has no clients. This is a plan of work, not a report from a deployment.
The old service model in one paragraph
The classic software development lifecycle (SDLC) is a relay of people: analyst, architect, developer, reviewer, tester, administrator. Classic on-site support looks much the same, only shorter. The client calls, a technician logs in remotely, changes something and closes the ticket. There are hand-offs between people, and the knowledge of why something was done one way and not another lives in their heads.
— Who raised the limit up to which the agent can order stock on its own? (The integrator’s technician, in March, after a call from the manager. The technician has since left.)
That model worked because a specialist’s time was the most expensive thing in it. In an agent factory, execution becomes the cheapest thing and human attention the most expensive. That turns the logic of the whole cycle around.
The loop in eight stages
┌───────────────────────────────────────────────────────────────┐
▼ │
1. INTAKE ───► 2. TRIAGE ──► 3. SPEC ───► 4. EXECUTION ──► 5. REVIEW
request, sort, business change inside first
alert, reproduce and a KyberCell pass
new image technical │
[HUMAN ▼
approves]
8. MONITORING ◄── 7. RELEASE ◄──────────────────────── 6. VERIFICATION
on-call under [HUMAN on a copy of the
the SLA, new accepts] deployment, with
tickets a step record
[HUMAN confirms]
A coordinator sits above the loop. It is an agent that receives a trigger, works out which stage the work is at, and starts the right agent with the right model and context. A cheaper model for sorting, a stronger one for specs, and for review whichever model did best in tests on this client’s own tasks.
1. Intake: work comes in through one door
What happens: a request from the company (“add the new supplier to ordering”), a monitoring alert, a new KyberLinux image from the open project, or an on-call ticket lands in one queue, which lives in the company’s repository.
Why it matters: when work comes in through six doors, nobody knows what is on the table, and neither throughput nor cost can be measured.
What breaks without it: half the changes happen over the phone and leave no trace.
2. Triage: the cheapest saving in the loop
What happens: an agent reads the ticket, tries to reproduce the problem on a copy of the deployment and puts it in one of three bins: ready to execute (a clear, small change), unclear, needs a spec (a rule change with several possible meanings), or parked, needs a person (a business decision, such as a higher purchasing limit).
Why it matters: sorting and first diagnosis eat the hours of the most experienced people. Here they receive tickets already sorted.
What breaks without it: the executing agent gets a vague task and efficiently solves the wrong problem.
3. Spec: where the quality of the whole loop is decided
What happens: for unclear tasks, an agent prepares two short documents. The business spec says what will change for people at the company. The technical spec says which rule, which cell and which connector the change touches. The rule’s owner at the company reads both, corrects them and approves them before anything changes.
Why it matters: this is the checkpoint with the most leverage. Fixing a sentence in a spec takes a minute. Unwinding the same decision after release takes a day and some of the team’s trust.
What breaks without it: review turns into archaeology. Someone tries to work out from the change what the agent meant to do, and finds it did something other than what the company wanted.
4. Execution: the least interesting stage
What happens: an agent prepares the change inside its own KyberCell, on a copy of the company’s configuration. The cell has only the permissions and network its policy allows, and it records every step.
Why it matters: less than it seems. If intake, triage and spec work, execution is the most predictable part of the loop. Everyone wants to start here, because this is where results show.
What breaks if you start only here: a fast agent prepares changes for tickets nobody sorted or described, and people spend their time rejecting them.
5. Review: the stage that teaches itself
What happens: a reviewer agent checks every change before a person sees it. It has the spec and the company’s written rules in front of it, so it judges the change against intent, not only form. A second agent collects the comments people leave in reviews and every so often proposes an update to the reviewer’s instructions. That proposal is an ordinary change awaiting approval.
Why it matters: the company’s habits do not have to be written down up front. They accumulate in the reviewer’s instructions with every comment.
What breaks without it: a person gets the raw change and repeats the same comments every week.
6. Verification: a person confirms instead of re-tracing
What happens: an agent runs the change on a copy of the deployment with the same image and the same configuration, goes through the process end to end and attaches a record of the steps. For a KyberLinux image update it also checks the rollback, because rollback should be tested, not assumed. Finally it compares the result with the approved spec.
Why it matters: tests check what someone foresaw. Walking the process catches the rest: a network rule that cuts off a connector, or a limit that blocks an order on a Friday. The person does not reproduce the change themselves. They look at the record and say yes or no.
What breaks without it: the last step before release depends on whether someone had time to click through everything by hand.
7. Release: the decision stays with a person
What happens: a person named by the company accepts the change and it goes to production. The system image changes as a whole, with a way back to the previous one.
Why it matters: this is the moment risk passes to the company’s own customers. Someone has to sign for it. The agent prepares, checks and suggests. A person decides and answers for it.
8. Monitoring: the loop closes
What happens: an agent watches the deployment and opens a ticket that goes back to stage one. Not only on an outage, but also on a wrong decision that produces no error message at all. The first response to a decision like that is to narrow what agents may do on their own, and only then to look for the cause. That is how we intend to write it into the SLA; more in who do you call when the model is wrong.
Why it matters: without monitoring, a factory is an assembly line. With it, it is a loop in which the deployment reports what needs fixing.
The second loop: a factory that improves the factory
Above the work loop runs a second one. An observer agent scores every run: what it cost, how many times a person had to correct something, whether the change came back later as a bug. From that it proposes changes to the factory itself: a different model for triage, a sharper spec instruction, a new rule for the reviewer.
For that to be safe, the factory’s definition has to be code in the company’s repository: versioned, with a way to undo a bad change and to compare a new version with the old one on a fixed set of test tasks. A change to the factory goes the same way as any other: proposal, review, human approval. A factory that rewrites its own instructions does things nobody understands within three months. The second loop’s results are natural material for a quarterly review of a deployment.
The old cycle and the factory: what changes
| Dimension | Old lifecycle and old support | Agent factory |
|---|---|---|
| Shape | a relay: hand-offs between people | a loop: monitoring feeds new tickets |
| Where people look | at the finished change | at the spec before the change and the record after verification |
| Scarcest resource | a specialist’s time | human attention at decision points |
| Knowledge of the deployment | in the technician’s head | in rules and instructions, versioned in the company’s repository |
| Testing | a manual check after the change | walking the process on a copy, with a record and a comparison to the spec |
| Improvement | a meeting when something breaks | scoring every run and proposing changes to the factory |
| Accountability for release | a person | still a person |
The last row matters most. Everything in between changes.
Where automation does harm
Tasks that only look simple. “Bump the accounting connector to the new version” sounds like a job for an agent, until the new version changes how amounts are rounded. Start with changes where a mistake is cheap and shows up immediately.
Skipping the spec because the agent is fast anyway. Fast execution without an approved spec is the most expensive way to discover that everyone understood the task differently.
Self-improvement with no brake. A change to the factory without human approval is drift, not progress.
Security updates released automatically. An urgent fix still goes through verification on a copy. What shrinks is the queue, not the check.
A factory instead of people. A client team told the loop is there to replace them will leave before the loop starts working. Running the factory is a promotion in responsibility, not a sentence.
How to tell the factory is working
| Vanity metric | Outcome metric |
|---|---|
| changes prepared by agents | how many times a person touched one change from ticket to release |
| agents running | share of tickets that went through the loop with no corrections after approval |
| compute consumed | cost of one closed change and its month-to-month trend |
| “everything is automated” | the four DORA measures: lead time for changes, release frequency, change failure rate, time to restore service |
Scoring by a second model is a good supplement, but only a supplement. If corrections after release are rising, no score will cover that up.
The order to build it in
Every step leaves a working system. You can stop after any of them.
- Triage. An agent sorts tickets into three bins and reproduces problems on a copy of the deployment. People stop losing hours to labelling.
- Specs. For unclear tasks an agent writes the business and technical spec, and the rule’s owner approves it. Complex changes stop getting stuck in the queue.
- Review with a learning loop. Every change gets a first pass before a person sees it.
- Verification on a copy. An agent walks the process, records the steps and checks the rollback. A person confirms instead of re-tracing.
- Connection and measurement. The coordinator links the stages, monitoring feeds intake, the observer scores runs. Only now does the second loop start working.
Where Kyber fits, without overselling it: KyberLinux provides a known state and whole-image updates with a way back, KyberCell cells provide boundaries and a record of every step, and written rules give the reviewer something to judge against. We do not sell the loop as a product. We build it at the client, in the client’s repository, and teach the client’s people to run it.
The same order works for business processes, as an agent factory outside IT starts with written work explains. Where the rules, history and data of such a loop should live is covered in who owns the agent factory your integrator built. There is more about KYBERTIS on the home page.
One exercise for today: take the last twenty tickets sent to your IT team or your integrator and, in a spreadsheet, put each into one of the three bins. If more than half land in “unclear”, the first agent in your factory should not be the one that executes, but the one that writes specs.
That leaves a decision. You can give your deployment an agent that makes changes faster, and watch the review queue grow. Or you can build a loop in which people stop doing and checking everything themselves, and start approving what genuinely needs their judgement.
- agent factory
- deployment
- KyberCell
- SLA
- SDLC