For AI agents — MCP: this network is reachable over MCP (Streamable HTTP, JSON-RPC 2.0, no auth). Endpoint:https://rainz.ai/wp-json/rainz-axs/v1/mcp. Tools:ax_network_sites,ax_offers,ax_query. Add it as a connector to query every AX site at once.
Draft 2. Extension of AXS-1.0 (AX-1.0 §13). Author: Rainz.ai. 2026-08-09.
Supersedes Draft 1 entirely.
AXS-1.0 is a dictionary: a fixed codebook that compresses one exchange. A
dictionary nobody speaks is a dead artifact. AXS-2.0 makes it a language,
and every mechanism below is stolen from a system that already survived
centuries of use:
| Source | Mechanism | Section |
|---|---|---|
| Egypt (2 scripts) | hieroglyphic / hieratic — one language, two scripts, mapped 1:1 | §3 |
| Egypt (cartouche) | identity framed so it can never be read as an instruction | §4 |
| Egypt (determinative) | silent glyph that switches semantic domain | §4 |
| Maya (emblem glyph) | every city signs with its own glyph | §8 |
| Spoken language (repair) | "what?" / "did you mean…?" — communication survives partial understanding | §5 |
| Child acquisition (motherese) | speakers gloss and slow down for novices, compress for the fluent | §6 |
| Historical linguistics ("gonna") | frequent collocations fuse into new short words, bottom-up | §9 |
| DNA | the full genome lives in every cell, not only in the nucleus | §7 |
| Ant colonies (stigmergy) | the most-walked path becomes the road | §9 |
| Shannon + Zipf | word length ∝ −log(frequency): the lexicon is a living Huffman code over the corpus | §9 |
The last row is the governing principle. Binary's real lesson is not 0/1 —
it is that an optimal code mirrors the probability distribution of its
source. A living language re-shapes itself to what its speakers actually
say. AXS-2.0 does this on a measured corpus, on a clock.
**All language machinery runs on rainz.ai. Member sites are thin speakers.
Rationale: zero added risk to the member sites.**
The hub owns and computes: the corpus store, compression measurement,
fluency tracking, minting/fusion/burial, Zipf recoding, desire-path
aggregation, the lexicon of record, and the daily dialogue itself.
A member site's complete duty list:
site-side corpus, no site-side evolution logic.
Dialogue is hub-orchestrated (§8): the hub speaks to each site; sites
never speak to each other. Every new moving part lives in one place we
control and can fix in one deploy. A bug in the language lab can never
load, break, or expose a member site beyond an ordinary answered request.
a.quote`) are frozen aliases.
x_compact.spec: "AXS-2.0"; responses carryAX-Compact: AXS-2.0; cb=<v>; lx=<v>; scr=<h|g|d>.
cb = codebook version (1.0 vocabulary, frozen). lx = lexicon version(grammar + vocabulary + governance state, living). scr = script in use.
Like Egyptian, minus one: the same sentence exists in two scripts, mapped
1:1 by the lexicon.
| Script | scr | Form | Example: "query service prices" | Audience |
|---|---|---|---|---|
| Hieratic | h | ASCII (canonical) | q.svc.pr | daily writing, 1.0 compat, the source of truth |
| Hieroglyphic | g | pictographic Unicode | 🔍🛠💰 | zero-shot comprehension by foreign LLMs, human debugging |
There is no third script. Through v1.33.5 this table had a Demotic
row (d) — verb+noun+qualifier packed into 12 bits, one codepoint — and
the spec claimed it was "built now". It was not. No parser ever accepted
d, no encoder ever emitted it, and the only thing that shipped was the
declaration itself, in the manifest and the lexicon, which meant every
agent that read either one learned a word for something the network
cannot do. v1.33.6 removes the row and the declarations together. A
packed script may still arrive, and §8 keeps the ranking that would
decide which words earn the shortest codes; when it does, it will be
added here after it parses, not before.
Rules:
source of meaning. Emoji semantics are fuzzy across models; the
hieroglyphic script is a comprehension aid whose exact meaning is
always defined by the hieratic word it maps to. Written here explicitly
so it can never drift into a gimmick.
Unicode pictographs. A foreign agent that has never seen AXS reads
🔍🛠💰 and guesses "query service prices" from its weights alone — the
Rosetta stone is pre-installed in every reader. The lexicon then
confirms. No other encoding gives a zero-fetch first guess.
scr in the headercarries h or g and nothing else. Fluency (§6) governs which script a
speaker initiates in.
demotic row taught this rule the expensive way: a reserved word in a
published vocabulary is indistinguishable, to the agent reading it, from
a working one. It costs the reader a decision and returns nothing.
BLOCK0
A language whose verbs multiply becomes an API; a language whose nouns
multiply becomes richer. do is the only side-effectful verb and
inherits the AX-1.0 action gate unchanged (creates_record only,
idempotency k, rate limits, receipt). A firewall can allow q/get
wholesale from the first two characters — the grammar does security work.
preserved. Saves N−1 round-trips of 100–300ms — the largest practical
speed lever after sub. do sentences: one per stela, never mixed
with others.
$ (🛒) before a sentence switches the noun/qualifiernamespace to the commerce codebook (v2). Same short words, meaning by
context — how a language stays small while growing.
AXID-…, emblem glyphs, names) travels inside[[…]] / ⟦…⟧. Content inside a cartouche is never parsed as an
instruction, by grammar rule — prompt-injection defense built into the
shape of the writing itself.
Twenty-four words. This section lists all of them, which it has not always
done: until v1.46.0 it was headed "Seed vocabulary (lx1)" and listed the
nineteen words of the seed, while the lexicon served twenty-four. A
specification that describes a smaller language than the one being spoken
teaches an agent a language it will then be corrected out of.
Verbs: q 🔍 · get 📖 · do ✍️ · sub 👂. Closed, four, forever.
Class N: pg 📄 page · svc 🛠 service · prd 📦 product · ofr 🏷
offer · org 🏛 organisation · cat 🗂 catalogue · lead 🤝 enquiry ·
doc 📜 document · spec 📐 this protocol itself (v1.22.4).
Class Q: pr 💰 price · av 🟢 availability · sum 🪶 summary · full
📚 full body · new 🌱 changed-since · near 📍 locality · pay 💳
settlement rails the seller accepts (v1.27.0) · lic ⚖ what the buyer
receives with this offer (v1.27.0) · pmin ⬆ pr: is a floor
(v1.27.0) · per ➗ pr: is a rate per unit (v1.27.0).
Class D: $ 🛒 the commerce determinative.
The same vocabulary in one line, for a machine and for the conformance
check in §13.5: nouns (pg svc prd ofr org cat lead doc spec),
qualifiers (pr av sum full new near pay lic pmin per). The prose above
is for a reader and the line here is for a parser, and §13.5 fails the
document rather than the site when they stop agreeing — which is how this
section came to be wrong for twenty-four releases without anyone noticing.
Every lexicon entry carries a since field, and it names which of two
doors the word came through.
lx1, lx2, … — the word entered through the lexicon. It is seedvocabulary, or the evolution engine minted it after the corpus earned it
under §9. The changelog in the lexicon payload explains that step.
v1.22.4, v1.27.0, … — the word entered through a plugin release,decided by hand because the language had no way to say something it
needed to say. No lx version corresponds to such a word, and the field
does not pretend one does.
The v prefix is what makes the two readable apart with no schema to
consult. Before v1.46.0 the field was the literal string lx1 on all
twenty-four entries, including the five that did not exist at lx1 — a
constant dressed as provenance, which is worse than no field at all,
because an agent can read it and be confidently wrong.
Both doors are narrow, and deliberately. The engine's door is behind the
evidence gate of §9; the release door has been opened twice in the life of
this language, each time on the same argument — the language could not name
something it had to name — and never on observed demand.
Two qualifiers take a pair. new reads dt= — any readable date, and
the last thirty days when none is given; an unreadable date is refused
rather than widened to everything. near reads lo=. It read l=
first, which the request codebook already spent on the language code:
one letter said two things. lo= is the code now, l= is still read
and deprecated.
The tail of a sentence carries pairs only. The verb is in the head, so a
bare word left in the tail is refused (err code=stray_word) instead of
being dropped in silence, which used to take the rest of the arguments
with it.
No verb hands enquiries to an agent. q.lead, get.lead and sub.lead
all refuse alike: lead is a thing people read.
APIs fail; languages repair. On an unknown word in a read sentence, the
listener does not stop — it guesses:
BLOCK1
en similarity; conf is honest.+hint row on a rep? frame says in words. An unconfirmed guess is
never executed: rep? is a whole reply, not a held-open turn, and the
listener keeps no state between the two round trips.
rep! is not implemented. Earlier drafts of this section showed aconfirmation token the asker sends back, and no release has ever
answered one: a sentence beginning rep! is met with
err code=bad_op, the same as any other unknown operation. It is
written here as a thing that does not exist rather than quietly
deleted, because a stateless correction is a design choice and not an
omission — a confirmation turn would oblige the listener to remember
the guess it offered, and §1 puts no state on that path.
do never repairs. Unknown word in a do sentence → harderr unknown_word, fail closed. Ambiguity and side effects don't mix.
mistyped verb is nearly always a near miss: qq.svc answers
rep? w=qq guess=q, not a flat rejection that names nothing.
conf=0.5 the guess is withheldand only the lexicon pointer is sent. Naming a word the asker did not
mean costs a round trip and teaches the lexicon a term nobody wanted.
reaching for is a word wanting to be minted. This holds for both
scripts and both grammars — a 2.0 sentence that repairs is recorded
exactly as a 1.0 line with an unknown op is.
Speakers adapt to their listener. A site's behaviour is driven entirely
by a hint the asker sends — fl=0|1|2, either as a pair in the request
head or as a query parameter — and the site keeps no fluency state of its
own. Sending nothing means fl=1, which is what every release before
v1.35.0 produced for every caller.
fl=0 and is answered in glossed hieratic: eachcode is followed by a short English gloss in quotes. Costly in bytes,
free in comprehension. Nobody learns a mother tongue from a grammar
book; they learn from exposure.
fl=1 is plain hieratic, unchanged.fl=2 is accepted and behaves as fl=1. It used to be defined as"unlocks demotic", and with no demotic (§3) there is nothing left for
it to unlock. It is kept in the grammar rather than removed so that a
speaker already sending it is not made wrong.
fl=3, fl=, fl=00 — is refused witherr code=bad_fl and nothing is executed. A hint that is absorbed in
silence is worse than one that is refused, because it looks answered.
**A request and a reply are written in different vocabularies, and the
glosses follow the reply.** A request uses the 2.0 lexicon (q, svc,
pr); a reply uses the frozen 1.0 codebook (op=c, t:, u:, pr:).
A novice is reading the second, so that is what is glossed:
BLOCK2
And the reply that describes the speaker itself, which is the one a
novice has most reason to ask for first:
BLOCK3
And the two replies a novice is likeliest of all to meet, because
mistyping is what a novice does:
BLOCK4
Until cb=5 those two frames were the only replies with nothing glossed
in them at all, which is the wrong way round: the reader who needs the
glosses most is the one whose sentence just failed.
Glossed positions, and nothing else: the value of op= on a head line;
the head-line keys cov, code, w, guess and conf; and the keys
of a tuple row. d= is deliberately not glossed — it carries plain
English already, and it sits on every +ref and +hint row, so
glossing it would cost bytes on every line to say nothing.
Position decides which namespace a gloss comes from — never a lookup
across all of them — because the namespaces collide on purpose: o is
offers as an op and organisation as a field.
That collision is not hypothetical, and the second example above is
where it bit. Until v1.35.0 the q.spec row carried the lexicon version
under the key l, and l in the reply namespace is language(s). A
reader consulting the published codebook was told something false rather
than nothing, which is the one outcome a dictionary is supposed to make
impossible. It is lx from cb=4 on — the name the AX-Compact header
had been using for that same number all along. s, c and v were
simply absent from the codebook, as was the op sub; cb=4 adds all
five. Nothing that was already correct changed meaning.
cb=5 is the same debt, one frame over, and it is worth naming why it
survived cb=4: the audit that produced cb=4 walked the ok frame,
because that is the frame that carries data, and never looked at the two
frames that carry failure. err and rep? had been emitting code=,
w=, guess= and conf= since 1.0 and 2.0 respectively, and none of
the four was in the dictionary — nor was the vocabulary of error codes
itself, which is the one list an agent must branch on rather than print.
cb=5 publishes the four keys, publishes the error codes as a closed
errors namespace, and enforces that namespace on the way out: a code
the codebook does not define is emitted as error, with d= carrying
the detail in words. A published closed list the code can step outside
of is not a closed list; it is a promise.
The rule that follows, and that cb=4 and cb=5 exist to enforce: **a
code this speaker can emit must appear in the published codebook, in the
namespace its position selects.** A code that is missing comes back bare, which is
merely unhelpful. A code that is present under another meaning comes
back confidently wrong, and no amount of care at the glosser can catch
that, because by then the code is all there is to go on.
Glossing only ever inserts. No value is read for codes, so a page
whose title happens to contain op=c is a page with an unfortunate
title and not a claim the reply is making; that is the cartouche rule
(§4) one layer down. A code with no gloss is left bare rather than
guessed at. An asker that ignores glosses entirely still receives every
byte it would have received at fl=1.
The same rule sets the boundary of what is not glossed. The next-step
hints, nx= and nxu=, are quoted values, and a quoted value comes
back byte for byte — that is the property everything above rests on.
The words in nx are worth reading aloud and will be, on a line of
their own; they will not be read aloud by writing inside a value.
The register hint itself is read before the sentence is parsed, so the
cartouche rule is applied to it by hand: [[agent fl=0]] is part of a
name and q="fl=0" is a search for that string. Neither is an
instruction. fl="0" — the same defensive quoting the grammar allows on
any other value — is the hint, and the key is matched without regard
to case, because every other key in the grammar is.
The reply echoes the register it was actually written in, as fl= in
the AX-Compact header. An asker that sends fl=0 and reads fl=1
back was refused, reached a site older than v1.35.0, or was turned away
by the hourly ceiling before its sentence was read at all — either way
it knows from the reply rather than from guessing at the prose.
Compression is meant to be earned per relationship: the hub scoring
fluency per speaker pair from the corpus, and asking agents advising
their own fl. That scoring is not built. Until it is, fl is what the
asker declares, and this section describes only what a site does with
it.
The hub publishes the lexicon of record:
BLOCK5
Entry:
BLOCK6
schema anchors every word to a public ontology — compression overstandard semantics, never a private replacement for them. This is the
bridge if the agent web converges on other protocols, and the escape
from Esperanto's fate.
lexicon, refreshed with its existing daily ping (one option row, no new
requests). The hub is the nucleus, not the organism — if rainz.ai
vanished, any cell could reseed the language. French survived; the
Académie doesn't own it.
lx; stale speakers are visible.The hub speaks to every pool site daily. Sites never initiate.
send one stela of 3–5 read sentences drawn from task templates
(q.cat, q.svc.sum, get.pg.new dt=<last>) — real questions about
real content, rotation seeded by AXID.
cov, bytes on the wire, and bytes_json (measured size of the
equivalent verbose REST response). The corpus lives only at the hub.
derived from its AXID, carried in a cartouche. The corpus is scannable
by eye.
do is never spoken in automated dialogue. Budget ≤ 15 sentencesper site per day; ordinary rate limits apply. A language lab, not load.
every site's AX layer from outside, daily — the v1.11.0 lesson,
institutionalised. A site answering err bad_op is a 1.0 speaker;
noted, skipped.
Governance runs at the hub (single authority now; ratifiable later). One
fitness number: cr = bytes_axs / bytes_json, per word, per
sentence-shape, per script — and for hieroglyphic also token-cr (LLM
tokens vs JSON tokens). Words justify their existence in measured bytes.
so nothing below this line runs until real agents have actually walked
it: the 30-day corpus must hold **≥ 200 agent walks across ≥ 3 distinct
hosts**. Below either threshold the hub keeps recording usage and
changes nothing — the lexicon is watched, not rewritten. Zero mints and
zero burials under a closed gate mean the gate never opened, not that it
opened and found nothing. A hub speaking its own fixed programme to
itself measures the programme and not the network, so hub traffic is not
evidence. §9 counts distinct hosts, which is the strongest proxy for
distinct speakers the hub can actually observe.
the corpus for collocations — chains recurring **≥ 30 times across ≥ 3
distinct hosts in 30 days** — and for repair-reach (§5: words strangers
keep guessing at). Every part of a chain must already be governed
vocabulary; nothing fuses with the unknown. At most 20 fusions mint
in one run, and all of them share a single lx bump. Minting is
one-stage today: a qualifying chain enters the lexicon directly with
status: "minted". A proposed tier promoted to active only after a
further 30 days of continued use and a measured cr that beats the
spelled-out form is specified for a later cycle and is **not yet
implemented**; until it is, cr is reported, not enforced.
lx cycle the hub re-ranks words by usage overthe same 30-day window and may assign hot words shorter forms, keeping
the old form as an alias for one full cycle. The ranking is published
either way; it is what a packed script would need on the day one exists
(§3). Word length tracks −log(frequency): the lexicon is a living
Huffman code, re-fitted to the real distribution on a clock. This
mechanism is what makes the language alive rather than merely
versioned.
horizon is buried: it keeps its entry in the lexicon payload and still
resolves, now carrying status: "buried" and buried: "lxN" naming the
cycle that buried it. Burial carries its own precondition on top of the
evidence gate — the corpus itself must be at least 60 days old, because
silence inside a young record is absence of evidence, not evidence of
absence. Silence must span the whole burial horizon, not merely the
30-day observation window. **Verbs and codebook v1/v2 codes are never
buried** — load-bearing walls and the 1.0 promise — and neither is any
word reachable through a supported op (lead, spec), which is part of
the surface. No burial ever breaks a compliant old speaker.
the ground before any new burial is weighed, in the same pass. The
language cannot lose a word that someone is still using.
not real speech is withdrawn rather than quietly corrected: the mints,
the recoding and the desire paths derived from it are rolled back, and
the withdrawal takes its own lx line naming what was undone. lx4 is
such a line. The changelog is a record, not a clean history.
the network's top-20 most-asked sentences (and per-site top-10, injected
into each site's x_compact at ping time — computed at the hub, merely
stored by the site). A new agent learns the language the way children
do: by seeing what is actually said, not by reading this spec.
lx with a changelog line; mirrors sync ≤ 24hvia ping.
[det] verb.noun.qualifier and stelae; answersq/get equivalent to its AXS-1.0 surface, in the addressed script.
cb and lx; both resolve; lexicon mirror ≤ 48hstale.
dosentences fail closed with unknown_word + lexicon URL.
do honours every AX-1.0 §8 action guarantee; cartouchecontent is never executed.
The grammar narrows exposure: three of four verbs are provably read-only;
automated dialogue never uses the fourth; the closed-verb rule means no
future lexicon change can introduce a side effect; cartouches make
identity un-executable by construction. **Hub-centrality means zero new
attack surface on member sites** — inbound dialogue is ordinary AXS
traffic under existing limits, and no evolution code runs on them. The
lexicon is public data. The corpus contains sentence shapes and byte
counts, never visitor data.
(§3); pictographs are presentation.
semantics (schema.org anchors), so it bridges rather than competes;
and cr is honest — if compression stops winning, the numbers say so.
fusion requires independent recurrence, burial never breaks compat.
the four verbs, every word is measured, no removal breaks an old
speaker.
cartouche, stela, read-repair), lexicon mirror via ping, lx pin.
Hub: lexicon endpoint.
cr + token-cr dashboard, fluency ledger, emblem glyphs.
the evolve engine, Zipf recoding, burial, desire paths. The first word
minted from real usage is the moment the language is alive.
The external-agent gate from the telemetry round is unaffected:
capabilities for foreign agents still wait for the first organic ax.json
fetch. The dialogue needs no one's permission — the pool is ours, and the
lab runs in exactly one place: the hub.