do.enterprises
The architecture

Four function types
run the business.

Business-as-Code is the operating architecture of every business we deliver: the business itself, written as software. Every business process decomposes into four function types, Code, Generative, Agentic, Human, composed into workflows with goals and key results. Humans hold the gates.

draft row · the work is produced
Code validate
Generative draft offer
Agentic negotiate
the draft, handed down to the gates
gate row · a person carries it through
Human authorize
Code settle
Human sign · pay
A workflow as typed functions. The draft row produces the work; a person carries it through the gate row: authorize, sign, pay, notarize.

Every process sorts into four rows.

Three of the four run as software; the fourth is the reason the gates exist.

CodeCodeFunction

Deterministic. Same input, same output, every time. Validation, pricing math, settlement, ledgers.

$.Quote.price.Offer
GenerativeGenerativeFunction

A model produces content or structure: a draft, a summary, a classification. Reviewed, then used.

$.Lead.summarize.Brief
AgenticAgenticFunction

An agent pursues a goal across steps and tools: qualify, follow up, negotiate, schedule, escalate.

$.Agent.qualify.Lead
HumanHumanFunction

A person acts where the law or the counterparty requires a person. Authorize. Sign. Pay. Notarize.

$.Officer.authorize.Contract

Subject, predicate, object.

$.Subject.predicate.Object

Every function is a sentence. The subject and object are typed nouns; the predicate is the verb. A workflow is a sequence of sentences, and the gate list is the set of sentences whose subject must be a person.

$.Lead.qualify.Opportunity
$.Opportunity.structure.Deal
$.Buyer.sign.Deal
$.Notary.notarize.Title

Humans at authorize, sign, pay, notarize.

The split is decided at qualification, not discovered in production. We census each process into four piles: what can be metered as software, what depends on relationships, what the law reserves for licensed people, and what stays physical. Agents take the first pile. Licensed humans keep the gates.

The gate list · always a person
authorize a licensed person approves the credit, the coverage, the funding
sign a person binds the company to the contract
pay a person releases the payment
notarize a commissioned notary acknowledges the instrument

This is why a delivered business can be separate and still lawful: the statutory acts never left the people entitled to perform them.

Services-as-Software: the work of a service, sold at software economics.

Business-as-Code is how the business is built. What it makes possible on the revenue line is Services-as-Software: the outcome a service firm sells, delivered by software, priced on the work done.

Model Services Software (SaaS) Services-as-Software
What you buy People’s time A tool your people use The work, done
Who does the work Staff Your staff, with the tool Agents, humans at the gates
Unit of account Hours billed Seats per month Work done, metered
Cost curve Headcount Software Software
Scales by Hiring Selling seats Producing more

The rows a buyer compares. The third column is only possible when the delivery is code.

Software margins were never about software.

Software earns like software because delivering one more unit costs almost nothing. Services earn like staffing because delivering one more unit costs one more person.

Business-as-Code moves the delivery into code: typed functions do the commercial work, agents staff it, humans hold the statutory gates. Once the delivery is code, the service sells the way software sells and carries software’s cost curve. Infrastructure-as-Code did this for computing; Business-as-Code does it for the work.

Meter the outcome the market already buys.

A Services-as-Software company never sells seats. It sells the unit its market already pays for.

Specimen unit The budget line it replaces Metered
a quote bound a rating desk and the re-keying around it per quote
a title processed a processing desk, paid whether or not it processes per title
a pay run turned into an underwriting file a loan officer’s document chase, spread across weeks per file

The buyer keeps the budget line they already have and pays it against work done instead of hours. Nothing about the buyer’s organization has to change; that is what makes it sellable to an incumbent’s market on day one.

The first model the architecture enables, not the last.

Business-as-Code is an architecture. Services-as-Software is one business model built on it, the first and the most legible.

A business built on the same architecture can also earn as a transaction business, a marketplace, or a data product; some will combine them. The model is chosen at Thesis, from the job-to-be-done and the unit the market pays for, and it is written into the thesis you sign.

Where architecture and model show up.

Brief and Thesisthe census decides whether there is enough meterable core to build on; if there is not, we decline. The unit of account is named: what the market buys, what the business meters
Buildthe workflows are the working software; surfaces are agent-native from day one, and the metered unit is priced from the first transaction
Edgethe gate list names the licenses the business must hold itself
Launchmetered on work done, never per seat; first external revenue arrives in that unit, from a party beyond the partner

Bring a problem, not a pitch.

One question starts the work. We reply in writing either way.