Ontology for AI agents: your business needs a dictionary, not a bigger brain

What an ontology is, how it differs from a knowledge graph and RAG, and how a small, human-approved model of your business keeps AI agents from costly mistakes.

Why AI agents keep getting your business wrong

Give a capable AI agent access to your store, your ad accounts and your documents, and it will still make mistakes a new hire would be fired for. It writes "free shipping" into ad copy for a business that has never offered free shipping, only free local pickup. It adds up sales across every variant of a product and reports a number that double counts. It pauses an ad in the brand campaign that nobody was supposed to touch.

None of these are intelligence problems. The model is smart enough. What it lacks is the shared meaning your team carries around in their heads: what your words mean, how your things connect, and what is off-limits. That is what an ontology is for.

What an ontology actually is

In plain terms, an ontology is a written-down model of your business that both people and software can read. For an AI agent it answers three questions:

  • What do our words mean? "Order", "rush order", "campaign", "free shipping". Each has a definition, its aliases, and the rules that come with it.
  • What kinds of things do we have, and how do they connect? Products, orders, ad campaigns, ad sets, ads, product lines. An ad set belongs to a campaign; a campaign has ad sets.
  • What may be done to them? Which objects are protected, and what an agent must never do.

The word got fashionable because large data platforms built for governments and the Fortune 500 put "ontology" at the centre of how they model an organisation. The useful core of the idea is much smaller than those platforms, and it fits a ten-person e-commerce team just as well.

Ontology vs knowledge graph vs RAG

These three get mixed up constantly, so here is the short version.

  • RAG (retrieval-augmented generation) finds text that looks relevant to a question and hands it to the model. It is good at "find the paragraph about our return policy". It does not tell the agent which paragraph is the rule and which is an old draft.
  • A knowledge graph stores facts and the connections between them, usually extracted automatically and at scale. It can hold millions of facts, and most of them nobody has checked.
  • An ontology says what things mean to this business and what may be done to them: definitions, relations with rules, and protected objects.

Our take is simple: small and approved beats big and inferred. An AI employee does not need a million facts about your company. It needs the thirty things your business would fire a new hire for getting wrong, written down and signed off by someone who knows.

How we built it into our AI agents

Every customer organisation on our agent platform gets its own small, human-approved model of its business. It has four parts:

  1. Terms. A word, its aliases (including other languages, such as Chinese for cross-border teams), a definition, and rules marked never, must or note. "Free shipping: never promise it. We only offer free local pickup."
  2. Types. The kinds of things the business cares about, each with a definition, the few properties that matter, and where the data lives. For most small businesses that is a live system such as the store, Google Ads, Meta or analytics, not a database we own, so types point at those systems.
  3. Links. Named relations in both directions, such as "ad set belongs to campaign" and "campaign has ad sets", with their own rules. "Never add up variant sales across a parent product; use the parent's figure."
  4. Object rules. Protections on a specific object and everything under it. "The brand campaign is never touched."

Agents propose, people approve

Nobody wants to write all of that by hand, so agents do the drafting. A proposer job reads a workspace's prompts, skills and recent work, and our digital employees suggest entries during their shifts. Every proposal comes with the evidence behind it.

What agents never do is approve. Every entry waits for a person, who sees it in the app, on a standup card or in a digest email and clicks approve, edit or reject. When a source later disagrees with an approved entry, the system opens a proposed revision instead of quietly changing it. Every change keeps its history, and any earlier version can be restored.

In one pilot, a US print and signage e-commerce business running Meta and Google ads, the owner reviewed and approved 25 entries. Those included the free-pickup rule and the ad, ad set and campaign hierarchy the daily ad inspection relies on.

Meaning arrives with the data

The approved model is delivered to every agent turn automatically: chats, scheduled jobs, employee shifts, and messages from chat apps. Nobody has to wire it in per agent. It comes in three layers:

  • a small fixed core of always-on rules, plus a one-line index of everything that exists;
  • the entries this particular request touches;
  • rules delivered at the moment of use. When an agent follows a link from an ad to its ad set to its campaign, or reads a data table, the rules for that path come back with the data.

