Skip to main content

Overview

Conformly.ai is built with a modern, scalable architecture that separates concerns across multiple layers.

System Architecture

We’ve simplified diagrams to focus on user flows and practical interactions.

User Flow (Gap Analysis)

Key Design Decisions

Backend

  • FastAPI: High performance, async support, automatic API docs
  • Celery + Redis: Background task processing for long-running analyses
  • Supabase: Managed PostgreSQL and authentication
  • LangGraph: Stateful AI workflows for compliance analysis

Frontend

  • React + TypeScript: Type-safe, component-based UI
  • Vite: Fast build tooling
  • React Query: Server state management
  • Shadcn/ui: Modern, accessible UI components

AI/ML

  • LangGraph: Orchestrate multi-step AI workflows
  • Google Gemini: Multimodal document understanding
  • FAISS: Vector similarity search
  • Tavily: Web research for standards

Scalability

  • Horizontal Scaling: Multiple backend instances behind load balancer
  • Background Processing: Celery workers scale independently
  • Caching: Redis for frequently accessed data
  • Database: Connection pooling and read replicas

Security

  • Authentication: Supabase JWT tokens
  • Authorization: Row-level security (RLS) in Supabase
  • API Security: Rate limiting, CORS, input validation
  • Data Encryption: TLS in transit, encryption at rest

Backend Overview

Learn more about the backend architecture