Skip to main content

AI Software Factory

AI software delivery with sandboxed workers, policy checks, and human control over publishing.

Client
Enterprise IT · NDA
My role
Architecture & implementation
Status
In development

I'm designing and building a workflow where models propose actions and the control plane decides whether they run.

The system uses a declared workflow to plan, build, validate, and publish software. Model workers are isolated from credentials and irreversible actions.

Four layers separate orchestration, model execution, tool access, and publishing.

AI Software Factory architecture diagram. A workflow engine spawns agent workers per step, workers send tool requests to a policy-enforced tool gateway, and a publisher outside the loop performs irreversible actions only on a proven-complete run

Non-determinism stays inside the loop. Side effects live outside it.

01

Workflow engine

Deterministic control plane

The build is a DAG, not a script. Steps have real dependencies. Validation can send work backwards to be repaired. A graph lets us retry one step, mark downstream work stale, and resume from a checkpoint without redoing what already passed. The workflow is declared in YAML, so the pipeline shape can be reviewed and diffed in version control. The same workflow every run.

02

Agent workers

Model execution boundary

Workers run the model loop. They can request tools but cannot invoke them directly, access credentials, or create external side effects.

03

Tool gateway

Policy-enforced boundary

The gateway approves or denies every request. Deny-by-default, path containment, audit logging. The model can ask for anything but only gets what policy allows.

04

Publisher

Deterministic side-effect boundary

The publisher handles irreversible actions such as pushing a branch or opening a pull request. It runs outside the model loop, reads the completed checkpoint, and acts only after validation passes. Re-running the publisher does not duplicate the action.

One boundary out of several. More on how the factory is built coming soon.

Watch it run

Four walkthroughs of the factory, from the DAG and its boundaries to the control tower that oversees a build.

Part 1

DAG and Boundaries

Why the build is a graph, and where the hard lines between layers sit.

Part 2

TUI-Based Agentic Workflow

Driving the factory from the terminal and watching agents work a run.

Part 3

Control Plane Architecture

Inside the deterministic scheduler: retries, repair, checkpoints, resume.

Part 4

Application Build Control Tower

How an operator observes and steers application builds.

Building agent systems with boundaries?

This is the kind of system I design and ship. Let's talk about yours.