Large language models know an extraordinary amount - more than any person or team can. They have absorbed enough language to discuss legislation, contracts and legal principles with a fluency that can feel like understanding. But knowledge is not understanding.

Ask an LLM a question about your business and you will immediately feel this tension.

What counts as a customer here? Which employing entity is involved? What position did we approve for this jurisdiction? Does “high risk” mean legally unusual, commercially unacceptable, operationally impossible—or some particular mixture of the three?

The world suddenly becomes local and not generalised. All the training in the world (rented back to you for a subscription fee) will not make an LLM understand your business.

Pre-training gives an agent a world whereas an ontology may help us show it which parts of that world belong together here.
A working idea for legal knowledge

All of my frustrations, late nights watching YouTube videos, going back to the world before ChatGPT and Claude (it really does feel like a schism in the timeline) led me to see the value in developing ontologies. An ontology is a structured account of the things that exist in a domain and, crucially, the relationships between them. The W3C describes its Web Ontology Language as a way to represent rich knowledge about things, groups of things and their relations so that software can work with it.

For a legal team (or any business function driving agentic workflows), those things might include customers, workers, entities, products, jurisdictions, contracts, policies, obligations, risks and approved positions. The relationships carry much of the meaning: a worker is employed by an entity; an entity offers a product in a jurisdiction; a contract creates an obligation; an internal position applies only while a particular version of a policy is effective.

It is deeper than just entries or schemas in a database. A lot of this information is scattered across different business systems, or worse, hidden in a document on a teams private google drive / (or worse still) Sharepoint.

Context map / 001Meaning · relationships · boundaries
A legal ontology gives an AI agent a current map of the businessBroad model pre-training connects through a governed business ontology to current policies, entities, relationships and risk boundaries, allowing an agent to produce grounded answers.FOUNDATION MODEL / 01BROADPRE-TRAININGlaw · language · patternsa large view of the worldBUSINESS ONTOLOGY / 02WHAT EXISTSAND HOW IT RELATESgoverned · current · specificCUSTOMERWORKERCONTRACTJURISDICTIONRISK APPETITEAPPROVED POSITIONAGENT / 03A CURRENTANSWERinside the boundary
Pre-training supplies breadth. Governed organisational context gives an agent somewhere specific to stand.

The business as it is today

This interests me because legal judgement is grounded in context that changes.

Models have broad prior knowledge. Retrieval (RAG or other methods) can give them relevant documents. An ontology could add a governed map of how the organisation understands itself now: the language it uses, the boundaries it has chosen and the commercial relationships that shape an answer grounded in understadning.

If you go deep enough and include the API or MCP layers within a business, that map may also help several systems speak more clearly to one another. Intake, contracts, internal knowledge and reporting often use near-identical terms with subtly different meanings. Agreeing what those terms represent—and giving them stable identifiers—could make the whole legal system easier to connect. Humans are great at absorbing the nouns and verbs of a business quickly, through osmosis and often without thought. Agents, however (and at least to me), battle against their pre-training and mannerisms; holding on to reveries of billions of parameters.

There is governance work hiding inside this. Somebody has to own the model, resolve disagreements and keep it aligned with the business. Commercial boundaries are rarely universal truths; they are choices, made under a particular risk appetite and set of operational constraints.

That feels like precisely why the work matters and the water of future moats for enteprise companies.

An agent can arrive knowing a great deal about law. To become genuinely useful inside a legal team, it also needs to understand what this business does, what its words mean and where its boundaries sit today.

Explore where this all fits in the interactive Legal Ops Roadmap.