The factory ontology

A software company, as a model.

One typed model of what a software company does, from planning a product to retiring it, written so that AI agents and people can work from the same picture.

definitions in the four locked layers
9,034
decisions, each with who decides
414
automatic checks on every change
19

Numbers as of 16 October 2026, read from the ontology's source files.

The six layers of the ontology drawn as rings around the kernel

The film

The ontology in three minutes.

Silent. How it is built, the manager, a year of sample data and the tool mappings.

The problem

Agents can write code. They cannot run a software company.

Not without a shared model of the company around the code: what a release is, who approves it, and which steps need a person.

No shared picture

Each tool has its own idea of a release, an incident or an approval.

Rules live in prose

Who decides, and when a person must agree, sits in wikis and in people's heads.

Nothing to check against

Without a model, nobody can test whether an agent did the right thing.

The idea

Agents do about 90 percent of the work. People do about 10.

People give the intent and answer four kinds of question. Agents do the rest, and record why for every decision they take. Both read the same model.

People

Intent and the four stops

The ontology

One model, read by both

Agents

Plan and design

Agents

Build, review, merge

Agents

Release and run

People give intent to the ontology; agents read it to plan, build and run, and write back their reasons.

The split

Agents, about 90%People, about 10%

A target, not a measurement. The sample company runs at 98.5 percent agents today, which is too high.

The four stops: the only times a person is asked

  1. Kill switchStop everything.
  2. A change that cannot be undoneIn production.
  3. More power for agentsOr a weaker control on them.
  4. A binding commitmentMoney, contracts, regulators.

The ontology

Six layers, each built on the one below.

The four core layers are locked and change only by proposal. Tools and company rules sit above them and never edit them.

  1. Rules for a context

    Company or country rules. They only make rules stricter.

    11
    profiles
  2. Tools and methods

    One package per tool, cloud or method, mapped onto the core.

    40 mapped 44 discovered

    84
    packages
  3. Departments

    40 packs, from billing and legal to incidents.

    5,910
    definitions
  4. Software engineering

    Releases, code changes, deployments, incidents.

    1,320
    definitions
  5. Any company

    People, organisations, agreements, money, risk.

    1,569
    definitions
  6. Building blocks

    The kinds: object, link, action, decision, state machine, policy.

    235
    definitions

How it is built and kept correct

  1. Source

    One YAML file per package, in git. The only thing anyone edits; everything else is generated.

  2. 19 checks

    Automatic gates across files. Every state has a way out; every stop can be checked by a machine.

  3. An independent reader

    A fresh model reads only the generated documents and answers set questions. A separate model scores it.

  4. Lock

    Then the layer is locked. A breaking change fails unless the owner decides it.

The manager

One map you zoom.

Layer, then package, then type, then its states. Never more than a handful of things at once. The live manager is behind sign-in, so these are recordings and screenshots.

From layers to a release

The same path as the live manager: layers, a package, Release with its labelled links, then its states.

The ontology map: six layer bands with their counts, and the data beside the model

The ontology map

The home page: six layers and what builds on what.

Release states from planned to live, with amber steps where a person may be needed

Release states

Planned to live. Amber steps may need a person, with the condition printed beside them.

The Promote to production decision: what it aims at and what it must respect

A decision, written down

Promote to production: what it aims at, what it must respect, and what could change the answer.

Approvals: who decides each decision and whether the owner must agree, as a flow

Who decides

The owner must always agree on 46, only under a stated condition on 149, never on 219.

The whole map: layers as bands and packages as districts

The whole map

Everything at once, zoomed like a city. Search flies to any type.

Model checks: findings per layer from the automatic gates

Model checks

What the automatic gates found, layer by layer.

Screenshots taken on 15 October 2026. Counts inside them can trail the numbers on this page, which are read from the source files.

Proof

Tested three ways: by readers, by a sample company, by industry standards.

A fresh reader must understand it

An agent with no context reads only the generated documents and answers questions written beforehand. A separate agent scores the answers. A layer is locked only after it passes.

Pass mark 80 percent. When a question's expected answer was itself wrong and the reader followed the source, it counts as correct (layer 1: 1, layer 2: 2, rules: 2).

80%pass
Any company20 of 25 correct
100%pass
Software engineering25 of 25 correct
95%pass
Departments38 of 40 correct
100%pass
Rules for a context12 of 12 correct

Animation from an earlier run. The numbers below are the latest.

Simulated, not a real company

Harbourline: a made-up company, run for a year

45 people and 216 agents over 12 months. Every record went through the model's own actions, state changes and links. When the model could not express something, the generator logged a gap.

records
1,372,181
events
265,165
links
118,497
releases
143
deployments
844
incidents
235
times a person answered a stop
2,780
blocking gaps
0

119 gaps were logged in the latest run (1 major, 118 minor), none blocking. A second, tiny company ran beside it, and the one deliberate attempt to link records across the two was refused. Volumes come from a random walk, not real rates, so treat them as a test, not a forecast.

8 industry standards fit the kernel

A slice of each standard's core model was written using only the building blocks and the enterprise core. Every probe is met natively. The first run found one gap, FHIR's choice of types, and the kernel gained one base type for it.

Any tool stack

Tools map onto the model. Then the map is tested.

The model never names a tool. Each tool, cloud or method gets a package built from its own published schema, mapping its words to the model's.

Pull request

GitHub

Merge request

GitLab

Code change

One term in the model

Each row says exact, close, broad or none, with a reason. A concept the model lacks becomes a proposal, never a silent mapping.
40mapped
84
tool, cloud and method packages
  • 40 mappedEvery row reviewed; an independent reviewer samples rows each round.
  • 44 discoveredGenerated from the schema, not yet reviewed.

Read from the package registry of 2026-10-16.

The testing pyramid, cheapest first

A mapping climbs only when the tier below it passes.

  1. Capped sandbox

    Create, check and delete in a real account with a spending cap.

    Planned
  2. Real cloud, look-only

    List and describe with a read-only identity; never change anything.

    Planned
  3. The real product, locally

    Self-hosted products, a local Kubernetes cluster and a cloud emulator.

    231 of 235
    checks passed, 0 failed, 4 unclear, 7 packages
  4. Offline

    Every mapping against the tool's published schema and real documents.

    887 of 919
    checks passed, 7 failed, 25 unclear, 19 packages

Animation from an earlier run. The numbers beside it are the latest.

Honest status

What is real today, and what is not.

The model, the manager and the sample data are real. The agents that will run on the model, and the factory core around it, are specified or planned, not built.

Built

  • Four core layers, frozen and locked
  • 11 rule profiles
  • The ontology manager (behind sign-in)
  • A sample company, run for a year through the model
  • 40 tool packages mapped and reviewed
  • Tool tests offline and on real products run locally

In progress

  • The other 44 tool packages
  • A query service for agents: graph, meaning, rules and time (specified, not built)
  • Look-only tests against real clouds
  • Proposals from tool packages, waiting for review

Planned

  • The decision engine and workflow engine
  • The factory core, written in Go
  • Agents doing real work on the model
  • Tenants beyond our own

About

Built by Venkat.

Venkatesan Ramachandran designs and directs the factory: the research, the decisions and the reviews. Claude Code writes every line, under those decisions and the checks shown above.

LinkedIn link: to be added CV link: to be added