Blueprints · Models

Models

An agent-operated company runs on a portfolio of models, not one. Each family does one kind of work well. This page shows where each one fits.

A portfolio, not one model

Probabilistic engines propose. Deterministic engines decide.

Probabilistic engines propose. Solvers and rules decide what is feasible and allowed. A system of record executes. Book, Ch 04

A common failure is “LLM for everything”. The answer looks right, but it is slow, expensive and sometimes wrong. Match the engine to the decision instead. Book, Ch 04

  1. A policy or hard constraint: a rules engine. Never let a probabilistic model decide whether a policy applies.
  2. The best plan among many: a solver. A language model may set up the scenario or explain the result.
  3. A prediction from business tables: a tabular foundation model first. Train a classic model only if it fails the test.
  4. A forecast of a series: a time-series model.
  5. Language, images or audio: a language model or a specialist model for that modality.
  6. A task that spans several: a language model orchestrates and calls the others as tools. The harness governs the result.

Where models sit in the six layers

The book’s architecture has six layers. Most models live in layer 4, behind one model gateway. Changing a model is then configuration plus an evaluation run. Book, Ch 03

  • 6 Experience. Where people and machines meet: chat, voice, screens, robots.
  • 5 Agents and harness. Plans work and governs every action. Only the harness turns a proposal into an action.
  • 4 AI engines. Language, tabular, time-series and specialist models, solvers and rules.
  • 3 Data and semantics. Knowledge graph, vector indexes and data products. Context lives here, not in prompts.
  • 2 Integration and events. APIs, events and governed tools.
  • 1 Systems of record. Hold the legal truth and post transactions.

The site’s reference architecture shows the same engines as its model portfolio layer, with a chooser.

Storyboard

One dispute, five engines

A customer short-pays an invoice. Follow the case through each engine. The language model reads, the graph resolves, the tabular model scores, and the harness decides. Book, Ch 03 and Ch 04

  1. Channel

    The email arrives

    A customer short-pays a USD 96,000 invoice by USD 3,400. The email says the contract price is 12.50, not 14.20. A case opens.

  2. GPT-class model

    The language model reads

    It reads the email and attachment. It returns a typed claim: pricing, 2,000 units, billed 14.20, claimed 12.50. It decides nothing.

  3. Knowledge graph

    The graph resolves

    It matches the CRM account to the right ERP customer. It finds which ERP holds the invoice and the contract price.

  4. Data and retrieval

    The facts arrive

    Governed tools fetch delivery records, both prices, 24 months of payment history and two past disputes. Data freshness is logged.

  5. Tabular model

    The tabular model scores

    Its context is 1,800 resolved disputes. It returns a 0.87 probability that the claim is valid, with the drivers behind it.

  6. Harness

    The harness decides

    USD 3,400 is inside the channel limit. The threshold for that amount is 0.81, and 0.87 clears it. Segregation of duties passes.

  7. Rules, then GPT-class model

    A rule posts, the model replies

    A deterministic rule posts the credit request at L3. The language model drafts the reply. Over the limit, a person approves at L2.

  8. Learning loop

    The outcome teaches

    After 60 days without reversal, the case becomes a labeled row in the tabular model’s context. The trace closes.

Illustrative figures from Meridian, the book’s fictional company. The threshold is p* = L ÷ (G + L), so it rises with the amount. At go-live the channel limit is USD 2,500, and the same case goes to a person. Book, Ch 03

Twelve families

What each model family does, and where it fits

Each card says what the family is good at, gives an example from the book, its usual autonomy level, how it is tested, and where it sits.

01 · Language

GPT-class large language models

“A very fast, very well-read junior analyst who has never seen your company’s data and sometimes states guesses with confidence.” Book, Ch 04

Good at
Reading documents, extracting fields, drafting, explaining, planning and coding. Weak at arithmetic over many rows, hard limits and table predictions.
Example
In a dispute it reads the email and photos, then returns the claim as a typed schema. Book, Ch 04
Autonomy and risk
It reads and proposes. It has no authority to post. Main risks: invented facts, prompt injection and over-confidence.
How it is tested
Schema and amount checks, a golden set of 200 to 500 real cases, a calibrated model-as-judge, a human sample and adversarial tests. Book, Ch 04
Where it sits
Layer 4, behind the model gateway. Use a reasoning mode to plan and a fast model to extract. Harness: model gateway, tool gateway, verification gates.

