RAIA™ Specification

Documentation

A step-by-step logical blueprint guiding developers, partners, and investors through the complete architecture of the decentralized real estate web—from cryptographic domain setup to automated market-pricing engines.

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

A step-by-step logical blueprint guiding developers, partners, and investors through the complete architecture of the decentralized real estate web—from cryptographic domain setup to automated market-

🧩 Section A: In Plain English

RAIA (Real estate Artificial Intelligence Agent) A2Z Map

The A2Z map is a complete architectural blueprint of the decentralized real estate web — from cryptographic domain setup to automated market-pricing engines, all in one logical flow.

The End-to-End A-Z Structural Flow

A complete macro schematic showing how sovereign credentials, directory registries, transaction pipelines, and compliance layers interact under the RAIA™ (Real estate Artificial Intelligence Agent) Protocol:

1. Domain Identity A: Agent Card Spec B: Cryptographic DNS Token 2. Trust Indexer G: Global Directory Registry S: Google Spark A2A Mapping 3. Data Pipelines F: Forensic Backfilling V: Conversational Voice Ingest 4. State Engine J: Job State Machine

Repository Code

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

text-anchor="middle">T: Cost-Optimized Routing 5. Valuation & Health Q: Quality Scoring (DQS) Y: Yield Valuation Engine 6. Compliance Shield C: Consensual GDPR Ledger I: Strategic Legal Shield 7. Enterprise Outcome N: PLG Stealth Scaling Z: Zero-Trust Event Auditing Operational Legend Blue/Cyan: Cryptography & Discovery Purple/Orange: Data Ingestion & Automated Logic Red: Legal & Compliance Green: Stealth Scale Outcomes
🔧 Section C: Developer Guide

Architecture Details

The security architecture implements a defence-in-depth model with perimeter authentication, internal authorisation, data encryption, and audit logging at every layer. Access is gated through a two-gate system: Tailscale identity verification at the network level, followed by role-based access control within the application.

  • Core Component: Security gate guard and RBAC enforcement
  • Data Flow: Request → Tailscale Gate → Authentication → Authorisation → Audit Log → Response
  • Integration Points: Tailscale ACLs, Supabase Row-Level Security, session tokens, and audit log sinks

Configuration Reference

Key configuration parameters for this system:

Parameter Type Default Description
gate_enabled boolean true Enable Tailscale gate guard for all pages
allowed_hosts string[] dev.estateaigents.com, localhost Whitelist of permitted hostnames
session_ttl_minutes integer 60 Session token time-to-live
SECURITY ARCHITECTURE — DEFENCE IN DEPTH 1. NETWORK GATE Tailscale Identity Network-level Auth 🔐 Tailscale Gate 2. APPLICATION GATE RBAC Enforcement Session Validation 🛡️ Auth Layer 3. DATA GATE RLS & Encryption Audit Logging 🔒 Data Protection Defence-in-depth: network gate → application gate → data gate with audit logging at every layer Tailscale identity · Role-based access · Row-level security · Full audit trail Network / Identity Gate Application / Auth Layer Data / Encryption Layer Data flow →

Figure 2: Security architecture — component interaction and data flow.

Troubleshooting

Issue Cause Resolution
401 Unauthorized on tailnet Tailscale not running or wrong node Verify Tailscale is connected and node is authorised
Gate guard redirect loop Hostname not in allowed_hosts list Add hostname to the gate guard whitelist
Repo Reference RAIA

This component is part of the RAIA (Real estate Artificial Intelligence Agent) platform mono-repo. Implementation details, API contracts, and integration tests are available in the repository.