That last layer matters. A rule buried on page 14 of a long prompt is easy to miss. A rule that arrives with the exact data it governs is hard to miss. It also keeps prompts small: the fixed core stays byte-for-byte the same between turns, which gave us measurably better prompt caching.

Agents also get two tools: look up an entry and follow a link. Following a link reads live data through integrations the workspace already has connected. It is read-only and adds no new access.

Permissions on business objects, not just tools

Most agent permission systems stop at the tool: "this exact call is OK". That is too coarse and too fiddly at the same time. Business owners think in objects: "pausing ads in the prospecting campaign is fine; the brand campaign is off-limits."

So that is where we put the permissions. A supervisor can protect an object, and any write that touches it or anything under it is refused before it runs. That includes scheduled jobs that would otherwise run unattended. If the system cannot tell which object a command touches, it fails safe and asks a human.

It works the other way too, with care. In a live test, the pilot owner clicked "always allow pausing in this ad set" on one approval card, and the next pause in that ad set went through without a card. The allowance was then revoked. This option is off by default and turned on per skill.

To be precise about what is guaranteed: object protections are hard gates enforced in code. Term and link rules are guidance the agent follows, and they make mistakes much rarer, but they are not a promise that an agent can never get something wrong.

You can see which rules a run used

Every run keeps a decision trail listing the model entries it relied on. Each entry shows how often it is actually used, so you can see which rules earn their place and which never come up.

Unapproved entries have no effect. In a controlled test, the same scheduled question, "what counts as a rush order?", got two different answers under two organisations' models, both correct for that business. An entry still waiting for approval did not change either answer.

Where this helps most

  • Ad operations. Agents that inspect and adjust campaigns need the hierarchy and the no-go zones. "Never touch the brand campaign" should be a gate, not a hope.
  • Product and catalog research. A cross-border home-goods brand researching Amazon product lines keeps its Chinese terms, product-line, batch and competitor relations, and rules like "use only the newest complete batch" in its model.
  • Customer-facing copy. Offers, guarantees and shipping terms are exactly where a wrong guess costs money and trust.
  • Teams in more than one language. Aliases let "rush order" and its Chinese equivalent mean the same thing to every agent.

How to start your own

You do not need software to begin. Write down:

  1. Ten terms your team uses that an outsider would misread, each with one never or must rule.
  2. Your five main kinds of things and how they connect: orders to customers, ads to ad sets to campaigns.
  3. Three things no automation should ever touch.
  4. Who approves changes. One named person is enough.

That one page will make any AI agent you deploy noticeably more reliable. If you want agents that propose these entries for you, ask before they act on protected objects, and show which rules they followed, that is what we build. See our AI agent development services.

Frequently asked questions

What is an ontology in AI?

A written-down model of a business that people and software can both read: what its words mean, what kinds of things it has and how they connect, and what may or may not be done to them.

Is an ontology the same as a knowledge graph?

No. A knowledge graph stores facts and connections, usually extracted automatically and at scale. An ontology defines meaning and rules. Ours is deliberately small, curated and approved by a person.

How is an ontology different from RAG?

RAG retrieves text that looks relevant to a question. An ontology tells the agent which definitions and rules are approved and which business objects are protected, so it acts on meaning rather than whatever text it happened to find.

Do AI agents write the ontology themselves?

They draft it. Agents propose entries with evidence, but only a person can approve one, and entries waiting for approval have no effect on what agents do.

Does a small business need an ontology?

If you let AI agents touch ads, products or customer-facing copy, yes. Start with one page: ten terms, your main kinds of things and how they connect, and three things no automation may touch.

Next /Done for you

Want this done for your business?

Agents that run real workflows in your business. Talk to the ZEON team about AI Agent Development.

Explore AI Agent Development

ZEON /Built around your ambition

Let’s connect
the dots.

Tell us which job you want off your desk first. A ZEON engineer will reply, and the first conversation is free.

Request a consultation