RAIA™ Specification

1.5 Portal Incumbent vs RAIA™ (Real estate Artificial Intelligence Agent) Sovereign Model (Comparison)

Embedded directly in the HTML. No JS, no library, no network request. Renders at page load instantly.

← Back to Developer Hub TEXTBOOK SPECIFICATION
RAIA™ (Real estate Artificial Intelligence Agent) Specification

Embedded directly in the HTML. No JS, no library, no network request. Renders at page load instantly.

← Back to Developer Hub TEXTBOOK SPECIFICATION
RAIA™ (Real estate Artificial Intelligence Agent) Specification

Embedded directly in the HTML. No JS, no library, no network request. Renders at page load instantly.

← Back to Developer Hub TEXTBOOK SPECIFICATION
RAIA™ (Real estate Artificial Intelligence Agent) Specification

Embedded directly in the HTML. No JS, no library, no network request. Renders at page load instantly.

← Back to Developer Hub TEXTBOOK SPECIFICATION
RAIA™ (Real estate Artificial Intelligence Agent) Specification

Embedded directly in the HTML. No JS, no library, no network request. Renders at page load instantly.

← Back to Developer Hub TEXTBOOK SPECIFICATION
RAIA™ (Real estate Artificial Intelligence Agent) Specification

Embedded directly in the HTML. No JS, no library, no network request. Renders at page load instantly.

← Back to Developer Hub TEXTBOOK SPECIFICATION
RAIA™ (Real estate Artificial Intelligence Agent) Specification

Embedded directly in the HTML. No JS, no library, no network request. Renders at page load instantly.

← Back to Developer Hub TEXTBOOK SPECIFICATION
RAIA™ (Real estate Artificial Intelligence Agent) Specification

Embedded directly in the HTML. No JS, no library, no network request. Renders at page load instantly.

← Back to Developer Hub TEXTBOOK SPECIFICATION
RAIA™ (Real estate Artificial Intelligence Agent) Specification

Embedded directly in the HTML. No JS, no library, no network request. Renders at page load instantly.

← Back to Developer Hub TEXTBOOK SPECIFICATION
RAIA™ (Real estate Artificial Intelligence Agent) Specification

Embedded directly in the HTML. No JS, no library, no network request. Renders at page load instantly.

← Back to Developer Hub TEXTBOOK SPECIFICATION
RAIA™ (Real estate Artificial Intelligence Agent) Specification

Embedded directly in the HTML. No JS, no library, no network request. Renders at page load instantly.

← Back to Developer Hub TEXTBOOK SPECIFICATION
RAIA™ (Real estate Artificial Intelligence Agent) Specification

Embedded directly in the HTML. No JS, no library, no network request. Renders at page load instantly.

← Back to Developer Hub TEXTBOOK SPECIFICATION
RAIA™ (Real estate Artificial Intelligence Agent) Specification

Embedded directly in the HTML. No JS, no library, no network request. Renders at page load instantly.

← Back to Developer Hub TEXTBOOK SPECIFICATION
RAIA™ (Real estate Artificial Intelligence Agent) Specification

Embedded directly in the HTML. No JS, no library, no network request. Renders at page load instantly.

← Back to Developer Hub TEXTBOOK SPECIFICATION
RAIA™ (Real estate Artificial Intelligence Agent) Specification

Embedded directly in the HTML. No JS, no library, no network request. Renders at page load instantly.

← Back to Developer Hub TEXTBOOK SPECIFICATION
RAIA™ (Real estate Artificial Intelligence Agent) Specification

Embedded directly in the HTML. No JS, no library, no network request. Renders at page load instantly.

← Back to Developer Hub TEXTBOOK SPECIFICATION
RAIA™ (Real estate Artificial Intelligence Agent) Specification

Embedded directly in the HTML. No JS, no library, no network request. Renders at page load instantly.

← Back to Developer Hub TEXTBOOK SPECIFICATION
RAIA™ (Real estate Artificial Intelligence Agent) Specification

Embedded directly in the HTML. No JS, no library, no network request. Renders at page load instantly.

← Back to Developer Hub TEXTBOOK SPECIFICATION
RAIA™ (Real estate Artificial Intelligence Agent) Specification

Embedded directly in the HTML. No JS, no library, no network request. Renders at page load instantly.

← Back to Developer Hub TEXTBOOK SPECIFICATION
RAIA™ (Real estate Artificial Intelligence Agent) Specification

Embedded directly in the HTML. No JS, no library, no network request. Renders at page load instantly.

← Back to Developer Hub TEXTBOOK SPECIFICATION
RAIA™ (Real estate Artificial Intelligence Agent) Specification

Embedded directly in the HTML. No JS, no library, no network request. Renders at page load instantly.

