08 · System architecture

Four layers, one deal flow.

A pragmatic stack: a TanStack Start front-end over a FastAPI gateway, with Postgres + PostGIS as the source of truth, Elasticsearch for discovery, and Python workers for the match intelligence.

Each layer has a single job.

Layer 1
Client · Next.js / TanStack Start
Feed
Profile Studio
Intent Search
Messaging & NDA
Layer 2
API · FastAPI + GraphQL gateway
Auth & RBAC
Opportunity svc
Match re-ranker
Lead API (B2B)
Layer 3
Data · Postgres + PostGIS + Elasticsearch
Personas & opps
Geospatial index
Full-text + vector
Verification graph
Layer 4
ML · Python workers
NLP NAICS tagger
Intent embeddings
Bidirectional scorer
Outcome learner