Two people stand at an illustrative civil-registration counter. The first says, "My identity document application is still pending." The second says, "I need to apply for an identity document." A transcript of each sentence shares most of its words: identity, document, application. A language model will recognise both as being about identity documents, and it may produce a fluent, polite reply to each.
The service sees two different situations. The first person already has an application. It has a reference, a status and a history, and the useful next step is to find that application and explain where it stands. The second person has no application yet. The useful next step is to explain the requirements and, perhaps, book an appointment. If an agent treats the first statement as the second, it gives a confident answer to a question nobody asked, and the person leaves without the information they came for.
Before an agent can act safely, it needs a written map of the service world: the things that exist, how they relate, which states they can be in, which rules apply, which actions are allowed and when a person must take over.
That map is what this series calls an ontology. This part explains it in plain words and sets out where to start. The rest of the series shows how the map constrains translation, retrieval, rules, agent loops, human roles, versions and graph reasoning.
Text is not the service
A language model works with sequences of words. It has learned a great deal about how words relate to one another, which is why it can summarise, translate and draft so well. What it does not have, unless someone gives it one, is a model of the specific service it is working in: which records exist, which states a case can be in, which steps are allowed from each state, and who may decide what.
A production service runs on exactly those things. An application is a record with a lifecycle. A document supports an application, or it does not. An appointment happens at a particular office on a particular date. A status changes only through defined transitions. A decision belongs to a named role. None of this is visible in the words a person speaks. It lives in systems, procedures and the knowledge of the officials who run the service.
When an agent can only read and write text, each of these service facts becomes something the model has to infer from the words in front of it. Sometimes it infers correctly. When it does not, the error is plausible, because the reply reads well. That is the dangerous kind of error, and it is why more capable models alone do not close the gap.
An ontology in plain words
An ontology is a written, agreed description of a domain that both people and software can use. For a service, it answers six questions:
- What exists? The things the service deals with: applicant, application, document, appointment, office, official, interpreter.
- How do they relate? An applicant submits an application. An application requires documents. An appointment occurs at an office.
- What states can they be in? An application can be draft, submitted, pending, approved, rejected or collected, and only certain moves between those states are valid.
- Which rules apply? A collected document cannot return to pending. A provisional translation cannot become the official record without confirmation.
- Which actions are allowed? The agent may explain requirements. It may not approve eligibility.
- When must a person take over? When the situation does not fit the map, when a critical field is missing or contradictory, or when the next step needs authority the agent does not hold.
The earlier article Ontologies without the academic fog sets out the levels from glossary to formal ontology, and how to build one from real questions. This series takes the same idea and asks a narrower question: what does an agent that can act need to know about its domain before it is allowed to act?
Six layers, not one prompt
A common shortcut is to put everything an agent needs into one long instruction: the language to use, the knowledge to draw on, the definitions, the policy, the workflow and the limits of its authority. That works in a demonstration. In production it fails in ways that are hard to see, because a prompt cannot be tested layer by layer and a model cannot be relied on to obey every sentence in it.
The decision tool for this part is a layer check. Use it to confirm that each concern lives somewhere it can be owned and tested.
| Layer | Question it answers | Example at an illustrative counter | Where it should live |
|---|---|---|---|
| Language | What words were produced? | "My ID application is still pending." | Speech and translation components |
| Knowledge | What approved information is relevant? | Current guidance on application processing | Approved content, retrieved with its source |
| Ontology | Which entities and relationships are involved? | Applicant, existing application, status | The versioned domain model |
| Policy | What is allowed? | The agent may explain status; it may not change it | Executable rules |
| Workflow | What should happen next? | Look up, explain, confirm or escalate | The orchestrating workflow |
| Authority | Who may decide? | A named official, or an authorised human interpreter | Role and approval model |
If a team cannot say where each row lives in its design, the agent is probably relying on the prompt for it. Where should AI guardrails live? places controls in four rings. The layer check sits underneath that: it makes sure the meaning the controls depend on is written down.
The starter map
The map does not need to be large. For a first workflow at an illustrative counter, a starter set of entities is enough:
- applicant;
- service case;
- application, with its status;
- identity or supporting document;
- appointment and office;
- official and interpreter;
- language session, with its language route and transcript or translation;
- service instruction;
- consent record;
- escalation.
The relationships that matter are those that change the next action:
| Relationship | What it means for the agent |
|---|---|
| Applicant submits Application | If an application exists, find it before explaining anything else |
| Application requires Document | Requirements come from the application type, not from the conversation |
| Application has Status | Status comes from the system of record, never from the model |
| Appointment occurs at Office | A booking is tied to a place with its own hours and rules |
| Official handles Service Case | Decisions belong to a role with authority |
| Language Session supports Service Case | Interpretation is tied to a service context, not floating free |
| Session escalates to Interpreter | Some situations are beyond approved machine capability |
Go back to the two people at the counter. With the map, "still pending" points at an existing Application with a Status, and the next step is a lookup and an explanation. "I need to apply" points at no existing Application, and the next step is requirements and an Appointment. The words overlap. The service objects and the next actions do not.
What an ontology does not do
It is worth being precise about the limits, because ontologies are easy to oversell.
An ontology does not stop a model from producing a plausible wrong answer. A model can still mishear, mistranslate, map a statement to the wrong entity or describe a relationship incorrectly. What the ontology adds is a structure that the system can check those outputs against: does this entity exist, is this status valid, is this action allowed from this state, does this role have authority? Some errors are caught by that check. Others still need evaluation, retrieval of approved knowledge, security controls and human judgement. The map replaces none of them.
An ontology is also not a reason to build a large knowledge graph before testing the service. The useful first version covers one bounded journey and is small enough to test completely. When you need a knowledge graph explains why most relationship questions do not need a graph database at all.
How NalaTolika uses the map
NalaTolika is a CloudNala concept and reference architecture for governed language interpretation. It has no customers, deployments, pilots, data or results. In its reference design, the ontology sits between language processing and action. Speech recognition and translation tell the system what was said. The ontology mapping tells it what the statement refers to in the service process. Approved knowledge, policy checks and authority checks then decide whether to explain, confirm or hand over to a person. The language components are covered in Language Access Is Digital Infrastructure and Train, Tune or Orchestrate?. This series covers the layer in between.
Start before you add agents
Before adding another agent, tool or model to a service, write down the first workflow's map on one page:
- Name the one journey in scope.
- List the nouns officials use for it, and agree one definition each.
- List the statuses, and which transitions are valid.
- Mark the relationships that change the next action.
- Mark the actions the agent may take, and those it must never take.
- Mark where a person takes over, and which person.
If that page cannot be written, the agent is not ready to act in the service, however good the model is. The printable Ontology and Agent Governance Canvas gives each of these steps a section, and the rest of this series fills them in.
Next in the series: Translation is not understanding. All parts are on the series page.
Sources and limits: this article is CloudNala analysis. The six questions, the layer check and the starter map are CloudNala frameworks for illustration, not a description of any live service. The counter examples are illustrative and do not describe any department or organisation. NalaTolika is a concept with no deployments, customers or data. An ontology reduces some kinds of error by making them checkable; it does not eliminate model errors.
How CloudNala can help
CloudNala runs a short ontology discovery for one bounded service journey. We interview service owners, officials and language specialists, write the entities, relationships, statuses and authority boundaries on one page, check which of your six layers currently live only in a prompt, and give you a starter map your product, policy, data and AI teams can all use.
Work with CloudNala
CloudNala helps organisations move from technology ambition to practical execution across cloud, AI, data, platform engineering and digital services.
Whether you are exploring AI, modernising your cloud environment, building a public-sector digital service, or turning an idea into a working MVP, we can help you shape the roadmap and deliver the next step.
Book an Ontology and Agent Governance Assessment or write to us at consult@cloudnala.co.za