02 · Language

Small and fine-tuned language models

A compact model that runs on one GPU, a laptop or an edge device. “A good router and a weak planner.” Book, Ch 04

Good at
High-volume narrow tasks: routing an inbox, extracting ten fields from a known form. Also sites cut off from the cloud.
Example
IT ticket routing: a small model plus rules, with a first target of L3. Book, Ch 04
Autonomy and risk
Narrow routing can run at L3. Do not fine-tune frontier models on ERP data: records change daily, and weights freeze them. Book, Ch 03
How it is tested
On your own golden set. A fine-tuned model falls under model-risk controls: backtests, explanations, pinned versions and re-validation. Book, Ch 04 and Ch 09
Where it sits
Layer 4, on a private endpoint or at the plant edge. The model gateway routes each step to the cheapest engine that passes evaluation.

03 · Prediction

Tabular foundation models (RPTs)

Relational and tabular pretrained transformers. The book calls them tabular foundation models. They predict from labeled business rows in one pass, with no training project. Book, Ch 04

Good at
Classifying and scoring rows: open items, orders, deliveries. Output is a probability or a distribution, not a guess.
Example
Show it 20,000 invoices labeled “paid late” or “on time”. It applies the pattern to the next 500 at once. Book, Ch 04
Autonomy and risk
Its score acts only through rules. Small, likely-late invoices get reminders at L3; the rest go to collectors at L2.
How it is tested
A temporal backtest over 6 to 12 periods. Precision-recall area, Brier score and calibration. Per-row drivers go on the approval card. Book, Ch 04
Where it sits
Layer 4, called by the agent as a tool. “The LLM reasons; the TFM does the statistics.” Design a TFM use case.

04 · Prediction

Classical machine learning and time-series forecasting

Classic models are trained once per task. Time-series models predict what a series does next, with ranges. Book, Ch 04

Good at
Forecasts of cash, demand and volumes. A classic trained model can pay off at millions of predictions a day.
Example
A 13-week cash forecast gives the 10th, 50th and 90th percentiles. The liquidity buffer is set against the 10th. Book, Ch 04
Autonomy and risk
The treasurer approves funding at L2. The main risk is silent drift as the business changes.
How it is tested
Error measures such as WAPE and MASE, bias and interval coverage. Go live only after beating the best simple baseline. Book, Ch 03 and Ch 04
Where it sits
Layer 4, as a warehouse function or an endpoint. Harness: drift monitors, and rules that turn a forecast into a target.

05 · Deterministic

Optimization solvers and rules engines

They give the same answer for the same input. A solver finds the best feasible plan. A rule says whether an action is allowed. Book, Ch 04

Good at
Plans under constraints, limits, segregation of duties and posting logic. An auditor can read and test every rule.
Example
A solver sets safety stock per material. Changes under 20% apply at L3; larger ones go to a planner at L2. Book, Ch 04
Autonomy and risk
They decide what is feasible and allowed. A language model is not a solver. Its “optimal plan” only looks right.
How it is tested
Solvers by their optimality gap and a feasibility check before any write. Rules need a 100% test pass rate. Book, Ch 04
Where it sits
Solvers stay in planning applications. Rules move into one versioned rules service that the harness uses to validate and route.

06 · Context

Embeddings and retrieval

An embedding model turns text or images into vectors. A reranker orders the candidates. Together they find what the agent needs. Book, Ch 04

Good at
Retrieval, deduplication and finding similar past cases.
Example
Each agent step retrieves policy, certified definitions and permission-filtered passages, then like-for-like precedent. Book, Ch 09
Autonomy and risk
It supplies context to other steps. Risks: leaks and stale passages. A permission filter can silently return too few results.
How it is tested
Zero unauthorized passages on a permission test set, and every claim cited. Test permission filters, not only relevance. Book, Ch 09
Where it sits
Layer 3, next to the vector index. Harness: context and memory controls. Retrieval design.

