Planning software ships with the standard functions, and still can’t land in a plant without a round of custom work. What that work is filling in is rarely the algorithm. It is the software’s understanding of how that plant actually runs. In a planning system built around agents, that understanding is the ontology, and it has to be built on purpose.
Two companies make the point. One builds large electric motors. One is a national beverage company. Both run a master production schedule. Both balance capacity. Both plan material. Once the models exist, materials and the bill of materials are almost the only objects they share.
Four building blocks
An ontology is a company’s business world, written so software can read it. Looked at from the planning process, it has four kinds of pieces. (The factory-side view — entities, relationships, rules and constraints — is in what a supply chain ontology is. This is the same model, seen from how a plan gets made and changed.)
Objects are the things with names, and the attributes that belong to them. A sales office. A line. A motor. A version of the plan.
Relationships are how those objects connect. Which plant a line belongs to. Which motor a component goes into. Which plant can ship to which sales office.
Actions are what a person, an interface or an agent is allowed to do to an object. Submit a forecast. Send it back. Publish a plan. Record a capacity change. Every change goes through an action. Nothing writes a number by going around one.
Terms are what the business calls the thing. In the motor plant, “project,” “product,” “equipment” and “job number” can refer to the same object. In the beverage company, “demand plan” and “consensus forecast” can too.
Write those four down and the algorithm knows what to compute, the screen knows what to show, and an agent knows what it may look up and what it may do.
Two plants, two centers of gravity
Draw the core objects and the difference is immediate. The motor plant is organized around a component. The beverage company is organized around a quantity.
The motor business starts from a contract and lands on every component of a machine. Each component is then constrained three ways: capacity, material, and whether engineering is actually ready. The beverage business starts from a sales office’s forecast and lands on a tonnage, which lines and shipping lanes then have to cover.
The business decides the model
The models differ because the companies sell different things in different ways. One builds a large machine against a contract, one unit at a time. One pushes drinks across a country against a forecast, a ton at a time.
| Motor plant | Beverage company | |
|---|---|---|
| Where demand comes from | A customer contract, with a due date on each machine | A rolling forecast from each sales office, corrected and then locked at headquarters |
| What the plan schedules | The components of one machine | Tons, by sales office, product and month |
| How time works | Each component’s required date is backed off the contract date. The window is 24 months. | Three months forward from next month, rolled every month |
| Where capacity binds | Hours on key operations in the company’s own plants, tonnage by category at outside processors, and a hard cap on a component set | Hours on a line, by month |
| Material | A component can’t be released until its kit is complete | The BOM explodes into a buy requirement. It doesn’t gate capacity. |
| The part of the world only they have | Engineering readiness: design, process, specialist offices, vendor awards, vendor documentation | Transport: the lane from a plant to a sales office, and the freight rate |
Three of those rows are worth lingering on.
The unit of the plan is different. The motor plant schedules components. One machine has hundreds of them, each with a drawing number, a routing and a required date. The beverage company schedules a quantity: how many tons of a drink a sales office needs next month.
“Capacity” is not the same word. The motor plant measures it three ways, and it has to handle a component set — a logical grouping used for classification and a capacity cap. A set is not a scheduling unit, it is not a level in the BOM, and sets can overlap. The beverage company has one measure: hours on a line. A generic capacity table either will not hold the motor plant, or it leaves the beverage company with a screen full of empty fields.
What actually blocks the plan is often outside production. Motor components wait on drawings, so the model has a whole set of engineering-readiness objects. Beverage shortages are often “we have the capacity and we can’t get it there,” so the shipping lane has to be a first-class object. Leave that piece out and a precise algorithm is optimizing a factory that doesn’t exist.
The skeleton you can reuse
The business objects barely overlap. The skeleton of how a plan is managed is the same, and that is the part worth building once.
A plan is a version, not a table. Both companies model a plan as a version: compute it, compare it, publish one version to execute, archive the old one so it can be restored. One executing version at a time.
A number changes only through an action. A button, an API call and an agent all write through the same actions. Role checks and business rules live there, not in whichever screen happened to be open.
The original value and the corrected value are both kept. In the beverage company, the sales office’s submission and each planner correction are their own objects. In the motor plant, publishing a plan stores a snapshot of the result at that moment. The audit trail isn’t added afterwards. It’s in the model.
Shared behavior is declared, not copied. Many beverage objects are “by product,” “by sales office,” “by month.” Many motor objects “belong to a machine,” “can be approved,” “can be traced.” Declare those, and filtering, roll-ups and permissions come out the same way in both applications.
Industry difference is what the world looks like. How a plan is proposed, reviewed, published and accounted for is common. That is why the framework and the application are separate.
Five rules we actually model by
- Start from the decision, not from the table. Ask what the planner decides each day, then what they look at in order to decide it. A table that exists in the system does not automatically belong in the model.
- Name things the way the business does. “Component,” “set,” “sales office” — not “item,” “group,” “node.” If a thing has several names, register all of them, so a person and an agent can both find it.
- Dig out the constraints nobody wrote down. The ones in a senior planner’s head — “this waits on the vendor award,” “that plant can’t ship to the northeast” — are often the objects that matter. The motor plant’s engineering-readiness rules were found that way.
- Put the description in the model. One or two sentences on what an object is, and what it isn’t. A component set is a logical grouping, used for classification and a capacity cap. It is not a scheduling unit and it is not a BOM level, and sets can overlap. That paragraph is documentation for people and instructions for an agent.
- Survive one real cycle, then let it grow. The first model only has to get through one real planning cycle. The motor model grew from exceptions: a late material, a rush order, an engineering hold. Each one added an object or an action.
Without this, a language model cannot plan
A language model can talk. It does not know your company. Connected to a planning system, the ontology does three jobs.
It shows the world. The descriptions of objects and relationships are the onboarding. Ask, in the beverage model, why one sales office is short of a still water. The agent walks sales office, then shipping lane, then line. The answer: only one plant has a direct lane there, that plant’s lines are full, and the ten lines with free time have no lane to that office. Ask the same kind of question in the motor plant and the path is product, then component, then capacity, material and engineering readiness. Different paths, because the ontologies are different.
It gives the agent a safe set of hands. An agent doesn’t edit data. It proposes an action the ontology already defines: generate a scenario, publish a version, send a submission back. Actions carry role checks and business rules, and each one can be rolled back. Whether it runs or waits for approval depends on thresholds the planner set.
It gives the numbers a source. The language model doesn’t do the arithmetic. Fill rate, shortage and cost on each option come from the optimization engine, called against the ontology. The model looks things up, compares them, explains them and recommends. The figures are computed.
So the first step in using AI well isn’t choosing a language model. It’s modeling the business clearly enough that the model can be swapped and the ontology is still yours. How that split works in practice is in why a language model alone can’t plan a supply chain, and the ontology itself is on the Contour page.



