Skip to content
docs
Arxo ↗

Protocols

For LLMs3 sections

Every way of working with Arxo Law — the MCP server, the client library, the command line, a page in the browser — exchanges the same documents. Their shapes are named protocols and published as JSON Schemas. A host that knows them can build a case, ask a question and read the answer without knowing how the answer was computed.

There are three of them.

ProtocolWhat it carriesSchemas
Arxo Fact Protocolwhat a host submits: the case with its facts and their origin, the question, pinned external dataevaluation-request, query, external-snapshot, case-export, source-mapping, fact-set, derived-facts
Arxo Decision Protocolwhat comes back: the answer document with statuses, the proof, the issues and the hashes; diagnostics by codeevaluation, query-result, diagnostic
Arxo Change Protocola change of the rules as an object: states before and after, the world it applies to, the mode of entry into force, and the dossier assembled from themchange-set, change-dossier

The whole catalogue, with the versions each schema accepts, lives at the schema catalogue.

The entry point: case, question, pinned program

Section titled “The entry point: case, question, pinned program”

A question to Arxo always has three parts. They are described in full on the Arxo Fact Protocol page; in short:

  • The case — the facts, each with an identifier and an origin (arrived with the case, taken from a pinned source, derived, decided by an authority), and the three dates of the question: the legal date, the decision date and the date of knowledge.
  • The question — one of the closed kinds: is a statement established, which values satisfy a condition, the value of a term, a deadline, the state of duties and powers.
  • The pinned program — which package, in which version, with which dependencies. The host names it; it never sends a program of its own under someone else’s answer.

What comes back is not a bare status but a document: the manifest, a result for each question, the proof graph, the list of issues and the positions of the parties. How to read it is the subject of the Arxo Decision Protocol page.

FieldNamesExampleChanges when
schemaVersionthe shape of the documentlaw.core.evaluation/0.2a field, a node or an enumeration value appears
semanticVersionthe meaning it was computed under0.2a correction changes the meaning while the shape stays

Both numbers are present in every message. A new field arrives only with a new schemaVersion; enumerations grow only with a new version; nothing is removed or renamed; an unknown field is rejected before any computation. The full rules are on the Versions page.

A host that follows these rules keeps working when a new version appears: it reads the version it knows and refuses, by name, a document it does not.

Documentation for Arxo. Writings — blog.arxo.io.

Anonymous visit counts on stats.arxo.io, no cookies.