The Pyramid
The Pyramid is the main operational control surface for estate agents within the RAIA™ (Real estate Artificial Intelligence Agent) platform. This overview document explains its architecture, four quadrant views, and how they relate to each other.
The Pyramid is the main operational control surface for estate agents within the RAIA™ (Real estate Artificial Intelligence Agent) platform. This overview document explains its architecture, four quadrant views, and how they relate to each other.
The Pyramid Overview
The Pyramid is the main dashboard for letting agents — four screens in one: a filter view to find properties, an audit trail for AI activity, a compliance checker, and a live feed of automated tasks.
The Pyramid is the main dashboard that letting agents use to manage their properties. Think of it like four screens in one: a filter view to find what you need, an audit trail to see what the AI has been doing, a compliance checker to spot problems, and a live feed of automated tasks running in the background. This page explains how all four fit together.
The Pyramid
RAIA™ (Real estate Artificial Intelligence Agent) Platform — Primary Operational Control Surface
The Pyramid is the main dashboard and control interface through which estate agents interact with the RAIA™ (Real estate Artificial Intelligence Agent) platform. It is named for two interlocking ideas: its hierarchical view structure — from high-level portfolio overview down to individual task level — and its nested agentic loops, a pyramid of autonomous processes running underneath every session. This page is the parent document for the four Pyramid specification sub-modules.
Canonical URL
https://docs.estateaigents.com/user-guide/pyramid-overview.html
Intended Audiences
Who This Is ForThis document suite is written for three distinct reader types. Each audience interacts with the Pyramid differently — understanding this mapping prevents misreading the specifications.
Operations Staff
The primary end-users. They interact with the Pyramid daily to manage properties, tenants, compliance tasks, and agentic outcomes. The Lenses UX and Compliance Dashboard specs are most relevant.
- → Filter portfolios by role lens
- → Monitor compliance status per tenancy
- → Review and approve AI-raised actions
Frontend & Platform Engineers
Building and maintaining the Pyramid UI components. The Lenses UX and AI Audit UX specs define the component models, state machines, and data contracts expected from the API layer.
- → Implement filter lens switching
- → Render AI audit trails and HITL panels
- → Connect to agentic loop status streams
Autonomous AI Agents
Hermes agents querying pyramid state via the RAIA™ (Real estate Artificial Intelligence Agent) A2A protocol. The Agentic Loops and AI Audit specs define the canonical state model, loop invariants, and audit schema expected when agents read or write pyramid context.
- → Query loop state via A2A protocol
- → Emit audit-trail-compliant decisions
- → Respect tier invariants before escalating
What Is The Pyramid?
Core ConceptThe Hierarchy of Views
Every screen in the Pyramid UI sits at exactly one level of the rental hierarchy. From the broadest portfolio-level overview down to a single task on an individual tenancy, the Pyramid enforces a strict top-down dependency model: no lower-level action is valid unless its parent tier is in a satisfied state.
This hierarchy is not merely visual. It is operationally enforced — a tenancy cannot be marked live if its parent property has a failed compliance gate, and a property cannot be let if its parent landlord entity has a pending KYC block.
The Nested Agentic Loops
Beneath every human-facing view, RAIA™ (Real estate Artificial Intelligence Agent) operates a stack of autonomous background loops — one per pyramid tier. These loops run continuously, evaluating state, raising compliance flags, dispatching comms, and progressing tenancy workflows without waiting for human input.
Upper-tier loops cannot execute until lower-tier invariants are satisfied. This creates a natural dependency pyramid: the Ownership loop gates the Property loop, which gates the Tenancy loop, which gates the Task loop. Agents operate inside this constraint graph — not above it.
Key Principle
The Pyramid is not a dashboard over an autonomous system. It is the unified interface through which humans and agents share the same operational state — with agents operating asynchronously inside the same tier constraints that govern human decisions.
Diagram 1: The Pyramid — Hierarchy of Views
🎬 Dynamic Video Explainer & Production Lab
Video Spec (ADR-136)The Upside-Down Pyramid Paradigm is our core mental model: as you drill down into more specific property details, your operational volume decreases, but compliance stakes rise dramatically. To convey this mathematical shift clearly to investors and staff, we host a dynamic video explainer directly within this page.
"The Upside-Down Pyramid: Visualizing B2B Autonomy"
Watch our mathematically perfect motion graphics animation explaining the four quadrants of the Pyramid (4:12 mins).
🛡️ Red Team Production Recommendation: Manim CE vs AI Video Generators
Generic cinematic video generators (like Luma or Sora) suffer from severe **geometric hallucinations** and text-rendering errors when illustrating precise data flows, resulting in messy, distorted layouts.
The Solution: We recommend a hybrid production workflow. We use **Google NotebookLM's** unmatched, conversational dual-host Audio Overviews to generate the spoken track, and pair it with vector-sharp, mathematically perfect motion graphics generated via the open-source **Manim CE (3Blue1Brown's animation engine)**.
"Generate a deep-dive, conversational B2B podcast between two tech-savvy hosts discussing the 'Upside-Down Pyramid' real estate software paradigm. Explain simply how Lenses UX controls the view, Compliance Dashboards act as the legal ledger, AI Auditing logs decisions, and Agentic Loops run autonomous pipelines in the background. Keep the tone punchy, smart, and highly technical."
"A futuristic, dark-themed 3D motion graphics animation of a glowing translucent geometric pyramid floating in a clean server room. The pyramid rotates 180 degrees in 3D space to flip upside down. Neon lines in blue, purple, and green trace between 4 quadrants. Clean HUD labels read: 'LENSES', 'AUDIT', 'COMPLIANCE', and 'LOOPS'. Raytraced lighting, 8k resolution, cinematic."
Python Animation Code (Manim CE Script)
# pyramid_animation.py
# Execute locally: manim -pql pyramid_animation.py UpsideDownPyramid
from manim import *
class UpsideDownPyramid(Scene):
def construct(self):
# 1. Title
title = Text("The Upside-Down Pyramid", font_size=36, color=WHITE).to_edge(UP)
self.play(Write(title))
# 2. Draw normal pyramid
p1 = Polygon([-2, -1, 0], [2, -1, 0], [0, 2, 0], color=BLUE, stroke_width=2)
label_normal = Text("Standard Hierarchy", font_size=20).next_to(p1, DOWN)
self.play(Create(p1), FadeIn(label_normal))
self.wait(1)
# 3. Rotate and invert pyramid
self.play(
Rotate(p1, angle=PI),
label_normal.animate.become(Text("The Inverted Paradigm", font_size=20).next_to(p1, DOWN)),
run_time=2
)
self.wait(1)
# 4. Highlight the 4 Quadrants
q1_label = Text("Q1: Lenses UX", font_size=16, color=BLUE_B).move_to([-1.5, 0.5, 0])
q2_label = Text("Q2: AI Audit", font_size=16, color=PURPLE).move_to([1.5, 0.5, 0])
q3_label = Text("Q3: Compliance", font_size=16, color=GREEN).move_to([-0.5, -0.5, 0])
q4_label = Text("Q4: Agentic Loops", font_size=16, color=RED).move_to([0.5, -0.5, 0])
self.play(FadeIn(q1_label), FadeIn(q2_label), FadeIn(q3_label), FadeIn(q4_label))
self.wait(2)
Pyramid Architecture Diagram
Four Quadrants · Four LayersThe Pyramid interface is divided into four functional quadrants. Together they cover the full operational surface: how you navigate (Lenses), how you audit (AI Audit), how you monitor (Compliance), and what the engine underneath is doing (Agentic Loops).
The Four Pyramid Specification Documents
Child Docs · Click to OpenEach document below specifies one quadrant of the Pyramid. They are designed to be read independently — but together they form a complete operational model for the platform. Start with Lenses UX for the navigation model, then AI Audit for the decision layer, then Compliance Dashboard for monitoring, and finally Agentic Loops for the engine beneath it all.
Pyramid: Lenses UX
The Lenses UX defines how users navigate and filter the Pyramid. It introduces the Dual-Lens Pattern: a toggle between the Pyramid Lens (hierarchy-first, relationship-aware) and the Flat Lens (resource-first, action-fast). Each role — property manager, compliance officer, landlord — sees a pre-filtered lens tuned to their operational context. The spec covers filter state, role-based defaults, the heatmap risk view, and the drill-down transition from portfolio → property → tenancy → task.
Pyramid: AI Audit UX
The AI Audit UX is the explainability and decision-inspection layer of the Pyramid. Every autonomous decision made by a RAIA™ (Real estate Artificial Intelligence Agent) agent — whether sending a comms nudge, raising a compliance flag, or blocking a tenancy progression — generates
Repository Code
The live codebase implementation for this specification sits within the following repository folder:
Pyramid: Compliance Dashboard
The Compliance Dashboard provides real-time compliance status across every tenancy in the portfolio. Certificates — Gas Safety (CP12), Electrical (EICR), EPC, Fire Risk, Legionella — are tracked per property with RAG (Red/Amber/Green) status, expiry countdowns, and gap analysis. The dashboard is interactive: clicking a pyramid layer in the SVG diagram drills into the compliance record for that tier. This spec covers the data model for compliance records, the scoring algorithm for overall tenancy health, alert thresholds, and the automated agent behaviours triggered by expiry events.
Pyramid: Agentic Loops
The Agentic Loops spec describes the autonomous engine that runs beneath every human-facing Pyramid view. It defines the three-tier loop architecture — Owner Onboarding Loop (T1), Property Readiness Loop (T2), Tenancy Lifecycle Loop (T3) — each operating as a dedicated state machine that continuously evaluates its tier's invariants. The spec also covers the Polymorphic Comms Engine, which abstracts all outbound communications (WhatsApp, Email, Voice) into a single dispatch interface, and the loop-to-loop escalation protocol used when a lower tier blocks an upper tier from progressing.
Diagram 2: Four Quadrant Control Surface
The four quadrants of the Pyramid. Lenses control what you see; Loops drive autonomous action; Audit and Compliance surface what agents did and what requires attention.
How the Four Quadrants Relate
Integration ModelThe four quadrants are not independent modules — they are four lenses onto the same underlying operational state. A compliance breach visible in the Compliance Dashboard will simultaneously surface as an audit event in the AI Audit view, may be reachable via a Lenses UX filter, and will have been detected by an Agentic Loop running continuously in the background. The following diagram shows the information flow between quadrants.
When a user drills into a tenancy via a Lens, the AI Audit panel surfaces contextually — showing the agent decisions that led to the current state of that tenancy. The Lens is the entry point; the Audit is the explanation.
Agentic Loops continuously scan certificate expiry dates and compliance gates. When a loop detects a breach or upcoming expiry, it writes directly to the compliance state consumed by the Compliance Dashboard — which updates in real time.
Every autonomous decision made by an Agentic Loop generates an immutable audit record consumed by the AI Audit view. Loops are the source of decisions; the Audit is the record of those decisions. Agents cannot act without emitting a traceable audit event.
Compliance status scores feed directly into the Lenses UX risk heatmap. Properties with red compliance status are visually elevated in the Pyramid Lens — ensuring that operational risk is never invisible to the user navigating the portfolio.
The AI Audit UX is the only surface through which humans can override or block an agent decision. When a HITL override is submitted, it is written as a priority instruction into the relevant Agentic Loop's input queue — effectively redirecting the autonomous engine. This makes the AI Audit not just a read-only inspection layer, but the authoritative human governance interface over the agentic system.
Related Platform Documentation
See AlsoRAIA™ (Real estate Artificial Intelligence Agent) OS Blueprint
Full platform architecture and system design document.
Agentic Autonomous Compliance
How agents manage compliance obligations end-to-end without human intervention.
RAIA™ (Real estate Artificial Intelligence Agent) A2A Protocol Guide
Agent-to-agent messaging protocol used by Pyramid loops to communicate.
Navigation Architecture
Global routing and navigation model for the RAIA™ (Real estate Artificial Intelligence Agent) platform UI.
Hermes Agent RAIA (Real estate Artificial Intelligence Agent) Documentation
How Hermes agents integrate with and query the RAIA™ (Real estate Artificial Intelligence Agent) platform.
Application UX Guide
Overall UX principles, design tokens, and component standards for the platform.
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 two independent layers: 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[] | docs.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.