Inside theSoftware FactoryWhat is a software factory?

AI software factory patterns

The recurring patterns in AI software factories: MCP gateways, model routers, quality gates, identity layers, and how engineering teams decide on each.

The internal MCP gateway

What an internal MCP gateway is, why large teams end up building one, and what to look for when deciding on one.

Spend control

How companies bound what an agent is allowed to spend, in dollars, tokens, or iterations, and what to look for when deciding on one.

The background agent

What a background coding agent is, why companies build rather than buy one, and what to look for when deciding on one.

The model router

What a model router is, why large teams route every model request through one layer, and what to look for when deciding on one.

Shared agent context

Why companies treat what an agent knows about the codebase as a versioned artifact, and what to look for when deciding on one.

The quality gate

The checkpoint that decides whether an agent-written change is safe to merge, and what to look for when deciding on one.

Ephemeral environments

Why large teams keep a pool of pre-warmed, disposable sandboxes ready for agent sessions, and what to look for when deciding on one.

The identity layer

How an agent gets its own scoped, revocable identity instead of borrowing a human's, and why this is one of the genuinely contested patterns.

The guardrail layer

Why the most sophisticated teams enforce rules as code an agent can't get past, instead of asking nicely in a prompt.