All work

01 / 04Case study · 2024 · AI · Real estate

AI Real Estate Investment Platform

Intelligent property discovery and portfolio analytics with conversational AI

Role
End-to-end (Frontend, Backend, Data Pipeline, Infrastructure)
Year
2024
Type
Multi-tenant SaaS with subscription billing and KYC
Stack
Next.jsOpenAIElasticsearchPostgreSQLPythonMapbox
AI Real Estate Platform Dashboard

Overview

This platform reimagines how real estate investors discover and analyze properties by combining conversational AI with rich market data. The system enables natural-language queries like 'Show me undervalued properties in growing neighborhoods' and returns actionable insights backed by demographics, market trends, and custom scoring models. Built as a full-stack SaaS with multitenancy, subscription billing, and KYC flows, it handles everything from address normalization to fraud detection at scale.

The Challenge

Investors were losing hours to research instead of evaluating deals.

Traditional real estate platforms require users to filter through dozens of fields, manually cross-reference market data, and jump between tools to get a complete picture. Investors waste time on repetitive research tasks instead of evaluating opportunities. The goal was to build an AI-first platform that could understand investor intent, fetch relevant data in real-time, and present insights conversationally while maintaining accuracy and citation.

Approach

Four decisions that shaped the system.

  1. 01Built conversational AI chat assistant with streaming responses and specialized analysis tools
  2. 02Designed high-throughput address resolution microservice using Elasticsearch for sub-second lookups
  3. 03Implemented background job system with pg-boss for bulk enrichment and fraud detection
  4. 04Created interactive map interface with clustering and region demographics

Technical Architecture

Technical stack

Frontend

  • Next.js 15 (App Router)
  • React 19
  • TypeScript
  • TailwindCSS v4
  • Framer Motion
  • Mapbox GL

Backend & APIs

  • Python (FastAPI)
  • OpenAI (GPT-4 + Embeddings)
  • LangChain / LangGraph

Data & Search

  • PostgreSQL (Supabase)
  • Elasticsearch
  • pg-boss (Job Queue)
  • Redis (Rate Limiting)

Infrastructure

  • Vercel (Frontend + Cron)
  • Railway (Microservice)
  • Fly.io (WebSocket)
  • Docker

Integrations

  • Stripe (Subscriptions)
  • Plaid (KYC/IDV)
  • Knock (Notifications)
  • Resend (Email)
  • Clerk (Auth)

Key Features Built

What was built

  • 01Conversational AI chat with streaming responses, function calling, and contextual memory
  • 02Property analysis tools: market trends, offer analysis, maintenance projections, commercial viability
  • 03Watchlist system for tracking properties with bulk CSV import and enrichment
  • 04Address resolution microservice: Elasticsearch-powered fuzzy matching with normalization
  • 05Background job orchestration: pg-boss for async batch processing with retry logic
  • 06Interactive maps: Clustering, heatmaps, region boundaries, and demographics overlays
  • 07Portfolio snapshots: Save and compare investment performance over time
  • 08Subscription billing: Stripe integration with tiered data bundles and usage metering
  • 09KYC flow: Plaid IDV integration for investor verification
  • 10Org-scoped onboarding with progress tracking and automated email reminders (Vercel Cron)

Platform Screenshots

Inside the product

Hard problems

Where it got difficult, and what fixed it.

Challenge

Address normalization with high variance (abbreviations, typos, missing fields).

Solution

Built multi-pass Elasticsearch query with progressive fuzzy matching and confidence scoring.

Challenge

Slow batch processing for 100K+ addresses.

Solution

Implemented parallel job workers with configurable concurrency and backpressure tuning (pg-boss).

Challenge

AI hallucinations and unsourced claims.

Solution

Constrained model to only use function-calling tools, return cited data points, and surface confidence scores.

Challenge

Map performance with 10K+ markers.

Solution

Implemented supercluster for client-side clustering and lazy-loaded region data via viewport bounds.

Results

Discovery went from hours to minutes.

<500msAverage address resolution
100K+Addresses per batch job
~2sAI response, streaming
60fpsMap rendering with 10K markers
  • 01Reduced property discovery time from hours to minutes with AI-powered search
  • 02Processed 100K+ addresses per batch with parallel job orchestration
  • 03Enabled real-time market analytics across 50+ demographic data points