How we architect systems.
Reference architectures for the systems we build most: AI agents, SaaS, CRMs, authentication, multi-tenancy and realtime. Written to be copied and adapted.
AI Agent Architecture
Planning loops, tool use, guardrails, memory and evaluation for production agents.
Read architectureCRM Architecture
Data model, pipelines, automation and integration boundaries for custom CRMs.
Read architectureSaaS Architecture
Tenancy, billing, feature flags and scaling from MVP to growth.
Read architectureTanStack Start Architecture
Server/client boundaries, data fetching, caching and deployment.
Read architectureSupabase Architecture
Postgres, auth, RLS, realtime and storage composition.
Read architectureAuthentication
Session, JWT and OAuth patterns with secure defaults.
Read architectureMulti-tenancy
Isolation strategies, migrations and per-tenant config.
Read architectureAPI Design
REST, webhooks, versioning and developer experience.
Read architectureBackground Jobs
Queues, retries, idempotency and scheduling.
Read architectureQueues
Choosing and operating message queues reliably.
Read architectureRealtime Systems
Websockets, Supabase Realtime and conflict handling.
Read architectureWant this architecture for your product?
Book a free strategy call. We'll map your bottlenecks to the right systems and send a clear roadmap — even if we don't work together.
Usually replies within minutes. Chat on Telegram: @northflowstudio