5. GenAI and agents
Part I — Why this is hard
Generative AI affects semantic practice in two directions at once, and they are usually discussed as if they were one thing:
- AI for semantics: large models help build ontologies, reading documents, proposing classes, drafting definitions and constraints.
- Semantics for AI: ontologies and knowledge graphs ground AI systems, giving agents typed, validated, authoritative structure to act against.
Both are real. Both change the economics of the work. Does either remove the need for the discipline in this manual? Not at all. The second direction, in particular, raises its value sharply.
5.1 AI for semantics: generation gets cheap
Large models are genuinely good at the tasks that used to consume the opening months of an ontology project: reading a corpus and extracting candidate terms, proposing class hierarchies, drafting definitions in consistent prose, generating competency questions, suggesting where a constraint might belong, translating between serialisations, and explaining an unfamiliar vocabulary to a newcomer.
This is not marginal. It removes a genuine barrier, the specialist bottleneck described in Chapter 2, and lets domain specialists outside computer science take part in modelling their own domains.
But notice precisely what has changed. The cost of producing a candidate model has collapsed. The cost of knowing whether it is right has not.

A model's output is plausible by construction; that is what it optimises. In ontology work plausibility is a particularly treacherous property, because a subtly wrong class hierarchy reads exactly like a correct one. A hallucinated superclass does not look like a hallucination. It looks like a reasonable modelling decision a competent engineer might have made, and it will pass casual review indefinitely.
Four consequences worth planning for:
Review capacity, not generation capacity, is now the constraint. If your modelling throughput rises tenfold and your review throughput does not, the surplus becomes unreviewed model. This is Chapter 2's cognitive-budget problem arriving with a much bigger firehose.
Mechanical checking becomes more valuable, not less. Precisely because machine-generated models are fluent, the checks that do not care about fluency carry more of the load: is this class satisfiable, is this property declared, does this contradict its own ancestor? LOG-001 catches a contradiction identically whether a person or a model introduced it, and it does not find the surrounding prose persuasive.
Give the model something stricter than Turtle to write. A model asked to emit Turtle can emit anything that parses. A model asked to write a .ontology.ts script against the suite's DSL (Chapter 8 §8.2) meets a compiler first. Give an object property a literal, or put a datatype property in a chain, and the type checker refuses it before the gate ever sees it. That catches mistakes of kind; the gate catches mistakes of logic. Two cheap, mechanical reviewers before any human is asked to look is exactly what the economics above call for.
The decay clock speeds up. Chapter 1's decay problem is a function of change rate. Raise the change rate tenfold and an ontology that would have drifted quietly over three years drifts quietly over four months.
The rule: a model may propose. A human decides. A machine verifies. Any workflow that lets generation flow directly into an authoritative artefact has substituted fluency for correctness.
5.2 Semantics for AI: the grounding direction
The second direction is where the commercial energy currently is, and it is a better argument for semantic investment than anything in the pre-LLM era.
Agentic systems have a structural weakness: they are probabilistic components being asked to take consequential, typed actions against real systems. What they lack is not intelligence but constraint: a specification of what things are, how they relate, and what operations are legitimate.
That is an ontology's job description. The current framing in the field is that ontologies provide the logical guardrails that turn a model from a fluent text generator into a controllable actor: typed actions bound to authoritative data objects, validated before execution.
The reported effects are directionally consistent, if early:
- Grounding each individual reasoning step against graph-structured data, rather than only the final answer, has been reported to improve results by roughly a quarter over chain-of-thought baselines.
- Ontology-grounded retrieval reports substantially better fact recall, particularly on relational, multi-hop questions: the ones where flat vector retrieval characteristically fails, because the answer requires traversing relationships rather than matching text.
Treat specific percentages as directional; much of this literature is vendor-adjacent and the benchmarks are young. The qualitative claim is the robust one: multi-hop, relational questions are where a graph beats a vector index, and that is exactly the question shape agents generate. It is also, I would add, the point of moving from labels to verbs (Chapter 2 §2.3). A taxonomy can tell an agent what things are called. Only the verbs can tell it how they connect.
What agents actually require from you
An agent consuming your knowledge graph needs the things SemOps produces anyway, which is a convenient alignment:
| Agent requirement | SemOps artefact | Chapter |
|---|---|---|
| Stable identifiers that do not silently change meaning | Versioned ontology, evidence-based semver | 12 |
| Machine-readable descriptions of terms | Generated documentation (ontology_doc_data.json), rdfs:label, definitions |
13 |
| A guarantee the data conforms to the model | SHACL/registry validation at ingest | 10 |
| Knowing what changed between versions | version-diff, migration tombstones |
12 |
| Knowing who asserted what | Named graphs, per-statement provenance | 3, 13 |
| Seeing only what it is entitled to | Access policy at the scan | 13 |
Two rows in particular. The QUA-001 check, a term has no rdfs:label, has always been easy to dismiss as documentation hygiene. When the consumer is an agent selecting terms from your vocabulary, an unlabelled term is one the agent cannot reliably use. Label coverage has quietly become a functional requirement.
And the same goes for the messages your tools emit. The suite's findings.txt is addressed, in its own documentation, to "a person at a terminal, or an agent". An agent triaging a report that says "A label on _:1_b4 has no language tag" is in exactly the position of a person reading it: there is nothing findable to act on. The fix that made those messages say [a blank node] (Chapter 7 §7.1) was a fix for agents as much as for people.
5.3 Agents as participants in the pipeline
The more interesting near-term shift is agents acting inside the SemOps pipeline rather than only consuming its output: opening a pull request that adds a class, drafting SHACL shapes from a specification, proposing repairs for drift, triaging a check report.
This is safe exactly to the degree that the gate is real.

An organisation at maturity Level 1 (no version control, no automated validation) that adds an agent to its modelling workflow has added an untraceable, high-throughput source of plausible changes to an asset with no gate. That is strictly worse than having neither.
An organisation at Level 3, with CI running linting, SHACL and reasoning checks on every change, can accept agent contributions on the same terms as human ones, because the same gate applies and the same evidence is produced. The maturity model has become a prerequisite for safely using the technology that makes the work cheaper, which is an argument worth making to a sponsor who wants the AI benefits without the plumbing.
Three practices specific to agent participation:
Give each agent an identity. An agent should be a principal with roles, not a service account that reads and writes everything. A store that enforces policy at the scan answers an agent's queries over exactly the data it is entitled to see, for every query it could write, aggregates included (Chapter 13 §13.2).
Record authorship provenance. Which terms were machine-proposed, which were human-authored, which were machine-proposed and human-approved? When a definition is later disputed, this is the first question, and it is unanswerable retrospectively. Record it as data, next to the terms, where a query can find it; RDF 1.2's statements about statements make that cheap (Chapter 3 §3.4).
Keep the confidence gate. Chapter 12's repair mechanism applies a suggested fix only at or above a confidence threshold. A rename evidenced by an explicit tombstone comes in at 100% and applies; the same rename guessed from name similarity comes in at 57% and does not. That pattern generalises directly to agent contributions: automate what is evidenced, escalate what is inferred.
5.4 What does not change
Worth stating plainly, because it is the part most easily lost in enthusiasm.
Meaning is still political. No model can adjudicate whether finance's or product's definition of "active customer" goes in the board pack (Chapter 2). That is an authority question. A model asked to resolve it will produce a fluent compromise nobody has agreed to, and its fluency will make the absence of agreement harder to notice.
Unknown unknowns stay unknown. A model trained on documents knows what the documents say. Margaret's undocumented knowledge about the 2019 migration is not in the corpus, and the model will not flag its absence. It will produce a confident account of the STATUS field that omits the one thing that matters.
Someone still owns it. Governance abandonment is the terminal failure mode in Chapter 1, and an agent cannot be the owner. It can do the work of an owner; it cannot hold the accountability, and the moment something goes wrong the organisation will look for a person.
The cross-boundary problems are untouched. Chapter 3's supply-chain capability asymmetry, competition-law caution and negotiated release windows are commercial and legal facts. No model changes them.
5.5 The practical position
Adopt generative tooling for what it is good at (drafting, extracting, explaining, translating, triaging) and hold the line on four things:
- Generation never writes directly to an authoritative artefact. Propose, decide, verify, publish.
- The gate must exist before the throughput increases. Sequence the automation before the acceleration, not after.
- Provenance of authorship is recorded from day one. It cannot be reconstructed.
- Every agent has an identity and a scope. What it can read and write is a policy, not a hope.
The pleasant irony is that a well-run SemOps practice is both the best consumer of generative tooling, because it can safely absorb a much higher change rate, and the best supplier to it, because grounded, versioned, validated, well-labelled semantics is exactly what agentic systems are short of. The discipline and the technology reinforce each other, provided the discipline arrives first.
Sources
- Ontologies, Context Graphs, and Semantic Layers: What AI Actually Needs in 2026
- Why Ontology Matters for Agentic AI in 2026: From World Models to Governable Decisions
- Ontologies Are So Back: Why AI Agents Are Reviving the Semantic Web — Latent Space
- LLM4KGOE 2026 — Workshop on LLM-driven Knowledge Graph and Ontology Engineering
- Ontologies for the Agentic Web — WordLift
- Research Brief: Ontologies for Agentic AI (2025–2026) — designpattern.fyi