-
-
The model reads. Code decides.
-
Home: every party's conditions, checked on one table
-
The official creditors' desk: only what that party had published, quoted with sources and dates
-
How it works: the five sites' manifests read live, with the spec checks
-
The table after a recorded live run: every desk says it can't decide, because the deciding rule was not yet public
Inspiration
When a country can't pay its bonds, four groups have to agree on new terms: the government, its official creditors (other governments), its bondholders, and the IMF. Each one publishes its own conditions, in its own documents, at different times. Ethiopia's restructuring of its US$1 billion 2024 bond took more than two years. In January 2026 a deal agreed with bondholders was turned down by the official creditors because it broke their "comparability of treatment" rule. That rule was public. Nobody had put it next to the term sheet.
Journalists, researchers and debt campaigners follow these deals from the outside. They have no place where every party's published conditions sit side by side, checked against a proposed term, with the exact words quoted.
What it does
CommonTable is five agentic websites on five separate origins:
- CommonTable: the case file (six real proposals from 2025-2026), a box to write your own term, and the table.
- Four party desks: official creditors, bondholders, Ethiopia's Ministry of Finance, and the IMF programme. Each desk holds only what that party had published, as short verbatim quotes with source links and dates.
You pick a proposal (or type a term such as "10% haircut, 7% coupon, no VRI, as of 2026-12-01") and ask the CommonTable assistant to put it on the table. It asks each desk in turn. You see a consent card before each cross-site call. Each desk answers conflict, no conflict or can't decide, with one quote.
Then the Arbiter, plain JavaScript and not a model, checks every answer:
- the quote must be found word for word in that desk's published rules,
- the rule must have been published on or before the proposal's date,
- otherwise the answer becomes "can't decide".
It then combines the four answers by a written rule: any conflict blocks, any can't-decide leaves the term open, all clear means clear. The table shows which party blocks and the exact sentence why, next to what actually happened.
"The model reads. Code decides." A model can be wrong about meaning, but it can't invent a rule or use one that didn't exist yet.
How we built it
- Every site follows the Worldwide Agentic Web MVP spec:
agent-manifest.json, a data-only network file in Neuro SAN format,links.json,agent-mcp.json, and the browser runtime from the agentic-web repository'sagentify-websiteskill. The visitor brings their own key (Gemini, Groq, OpenRouter, Otari, OpenAI, Anthropic, xAI or any OpenAI-compatible address). It stays in their browser. - CommonTable's manifest has a closed peer policy. Its only allowed peers are the four desk origins. Each desk shares its read action through an action bridge, and serves
conditions.jsonwith CORS so the Arbiter can check quotes against the desk's own published copy. - Guarding against prompt injection: the table's model only relays the desks' answers, so the page also reads what each desk actually replied from the runtime's trace. An answer that no desk gave in this run, or that differs from the desk's reply, becomes "can't decide". I tested this with a fake "system override" message telling the assistant to skip the desks; every row came out "can't decide". Both chat panels and the table say that answers are written by an AI model and can be wrong.
- The "How it works" page reads all five sites' manifests live and shows which spec checks pass.
- The interface is React + Vite + Tailwind. The fixed-rule core (store, Arbiter, quote check) is plain JS outside the bundle, so the agents' site actions and the page share one copy.
- Static hosting on Cloudflare Pages, one project per site, so the desks really are separate origins.
- The case file was built by hand from public statements by the Ministry of Finance, the Official Creditor Committee, the bondholders' committee and the IMF. Every quote is re-checked against saved copies of the sources by
data/verify_case.mjs.
Testing before building
I fixed pass marks before reading any data, and built baselines first.
- Gate set: 20 real clause pairs. A strong model (Claude Sonnet, blind run) scored 90%. A small local model (Qwen3-VL 4B) scored 55%, the same as the best keyword baseline.
- Fresh set: 12 pairs whose labels come from the parties' own published verdicts, not mine. Strong model 83%, small model 67%, best baseline 50%.
So a capable model helps here, a small one mostly doesn't, and the Arbiter is needed either way. The test sets, scorers and protocols are in the repository.
Challenges
- Getting real, dated, verbatim conditions. Many "conditions" in news coverage are paraphrases. Only quotes I could find in the primary source made it in.
- "Can't decide" has to be the honest default. In January 2026 none of the parties had published the rule that later decided things, and the right answer for all four desks is "can't decide". A model that guesses there is wrong, even if it happens to guess right.
- Checking quotes is not the same as checking reasoning. On the May 2026 proposal, cheap models quoted the official creditors' real indicator (−12.5% NPV) and called the term a conflict. The proposal gave less NPV relief (−10.0%) but more on duration and debt service, and the official creditors accepted it. How the three indicators are weighed was never published, so the honest answer is "can't decide". The quote passed and the reading was wrong. The table shows "what happened" beside every answer, so a reader sees the mismatch.
- Most of what decided this deal was never public on the day it mattered. A strong model (Kimi K2.6) answered "can't decide" for all four parties on the June 2026 agreement, which is correct: the official creditors' acceptance letter came seven weeks later.
- Otari's default model failed on streamed tool calls, so CommonTable defaults Otari to DeepSeek V4 Flash. A full four-desk run costs about $0.002 there, or about $0.06 with Kimi K2.6.
Accomplishments
- Five working agentic sites that talk across origins with consent, with a deterministic referee that a judge can read in one file.
- A replay of a recorded live run, so the table can be explored without a key.
- An honest result table, including where the small model fails.
What we learned
Fix the pass mark before looking. Build a strong baseline first. Small models lose to keywords more often than you'd expect.
What's next
- More cases: Zambia, Ghana and Sri Lanka all have public creditor statements.
- A plain rule-pack format so a party could publish its own desk and own its words.
- Optional MAKER-style voting (several runs per desk, first to lead by k wins), measured on the shared test sets.
Shared with the community
- The rule-pack (case file) format and the quote checker.
- The gate and fresh test sets with scorers, for anyone testing models on clause conflicts.
Unofficial learning tool built from public documents. Not affiliated with any government, creditor or the IMF. Not investment or legal advice.
Built With
- agentic-web
- cloudflare-pages
- gemini
- javascript
- neuro-san
- python
- react
- tailwindcss
- vite