Skip to main content

Client work / Enterprise IT · NDA

AI Software Factory.

A user shapes a product in the browser. Design agents turn it into a spec. A build orchestrator turns the spec into a working application inside a sandboxed container, checks it and commits it to Git. Models propose actions and the control plane decides whether they run.

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

Architecture / Nov 2026

Non-determinism stays inside the box.

Everything a model touches runs in one ephemeral container per build, marked in orange. The model loop can only ask. The gateway decides, and the publisher acts only on a checkpoint that passed validation.

PRODUCT AUTHORINGProduct designerpages, journeys, brand,features, wireframesDesign agentsarchitecture, theme, features,schema-checked outputBuild control planeadmits one build per project,freezes a hashed snapshotspecstarts one jobBUILD RUNNER · ONE EPHEMERAL CONTAINER PER BUILD · NO SECRETS0bootstrap1readiness2scaffold3contracts4planning5execution6integrationfans out per sliceDAG ENGINEAgent workersrun the model loopask for tools, never call themhold no credentialsTool gatewaydeny by defaultper-step allowlists, path jailredacted audit logMCP toolsfiles and allowlistedcommands, no shell,timeoutsrequestallowedOUTSIDE THE MODEL LOOPPublishercommits each validatedcheckpoint to Git, idempotentQuality reportre-reads the evidence,verifies every citationControl toweroperator view of a build,retry and resumecheckpointevidenceevents

Six boundaries

01

Workflow engine

Deterministic control

The build is a DAG declared in YAML, not a script. Steps have real dependencies, validation can send work back for repair, and a failed step retries on its own. The engine checkpoints after each step, so a run resumes without redoing work that already passed.

02

Build runner

One sandbox per build

The control plane admits one build per project, freezes the spec as a hashed snapshot and starts one ephemeral container for it. The runner holds no long-lived secrets. Input and evidence move through a per-build mirror with short-lived access.

03

Agent workers

Model execution

Workers run the model loop behind a provider-neutral layer, so one run can use hosted or local models. They can ask for tools. They can't call a tool, read a credential or cause an external side effect.

04

Tool gateway

Policy enforcement

Every tool call goes through the gateway. It denies by default, checks per-workflow, per-step and per-agent allowlists, jails paths, and writes a redacted audit log. Commands run without a shell and with timeouts.

05

Publisher

Side effects

The publisher runs outside the model loop. It commits each validated checkpoint to the app's Git repository with a short-lived token. Running it again doesn't duplicate a commit, and a publish failure never fails the build.

06

Quality report

Verification

A separate job re-reads the build evidence after the run. Read-only reviewers score the app against quality bars, and a deterministic checker verifies every citation they make. It can be re-run without rebuilding.

Changelog

What changed since August.

Aug 2026
  • Split the system into a control plane and an execution plane.
  • Moved the design agents in-process and wired the product designer to the build orchestrator end to end.
  • Made integration the final build phase.
Sep 2026
  • Prompts are composed deterministically from modules and governed skills. App-specific detail arrives only through runtime inputs.
  • Behaviour contracts are enforced across every vertical slice.
  • Deterministic scaffolds from a stack catalog replaced agent-generated project skeletons.
  • Single sign-on sessions for users and app-only tokens between services.
Oct 2026
  • Added the standalone quality report: evidence ledger, read-only reviewers, citation checker and an HTML scorecard.
  • Builds run in managed cloud container jobs as well as local Docker, with a runner image picked per stack.
  • Reworked telemetry with per-agent token and cost counters. Stalled model calls are abandoned and retried.
Nov 2026
  • Design agents get a new prompt version only after an eval run shows the generated apps improve.
  • Operator retries and continuations from the control tower flow back to the product designer.
  • Started a model evaluation platform for choosing models on our own tasks.

Stack

  • Java 21 · Quarkus
  • Python agent workers
  • React 19 · Vite · TypeScript
  • PostgreSQL
  • Docker · cloud container jobs
  • MCP
  • OpenTelemetry · Grafana
  • C4 models · ADRs
  • Hosted and local LLMs

Related

The evaluation platform.

To change a model or a prompt you need evidence, so I built a platform that tests models, tool-calling agents and workflows on our own tasks. Its test packs can ship Python, which meant running a stranger's code next to API keys. The three posts below cover how that went wrong and how the sandbox works now.

Walkthroughs

Watch it run.

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.

The walkthroughs were recorded before the changes in the changelog above.

Building agent systems with boundaries?

This is the kind of system I design and ship.