XORAS: Sovereign Multi-Agent Architecture & State Isolation

Official Research Paper & Architecture Specification

Author: Anthony Junior Oxendine (@AnthonyOxe93342)
Organization: XORAS Systems
Distribution: PyPI Package v2.4.3 | GitHub Repository | YouTube Channel


Abstract

Modern multi-agent architectures suffer from three critical points of systemic failure:

  1. Unowned Shared State & Data Corruption: Multiple autonomous agents reading and mutating shared blackboards without clear single-writer boundaries produce silent race conditions and lost updates.
  2. Evaluator Blind Spots & Self-Grading: When an agent self-evaluates or hands off verification to another agent sharing the same prompt or model context, defects are rubber-stamped.
  3. Paging Thrash in Multi-Model Deployments: Swapping heavy LLM weights continuously across local GPUs degrades execution latency.

We introduce the XORAS Sovereign Architecture, an empirical multi-agent runtime governed by formal Judge-Gate State Isolation, Witness-Gate Optimistic Concurrency Control (CAS), an Independent Blackbox Validation Engine, and a 24-Head 18,432-Dimensional Poincaré Hyperbolic Tensor Lattice.


1. Judge-Gate & Witness-Gate State Isolation

1.1 The Single-Writer Principle (Judge-Gate)

Untyped, unowned shared state violates state isolation. In XORAS:

  • Every key in the global memory fabric requires an exclusive designated Owner Agent ($A_{\text{owner}}$).
  • Collaborating agents may propose state mutations via structured delta tickets, but only $A_{\text{owner}}$ possesses write commit authority.
  • Non-owner mutation attempts fail closed immediately: Commit(k,a,v)={Proceedif a=Owner(k)Abort (JUDGE_GATE_VIOLATION)otherwise\text{Commit}(k, a, v) = \begin{cases} \text{Proceed} & \text{if } a = \text{Owner}(k) \\ \text{Abort (JUDGE\_GATE\_VIOLATION)} & \text{otherwise} \end{cases}

1.2 Monotonic CAS & Zero Lost Updates (Witness-Gate)

All writes enforce Compare-And-Set semantics requiring matching expected_version: CAS(k,vexpected,vnew)={vnewif Version(k)=vexpectedReject (WITNESS_GATE_VIOLATION)otherwise\text{CAS}(k, v_{\text{expected}}, v_{\text{new}}) = \begin{cases} v_{\text{new}} & \text{if } \text{Version}(k) = v_{\text{expected}} \\ \text{Reject (WITNESS\_GATE\_VIOLATION)} & \text{otherwise} \end{cases}

In empirical 20-thread parallel collision benchmarks colliding on the identical base version:

  • Direct collision: Exactly 1 thread commits; 19 stale mutations are safely intercepted.
  • Retry loop: 20 sequential operations complete with exactly 0 lost updates.

2. Independent Blackbox Validation

To prevent validating agents from sharing author blind spots:

  1. The Independent Validator accepts zero author context, zero conversational chain-of-thought, and zero subjective assurance statements.
  2. Evaluates solely against:
    • Abstract Syntax Tree (AST) structure and syntax trees.
    • Strict function schema contracts.
    • Subprocess sandbox execution exit codes ($\text{code} == 0$).
  3. Deliberately injected syntax errors, missing schema definitions, and runtime exceptions are rejected fail-closed without advance notification.

3. Mathematical Foundations: The 18,432-D Poincaré Lattice

The XORAS semantic memory fabric organizes contextual representations within a 24-head hyperbolic embedding space: Dtotal=24 Poincareˊ Heads×768 Dimensions=18,432 Dimensions\mathcal{D}_{\text{total}} = 24 \text{ Poincaré Heads} \times 768 \text{ Dimensions} = \mathbf{18,432\text{ Dimensions}}

Under the Poincaré ball model with constant sectional curvature $K = -1.0$, the geodesic distance between representation nodes $u, v \in \mathbb{B}^n$ is computed via: dB(u,v)=arcosh⁡(1+2∥u−v∥2(1−∥u∥2)(1−∥v∥2))d_{\mathbb{B}}(u, v) = \operatorname{arcosh}\left(1 + 2 \frac{\|u - v\|^2}{(1 - \|u\|^2)(1 - \|v\|^2)}\right)

This metric guarantees hierarchical tree preservation with minimal distortion compared to Euclidean vector spaces, queried at sub-millisecond latencies across local Apple Silicon unified RAM and bare-metal Windows RTX GPU nodes.


4. Verification Receipts

All claims in this paper are tied to physical, immutable disk artifacts:

  • Concurrency Receipt: memory/catch_log/STATE_ISOLATION_CONCURRENCY_RECEIPT.json
  • Two-Agent Receipt: memory/catch_log/TWO_AGENT_ZERO_LOST_UPDATES_RECEIPT.json
  • Independent Validator Receipt: memory/catch_log/INDEPENDENT_VALIDATOR_RECEIPT.json
  • Interactive Demo: Hugging Face Spaces: XORAS-SENTINEL
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Collection including XORAS-CORE/xoras-agent-framework