A language model writes well. Ask it for a price, a date or a statistic and it will give you one that sounds right. Most of the time it is right. The rest of the time you have a wrong price in a live ad, or a made-up figure on a product page.
In the work our clients hand to agents, one wrong number costs more than the whole draft saved. So in the systems we build, the model does not get to decide numbers. Here is how that works in two of them: a team of fifteen agents that writes, fixes and checks a company's websites and social posts, and four agents that turn a daily product feed into ads.
Why language models get numbers wrong
A language model writes the next words that fit. A price that fits the sentence is not the same thing as the price in your system. The model cannot know your price list changed this morning unless something hands it the new one, and even then it can copy a figure wrong, round it, or mix up two products with similar names.
Giving the model the right passage helps, and most of the time it uses it. Most of the time is the problem. In a draft that a person reads line by line, a wrong number gets caught. In an ad that updates every hour, or a page that changes overnight, nobody reads every line. So in our builds a figure is treated as data, never as writing.
Rule 1: agents write from a library of approved facts
In the fifteen-agent system, every agent writes from one approved library of facts. When a draft comes back, code checks each number in it against the facts the agent retrieved. A number that is not in one of those facts is rejected before anyone sees the draft.
The agent can still write freely. It just cannot invent the parts that have to be true.
Rule 2: figures come from code, not from the model
In the ad engine, prices come from the client's product feed, every hour. The model writes the headline and the copy. Code fills in every figure. A live ad never shows a price the feed does not have, and when a deal ends, the ad is paused.
This is the simplest rule and the one that removes the most risk: if a number matters, the model never types it.
The same rule works outside ads. When we automate invoice and document processing, AI reads each document, but plain rules in code check that the lines add up to the total before anything is filed.
Rule 3: one agent checks another before a person does
The ad engine has a QA agent. It runs rule checks in code and then asks a second model to review the work. If something is wrong, it sends the work back to the other agents with the reasons, up to three times. After that, a person takes over.
The person still approves everything. They just see fewer drafts, and better ones.
Rule 4: drafts first, and always a way back
In the fifteen-agent system, every change starts as a draft that is tested before it goes live. A person approves it. After it goes live, the system reads the page back, and if the change broke something, it is reverted.
The ad engine works the same way with ad accounts: each channel connector starts in test mode, and nothing reaches a live account without an explicit switch.
Rule 5: test every way an agent can write
The fifteen-agent system has more than 350 automated tests, and every path that writes to a live site is tested offline first. The ad engine runs more than 800 tests before every deploy.
Agents are only as safe as the doors they are allowed to open. Tests are how we know which doors those are.
Where a person still decides
Rules in code catch wrong numbers. They do not decide whether a message is right for the customer, the moment or the brand. That judgment stays with a person in every system we build.
In the fifteen-agent system, a person signs off on every change before it reaches a live page. In the ad engine, a person approves what goes out, and no ad reaches a live account without an explicit switch. The point of the five rules is not to take people out of the loop. It is to make sure the time they spend there goes on judgment, not on hunting for a wrong price in a hundred drafts.
The five rules in one place
Five rules keep the numbers true, and each one is checked by code:
- Facts from a library. Agents write only from approved facts, and code rejects any number that is not in one.
- Figures from code. Prices, dates and totals come from your own systems, never from the model.
- A check before a person. One agent reviews another's work before a human sees it.
- Drafts first. Nothing goes live without approval, and every change can be undone.
- Tests on every write. Each way an agent can change something is tested offline first.
How to check your own agent for made-up numbers
If you already run an agent, four questions show how exposed you are:
- Which figures can it write? List every price, date, total and percentage it can produce.
- Where should each one come from? Name the system for each figure. If the honest answer is "the model knows", that figure is at risk.
- What checks it before it goes out? A person, a second agent, a rule in code, or nothing.
- What happens when it is wrong? Can the change be undone, and would anyone notice?
A figure that comes from the model, with nothing checking it and no way back, is the first thing to fix. Often the fix is small: pass the number in from your own system and let the model write only the words around it.
What this means if you are starting with one agent
You do not need all five rules on day one. An agent that answers your customers from your own files already follows the first one. The rest start to matter when several agents work together and their output goes straight to customers. That is what an AI ecosystem adds: one shared knowledge base, agents that check each other, rules in code and one log for everything. To see whether you have reached that point, read one AI agent or an AI ecosystem: which one do you need.
If you are not sure where you are on that path, get your free automation map. It tells you what to automate first and what it would cost, on one page.




