Documentation
When people hear terms like "AI Agents," "Protocols," "MCPs," "Harnesses," and "Operating Systems" in the same breath, they often get confused or overwhelmed. They ask: "Is RAIA (Real estate Artificial Intelligence Agent) a software you downloa
When people hear terms like "AI Agents," "Protocols," "MCPs," "Harnesses," and "Operating Systems" in the same breath, they often get confused or overwhelmed. They ask: "Is RAIA (Real estate Artificial Intelligence Agent) a software you downloa
A2A Hierarchy Explained
When people hear terms like AI Agents, Protocols, MCPs, and Operating Systems together, confusion follows. This guide demystifies the agentic real estate web by explaining how each layer fits into the RAIA (Real estate Artificial Intelligence Agent) ecosystem.
The Simple Guide to A2A: Protocols, Agents, & The Operating System
Concept BlueprintDemystifying the Agentic Real Estate Web
When people hear terms like "AI Agents," "Protocols," "MCPs," "Harnesses," and "Operating Systems" in the same breath, they often get confused or overwhelmed. They ask: "Is RAIA (Real estate Artificial Intelligence Agent) a software you download? Is it an API? Is it a database?"
Let's clear up the confusion completely. To conceptualize the ecosystem, imagine a Deep Space Mission. It takes several distinct, logical layers to make the astronaut succeed on the planet surface. Here is how our concepts map perfectly to the mission:
1. The Metaphor: The Deep Space Mission
Metaphor MappingRAIA (Real estate Artificial Intelligence Agent) (The Agent)
The Astronaut
The autonomous Agent (the "astronaut"). RAIA (Real estate Artificial Intelligence Agent) is the actual worker on the ground. It reads tenancy agreements, speaks to tenants via WhatsApp, registers deposits, and coordinates keys. It carries out active, goal-oriented tasks.
The Harness
The Spacesuit
The Harness is the protective safety scaffolding surrounding the raw LLM model. It keeps the model focused, feeds it precise history, prevents "hallucinations," and blocks invalid tool calls, ensuring the agent operates safely.
MCP (Model Context Protocol)
The USB Plugs & Ports
MCP is the plug-and-play standard developed by Anthropic. It allows the agent to safely connect "hands and eyes" to secure databases, filesystem paths, and external third-party APIs without hardcoding custom code adapters.
RAIA (Real estate Artificial Intelligence Agent) Protocol (The Language)
The Communication Standard
The RAIA (Real estate Artificial Intelligence Agent) Protocol is the structured layout and standard format (e.g. listing.json) that agents use to encode property details. It ensures any agent on the network can immediately read and parse the data.
A2A Protocol
The Secure Handshake
The **Agent-to-Agent (A2A)** Protocol is the decentralized messaging network layer. It enables two sovereign agents (e.g. from Agency A and Agency B) to securely text requirements and match listings directly without going through central websites.
RAIA™ (Real estate Artificial Intelligence Agent) OS (The Operating System)
The Mission Control Brain
The **RAIA (Real estate Artificial Intelligence Agent) OS** is the continuous orchestration environment. While traditional CRMs wait for humans to click a button, the OS autonomously schedules checks, manages database states, triggers compliance sweeps, and runs the entire business 24/7.
2. How the Components Fit Together In Practice
System IntegrationTo see how this works in a real lettings transaction, let's trace an automated safety compliance task:
- The OS Detects: The **RAIA (Real estate Artificial Intelligence Agent) OS** runs a nightly cron job, scans the database, and flags that *Flat 4's* Gas Safety Certificate is expiring in 30 days.
- The OS Instructs: The OS spins up a **RAIA (Real estate Artificial Intelligence Agent) Agent** task to resolve this threat.
- The Harness Tames: The agent's LLM core is wrapped in our **Harness**, which prevents it from making up fake safety certificate agencies or typing hallucinated URLs.
- MCP Plugs in: The Harness uses **MCP (Model Context Protocol)** to securely read the contractor database table and query the GCS file buckets.
- The Agent Contacts: The Agent contacts our Gas Safe contractor via WhatsApp, schedules the check, and collects the fresh PDF.
- The OS Archives: Once the PDF is uploaded, the **OS** automatically updates the asset's compliance state, logs the audit trail, and issues payment reconciliation via automated bank reconciliation gateway.
The Human-in-the-Loop (HITL) Gate
The entire journey is run **100% autonomously** by the OS and the Agent. Human operators do not need to click a single button to prompt the check, coordinate with the contractor, or log the document.
Repository Code
The live codebase implementation for this specification sits within the following repository folder:
The Complete RAAA™ Network Architecture
Visual Framework MapArchitecture 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 |
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 |
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.