07 · Context

Knowledge graphs and graph models

A knowledge graph says which records in which systems are the same customer, order or supplier. Graph models predict from the links. Book, Ch 03 and Ch 04

Good at
Resolving entities across systems. Graph models suit fraud rings and supplier networks.
Example
Without the graph, the dispute agent cannot know which ERP holds the invoice. The graph sits on the critical path. Book, Ch 03
Autonomy and risk
Supplier delay risk combines a tabular model, a graph model and a language model at L1 to L2. Defer graph neural networks past year one.
How it is tested
A blast-radius query must span every system an order touches. Start with 6 to 10 concepts the first use cases need. Book, Ch 03 and Ch 09
Where it sits
Layer 3. Buy the engine; build and own the ontology and mappings. The harness checks segregation of duties over graph and role data.

08 · Vision

Vision and document models

Document vision reads invoices, delivery notes, labels and forms. Camera inspection finds defects and counts items. Book, Ch 07

Good at
Turning paper and images into fields. Main failures: a misread digit, a forged document, a false accept or reject.
Example
Invoice coding: a vision model extracts, a tabular model predicts, a rule decides, the ERP posts. Book, Ch 04
Autonomy and risk
Invoice coding stays at L2 for postings in the book’s plan. Uncertain inspection results go to an inspector.
How it is tested
Field precision and recall. Field validators, cross-checks to the order and ERP, and totals that must add up. Book, Ch 04 and Ch 07
Where it sits
Layer 4 on an endpoint; inspection models at the edge. Harness: verification gates, with the model version pinned.

09 · Vision

Video: camera analytics and world models

The book covers video in two forms. Cameras with edge models watch for hazards. World models predict how a scene changes. Book, Ch 15 and Ch 19

Good at
Spotting people in exclusion zones, missing hard hats, blocked exits and spills. World models train and test robots in simulation.
Example
Vision events show one crossing point causing 40% of forklift-pedestrian conflicts. A person decides the layout change. Book, Ch 19
Autonomy and risk
“A camera alert is information, not a safety function.” Blur faces, infer no emotions, keep raw clips short.
How it is tested
Thresholds set by quality engineering, a second camera or human sample. Simulation evidence needs a versioned world model and scenario set. Book, Ch 07 and Ch 31
Where it sits
At the edge, feeding events into a data product. Video stays in the region where it was captured.

10 · Voice

Voice: speech-to-text, text-to-speech and voice agents

Speech models turn audio into text and back. Voice adds time pressure, identity risk and recording law. Book, Ch 07

Good at
Service calls and hands-free work. A scripted acknowledgment keeps the call natural while tools run.
Example
The agent reads back “invoice 9400312, line 3, 40 units short”. The caller confirms before anything happens. Book, Ch 07
Autonomy and risk
Voice is a channel, not a credential. Its L3 cap is lower than other channels. No promise of money is made by voice.
How it is tested
Latency per component at the 95th percentile. Read-back of key fields. A log of what was played, not only generated. Book, Ch 07
Where it sits
Speech models in layer 4. The call runs in layer 6, in the caller’s region. Harness: identity factors, AI disclosure, limits by channel.

11 · Multimodal

Multimodal and screen models

A vision-language model takes an image or document plus text and returns text. Screen agents read screenshots, click and type. Book, Ch 04 and Ch 07

Good at
Reading mixed evidence: an email with photos, a pallet image with a scale reading. Screen agents work systems that have no API.
Example
A damage photo is read together with the customer’s claim, and a delivery note is checked against the order. Book, Ch 04
Autonomy and risk
Read-only screen work can run at L3 with sampling. Writes stay at L2. On one benchmark, the best model finished 12.24% of computer tasks. Book, Ch 07
How it is tested
After every commit, read the result back through a second path and compare. Keep screenshots before and after each write.
Where it sits
Layer 4 for the model. Screen agents are a bridge, governed like bots, with a planned retirement date. Harness: sandbox, allow-list, confirm before commit.

12 · Physical

Physical AI, robotics and IoT

AI that senses the physical world and acts through machines. Three families: perception, vision-language-action and world models. Book, Ch 15

Good at
Moving pallets, picking, inspection and condition monitoring from sensors. Mobile robots, arms and vision are mature today.
Example
A robot camera spots a damaged pallet. The controller stops the robot first. Then the agent proposes quarantine and a re-pick. Book, Ch 15
Autonomy and risk
A model may choose how a robot does a task. It never chooses whether the task is safe. Certified controllers decide that.
How it is tested
A maintenance alert model needs 80% precision over its last 50 alerts before L3. A model update re-opens promotion. Book, Ch 15 and Ch 31
Where it sits
At the robot and plant edge. Agents never write to machine control. Harness: behavior envelope, registered conduits, kill switch.

Matrix

Every family on one page

Family, layer, best use, usual autonomy and the main test, from the cards above.

Model families by layer, best use, autonomy and evaluation
FamilyLayerBest forUsual autonomyHow it is tested
GPT-class language models4 AI enginesReading, drafting, planningProposes; never postsGolden set, calibrated judge, adversarial tests
Small and fine-tuned models4 AI enginesNarrow routing and extractionL3 for narrow routingOwn golden set; model-risk controls if tuned
Tabular foundation models (RPTs)4 AI enginesScores from business tablesL3 through rules; L2 above limitsTemporal backtest, Brier score, calibration
Classical ML and forecasting4 AI enginesForecasts with rangesL2 for funding decisionsWAPE, MASE, interval coverage
Solvers and rules4 AI enginesFeasible plans; what is allowedDecide; small plan changes at L3Optimality gap; 100% rule tests
Embeddings and retrieval3 Data and semanticsFinding policy and precedentSupplies contextPermission test set; every claim cited
Knowledge graphs and graph models3 Data and semanticsSame entity across systemsGraph risk models at L1 to L2Blast-radius query across systems
Vision and document models4 AI enginesFields from documents; defectsL2 for postingsField precision and recall
Video and world modelsPlant edgeHazard spotting; simulationInformation only; people decideThresholds, human sample, versioned scenarios
Voice6 ExperienceCalls and hands-free workL3 under a lower voice cap95th-percentile latency; read-back
Multimodal and screen models4 AI enginesMixed evidence; systems with no APIRead at L3; writes at L2Read-back through a second path
Physical AI, robotics and IoTPlant edgeMoving, picking, monitoringInside a certified envelopeAlert precision; re-promotion after updates

“Plant edge” means the robot, the cell and the site, below the enterprise layers. Levels are illustrative; each company sets its own. Book, Ch 04, Ch 07 and Ch 15

How models earn autonomy

Accuracy is not enough. Calibration decides.

A raw score is not a probability until it is calibrated. Among proposals scored 0.9, about 90% must be right on your own data. Book, Ch 07

Use calibrated scores to route, never to approve. An accurate model with the wrong threshold still makes bad decisions. Book, Ch 04 and Ch 07

Three levels of evaluation

LevelQuestionWhen
ModelIs the output accurate and calibrated?Before pilot; after any version change
DecisionDoes the decision rule give good outcomes?Shadow and pilot
ProcessDoes the whole process improve without new risk?Pilot and scale

Engine evidence before each level

LevelMinimum evidence (illustrative)
L1 AssistBacktest beats the current process. No material bias across slices.
L2 ApprovePlus a shadow period of at least 4 weeks and 300 cases. Calibration in tolerance.
L3 Act within limitsPlus an error rate below the human rate. Rules tested 100%. Drift monitors. Rollback tested.
L4 Run and reportPlus L3 over two quarter-ends, an audit walkthrough and independent validation for high-risk models.

Book, Ch 04. The harness, not the model, sets the autonomy ceiling: see the harness framework and the controls library.

Human review costs more than the model

In the book’s invoice-coding example, model cost is about 2% of the automated cost per line. Human review is the largest term. Book, Ch 04

So calibration, which widens the automated band safely, is worth more than any price negotiation.

Who sets these levels, who approves at each gate and who answers when it goes wrong is on Organization.

The six design choices behind these models (tabular models, retrieval, evals and audits, security, inference and thresholds) are on Design choices.

Open the model chooser See a brain route a question

Talk to the book