← Back to Developer Hub TEXTBOOK SPECIFICATION
RAIA™ (Real estate Artificial Intelligence Agent) Specification

Embedded directly in the HTML. No JS, no library, no network request. Renders at page load instantly.

← Back to Developer Hub TEXTBOOK SPECIFICATION
RAIA™ (Real estate Artificial Intelligence Agent) Specification

Embedded directly in the HTML. No JS, no library, no network request. Renders at page load instantly.

← Back to Developer Hub TEXTBOOK SPECIFICATION
Option A — Inline SVG

Hand-coded vector graphics

Embedded directly in the HTML. No JS, no library, no network request. Renders at page load instantly.

~4–8KB per diagram 0ms render time 0 dependencies
Staff clicks "View Identity Document" Purpose modal Select reason from 6 options tbl_pii_access_log write user · person · purpose · timestamp GCS signed URL 15-min expiry · watermarked viewer ACCESS FLOW

PII justified access flow — inline SVG, zero dependencies

<!-- Written by AI as XML coordinates --> <rect x="160" y="20" width="200" height="48" rx="8" fill="#e0e7ff" stroke="#4f46e5"/> <text x="260" y="40" text-anchor="middle"> Staff clicks </text>
Option B — Mermaid.js

Text-definition diagrams

Write plain text, JS library renders to SVG at load time. Self-hosted (3.3MB JS file on server). No CDN.

~200 bytes per diagram ~50ms render time 1 shared JS file
flowchart TD A["🖱 Staff clicks 'View Identity Document'"] --> B B["📋 Purpose modal Select reason from 6 options"]:::warning --> C C["📝 tbl_pii_access_log write user · person · purpose · timestamp"]:::success --> D D["🔐 GCS signed URL 15-min expiry · watermarked viewer"]:::info classDef warning fill:#fef3c7,stroke:#d97706,color:#92400e classDef success fill:#d1fae5,stroke:#059669,color:#065f46 classDef info fill:#cffafe,stroke:#0891b2,color:#164e63

Same diagram — Mermaid.js text definition, rendered client-side

# Written as plain text — AI writes this: flowchart TD A["Staff clicks View ID"] --> B B["Purpose modal"]:::warning --> C C["Access log write"]:::success --> D D["GCS signed URL"]:::info classDef warning fill:#fef3c7,stroke:#d97706

Side-by-side verdict

Criterion SVG Mermaid.js
Tokens to generateHigh — AI writes pixel coordinatesLow — AI writes plain text
Render speedInstant — no JS needed~50ms — JS renders on load
Works offline (Tailscale)Yes — self-containedYes — JS file on our server
CDN dependencyNoneNone (self-hosted)
Visual qualityFull control, pixel-perfectGood, less control over layout
Editable by humansHard — XML coordinatesEasy — plain text
Diagram typesAny (manual coding)Flow, sequence, Gantt, mindmap, ERD
ConsistencyVaries by subagent qualityAlways consistent output
Complex swim lanesBetter controlSupported but less flexible

Repository Code

The live codebase implementation for this textbook logic sits within the following repository folder:

Repository Code

The live codebase implementation for this textbook logic sits within the following repository folder:

Repository Code

The live codebase implementation for this textbook logic sits within the following repository folder:

Repository Code

The live codebase implementation for this textbook logic sits within the following repository folder:

Repository Code

The live codebase implementation for this textbook logic sits within the following repository folder:

Repository Code

The live codebase implementation for this textbook logic sits within the following repository folder:

Repository Code

The live codebase implementation for this textbook logic sits within the following repository folder:

Repository Code

The live codebase implementation for this textbook logic sits within the following repository folder:

Repository Code

The live codebase implementation for this textbook logic sits within the following repository folder:

Repository Code

The live codebase implementation for this textbook logic sits within the following repository folder:

Repository Code

The live codebase implementation for this textbook logic sits within the following repository folder:

Repository Code

The live codebase implementation for this textbook logic sits within the following repository folder:

Repository Code

The live codebase implementation for this textbook logic sits within the following repository folder:

Repository Code

The live codebase implementation for this textbook logic sits within the following repository folder:

Repository Code

The live codebase implementation for this textbook logic sits within the following repository folder:

Repository Code

The live codebase implementation for this textbook logic sits within the following repository folder:

Repository Code

The live codebase implementation for this textbook logic sits within the following repository folder:

Repository Code

The live codebase implementation for this textbook logic sits within the following repository folder:

Repository Code

The live codebase implementation for this textbook logic sits within the following repository folder:

Repository Code

The live codebase implementation for this textbook logic sits within the following repository folder:

Repository Code

The live codebase implementation for this textbook logic sits within the following repository folder:

Repository Code

The live codebase implementation for this textbook logic sits within the following repository folder:

Repository Code

The live codebase implementation for this textbook logic sits within the following repository folder: