If agents come to run purchasing for the organizations they work for, the people accountable for that work will ask them two questions, again and again. How did you know to do it this way? Why did you do it this way? This note tests one way to answer: the agent cites the agreement, and anyone can check the citation.
Six words used in this note
- Agent
- Software that acts for a party. It proposes, accepts and attests on that party’s behalf.
- Mandate
- The signed statement of what an agent may do for a party, with limits. It is part of the language.
- Engine
- A program that applies the rules of the language to an agreement.
- Fingerprint
- A short code computed from the exact bytes of something. Change one character and the fingerprint changes.
- Trace
- One answer from an engine: the inputs, the state fingerprint and the verdict. Note 001 introduces it.
- Explanation
- An agent’s answer to a question about what it did: the words, what it cites, and what the agreement leaves open.
01The setting#
Picture a purchasing cooperative whose daily work is done by an agent. The agent proposes agreements to suppliers, admits members, checks reports and accepts payments. A group purchasing organization could run this way. So could a buyer, or a supplier.
The people who answer for that work are still people: a contract manager, a procurement lead, an auditor. They will talk to the agent, and much of what they ask will be one of two questions.
- Question 1How did you know to do it this way?
What told you the amount, the date, the price or the party?
- Question 2Why did you do it this way?
Why this action and not another? Why did the thing I asked for not happen?
The same questions will come from the other side of every deal, and from other agents.
02Three ways to answer#
| The agent answers with | What that is | The trouble |
|---|---|---|
| Know-how | “This is how it is done in this industry.” | Nobody can check it, and no agent should claim it. A practice that matters to a deal belongs in the deal. |
| An account of its reasoning | The agent describes how it decided. | The account is written afterward, by the same system. It can change each time it is asked for, and it can differ from what the agent did. |
| A citation | The clause, the event, the Mandate bound and the trace the action rests on. | It covers what the agreement decides and nothing else. Much of this note is about making that limit visible. |
Methods that explain a model are a fourth thing. They describe the model: which inputs weighed most in an output. That helps the people who build and test an agent. It is a different layer, and it does not know what a contract says.
The people who build a model can explain the model. The agreement should explain the action.
03One agreement, two readers#
An agent reads an agreement as data. A person reads it as text. In most systems those are two documents, kept in step by hand, and over time they drift apart.
In Universal Paper they are one. The text a person reads is generated from the agreement and from the Term definitions it pins by fingerprint. The engine call is render_text, and it returns the same words for the same agreement every time. Here is the fee clause of the example agreement, as each reader has it.
For each period of 1 calendar month, the Supplier pays the Aggregator an administrative fee equal to 2.5% of the net sales reported for that period, rounded to 2 decimal places, rounding half to even, within 30 days after the period ends. The fee is fixed at that rate for the term of this Agreement unless the Agreement is amended.
{
"def": "sha256:86262a69a7bfba34d47e0f3052aecb541702abea12286e098e60333fa1e24168",
"n": "fee",
"params": {
"due": {
"count": 30,
"unit": "day"
},
"payee": "aggregator",
"payer": "supplier",
"period": {
"count": 1,
"unit": "month"
},
"rate": "0.025",
"report_clause": "reporting",
"rounding": {
"mode": "half-even",
"scale": 2
}
},
"term": "UP:Admin-Fee"
}One agreementsha256:e4175fa94d9835f2c6c5f97e7a837c9b4d638940f5239e020f04d38ae609745a
So when an agent quotes a clause, the person is not taking the agent’s word for what the agreement says. The quotation can be looked up in text that the agreement’s own fingerprint fixes.
04What an agent can cite#
An agent has four kinds of thing to point at. Each one already exists in the language or in an engine, and each has a mechanical check.
| Citation | What it shows | How anyone checks it |
|---|---|---|
| A clause, quoted | What the agreement says, in words | Find the words in the text render_text returns for that agreement |
| An event | What a party signed, and when | validate_bundle lists the event by its fingerprint, accepted or rejected |
| A Mandate bound | What the agent was allowed to do | Read the bound in the Mandate. Axiom A9, bounded delegation, makes an action outside it invalid |
| A trace | What the agreement computes: an amount, a due date, a price, a verdict | Run the same engine call on the same inputs and compare fingerprints, as in Note 001 |
The two questions map onto them.
- How did you know?
- A clause and a trace. The clause states the rule in words. The trace shows what the rule computes for this agreement at this moment.
- Why this way?
- A Mandate bound and a what-if trace. The bound says what the agent could do. The what-if shows what would have been accepted and what would not.
05A worked answer#
The examples come from the generative example bundle in the repository. It records a purchasing cooperative run by an agent, a supplier, and a member hospital with an agent of its own. All of the parties are hypothetical.
On February 20, 2027, the supplier claimed it had paid the fee for January, $21.89. Five minutes later the cooperative’s agent accepted the claim. Suppose someone at the cooperative asks about it.
How did you know $21.89 was the full fee for January before you accepted the supplier's payment?
The fee clause sets the fee at 2.5% of the net sales the supplier reports for the month, rounded to two decimal places. The supplier reported $875.50 for January 2027. 2.5% of that is $21.8875, which rounds to $21.89. The supplier claimed a payment of $21.89, so I accepted the claim.
It cites
- Clause
fee· UP:Admin-FeeFor each period of 1 calendar month, the Supplier pays the Aggregator an administrative fee equal to 2.5% of the net sales reported for that period, rounded to 2 decimal places, rounding half to even, within 30 days after the period ends.
Check: find these words in the textrender_textreturns for agreementsha256:e4175fa9…e609745a. - Event · attest · February 5, 2027, 12:00 UTCThe supplier's sales report for January 2027. Total net sales: USD 875.50.Check:
validate_bundlelists eventsha256:fd394eee…d59953e6as accepted. - Event · attest · February 20, 2027, 12:00 UTCThe supplier's claim that it paid USD 21.89 for January 2027.Check:
validate_bundlelists eventsha256:815f6427…259571b6as accepted. - Trace ·
derive_statetrace-fee-claimed.jsonCheck: run the call with the inputs in the trace and compare fingerprints.sha256:f20088bb…d87a1af2
It leaves open
- Whether the money arrived. The agreement records the supplier's claim and my acceptance of it. A bank record is outside the agreement.
- Whether the sales report is complete. The fee is computed from the sales the supplier reported.
Nothing in that answer asks to be believed. The clause can be looked up. The two events are on the chain. The trace can be recomputed. The last two lines say what the agreement cannot tell anyone.
The trace names the state it read. The agent’s acceptance names the state it was built on, as prev, which every event carries. In this example the two are the same fingerprint, so the trace describes exactly the state the agent acted on.
Both namesha256:68917189932a7cb89b5d7de1f9b727f9a061658f5d63ae49a8fc2dbc79ebe45c
06The explanation#
The answer above is a small file, called an explanation here. It is optional. It sits beside the agreement, and it is fingerprinted with the rule the language already uses.
- asked
- The question, in the words of the person who asked it.
- action
- The event the question is about, by its fingerprint, when the question is about one.
- answer
- The answer in words, as the person was given it. It is inside the fingerprint, so nobody can later claim the agent said something else.
- cites
- The clauses, events, Mandate bounds and traces the answer rests on.
- left_open
- What no citation supports. The list is required, and it may be empty.
Explanation fingerprintsha256:4a4d0bf6892d661da46b30b852333959dabd5a5c832c1b9816ed052d3b28349a
Canonical JSON (RFC 8785), then SHA-256, the rule in section 1 of the domain. The hosted engine’s hash_object and a separate script written for this note returned the same value.
07Three kinds of drift#
The worry behind all of this is drift: two things that should say the same, and stop saying it. There are three kinds.
- Drift 1The text and the data
The words a person signed and the data a system runs come apart. Here the text is generated from the data, and both have one fingerprint.
- Drift 2The person and the agent
Each believes the agreement says something different. Here both can name the agreement and its state by fingerprint, and compare.
- Drift 3The explanation and the action
The agent says one thing and did another. Here an explanation names the event it is about, and its traces name the state they read.
The third is the hardest, and this note does not close it. Question 014 and Question 015 say what is missing.
08What it adds to the language#
Nothing.No Term, no Event kind and no required field.
An explanation is a file beside the agreement. It can cite only what already exists: clauses, events, Mandates, and traces from engine calls that already exist. An agreement with no explanations is exactly as valid as one with a thousand. Delete every explanation and every agreement still computes the same.
The examples use render_text, validate_bundle, derive_state, simulate_price_conformity and simulate_amendment. The MCP server is a convenience, not the source. It runs the reference engine for you. A local engine must be able to recompute every citation. The commands are in Experiment 011.
09What a citation does not explain#
The second example is a fee change that did not happen. Someone asks why the fee is still 2.5% when the agent was going to raise it to 3.5%.
The agent can cite everything about the outcome. It proposed 3.5%. Its Mandate allows at most 3%. A proposal outside the Mandate is invalid, so the agreement in force still says 2.5%. What the agent cannot cite is why it proposed a rate above its own limit. Nothing in the agreement or the Mandate explains that.
| The question | What the agreement leaves open |
|---|---|
| How did you know $21.89 was the full fee for January before you accepted the supplier's payment? |
|
| Why is the administrative fee still 2.5%? You were going to raise it to 3.5%. |
|
| How do you know the supplier charged Rural Hospital the right prices in January? |
|
The pattern is general. An agreement decides what is allowed and what is required. It does not decide which allowed action is the wise one, whether a report is complete, or whether money reached a bank. An agent that cites correctly may still have chosen badly.
So the format makes the gap a field. Every explanation has to list what it leaves open, even when the list is empty. A reader sees where the agreement stops, and knows which questions need another kind of answer.
10Where this could go#
Three things would follow if the idea holds.
- A checker. A small program takes an explanation and a bundle, runs the four checks, and says pass or fail. It should come from a different maker than the agent.
- Chat tools that check first. The application a person talks through declines to show an answer whose citations do not check.
- Asking before acting. Note 001 lets anyone ask an agreement whether a change would be accepted. An agent that asks first never makes the proposal in the second example.
None of that is built. If it is built, it belongs in an app or a layer above the language, not in the language.
11What we are not sure about#
Five questions are open. Each has its own page, with what is known so far and what would settle it.
- Question 013Where does an agent record a choice the agreement leaves open?An explanation can cite the agreement for what was allowed and what was required. When several actions were allowed, the reason for picking one is not in the agreement.Open
- Question 014Does an agent's paraphrase bring the drift back?The words of a clause are fixed by the agreement's fingerprint. The sentence an agent says to a person is not. An agent can cite the right clause and still describe it wrongly.Open
- Question 015Can an explanation written after the fact be trusted?Anyone can recompute what an agreement allowed at a past moment. Nobody can show from the agreement that the agent checked before it acted.Open
- Question 016What may an explanation show when a value is sealed?An explanation quotes clauses and carries amounts in its traces. If a rate or a price is sealed, the person asking may not be entitled to see it.Open
- Question 017Who checks a citation for a person who cannot run an engine?Every citation can be recomputed, but a procurement professional reading an answer in a chat window will not run an engine. Something has to check for them.Open
If you have a view on any of these, open an issue.
12For agents and tools#
Everything on this page is available without reading the page.
| File | What it holds |
|---|---|
| entry.json | This note as a record: kind, status, topics, what it is built on, and its seven parts |
| cited-explanations.md | This note as Markdown |
| explanation-fee.json | The worked answer, labeled simulated. It belongs to Reusable 012, with two more explanations and two traces |
| explanation.schema.json | JSON Schema for the explanation format |
| bundle.json | The public example bundle the answers were written from |
To write an explanation:
- Record the question as it was asked, and the event it is about if there is one.
- Run
render_textand quote the clause exactly. Keep your own wording out of the quotation. - Run the engine call that computes the value in question, and build its trace.
- Cite the events and the Mandate bound the answer depends on, by fingerprint.
- List what no citation supports, under
left_open. - Fingerprint the explanation, and give the fingerprint with the answer.
To check one, run the check for each citation, then recompute the fingerprint.
render_text simulate_price_conformity A9 derive_state simulate_amendment validate_bundle UP:Admin-Fee UP:TiersResearch note by Uppercentile, licensed under CC BY 4.0. Example data is CC0 1.0. Published November 28, 2026.