Pass Audits, Not Weekends. The only AI security assistant that cites its sources 100% of the time.
ConformityAI is a production-ready, full-stack RAG (Retrieval-Augmented Generation) application designed to automate the painful process of filling out security questionnaires (SOC 2, SIG, HIPAA).
By ingesting your company's security policies, RFCs, and past questionnaires, ConformityAI builds a private Knowledge Base. It then uses state-of-the-art LLMs to answer incoming security questions in real-time, providing verifiable citations for every claim.
- Universal Ingestion: Drag-and-drop PDF (
pdf-parse) and text processing. - Vector Knowledge Base: High-dimensional embeddings using
pgvectoron Supabase. - Real-Time RAG Engine: Hybrid search (Keyword + Semantic) with OpenAI
text-embedding-3-small. - Live Streaming Answers: Server-Sent Events (SSE) for instant, typewriter-style AI responses.
- Source Citations: Every answer links back to the specific source document and confidence score.
- Premium UI/UX: Dark-mode aesthetic, glassmorphism, bento-grids, and fluid animations (Next.js 14 + Tailwind).
- Enterprise Ready: Role-Based Access Control (RBAC) ready schema, secure document storage.
- Framework: Next.js 14 (App Router)
- Language: TypeScript
- Styling: Tailwind CSS, Lucide Icons,
clsx - Animations: Custom Tailwind animations (
float,shimmer,pulse-slow)
- Runtime: Node.js (Express)
- Language: TypeScript
- Database: Supabase (PostgreSQL + pgvector)
- AI Orchestration: OpenAI API (GPT-4o / GPT-3.5-turbo)
- Storage: Supabase Storage
- Processing: Multer, PDF-Parse
git clone https://github.com/your-username/conformity-ai.git
cd conformity-ai-
Navigate to the backend:
cd backend npm install -
Configure Environment Variables:
- Create a
.envfile inbackend/:
PORT=4000 SUPABASE_URL=your_supabase_project_url SUPABASE_SERVICE_KEY=your_supabase_service_role_key OPENAI_API_KEY=sk-your-openai-api-key
- Create a
-
Database Migration:
- Copy the contents of
backend/supabase_schema.sqland run it in your Supabase SQL Editor to create tables. - Copy the contents of
backend/supabase_rpc.sqland run it to create the vector search function.
- Copy the contents of
-
Start the Server:
npm run dev
Server should be running on
http://localhost:4000
- Navigate to the frontend:
cd ../frontend npm install - Start the Dashboard:
npm run dev
- Open http://localhost:3000 to launch the app.
The frontend is optimized for Vercel.
- Push code to GitHub.
- Import project into Vercel.
- Select
frontendas the Root Directory. - The build command
next buildwill be auto-detected. - Result: You get a live URL like
https://conformity-ai.vercel.app.
The backend is a standard Node.js/Express app.
- Render: Create a new "Web Service".
- Connect your GitHub repo.
- Root Directory:
backend. - Build Command:
npm install && npm run build. - Start Command:
npm start. - Add Environment Variables (
SUPABASE_URL, etc) in the Render dashboard. - IMPORTANT: Update
frontend/src/lib/api.tswith your new Backend URL.
├── backend/
│ ├── src/
│ │ ├── services/
│ │ │ ├── ai/ # LLM & Embedding logic
│ │ │ ├── ingestion/ # File parsers (PDF)
│ │ │ ├── rag/ # Retriever logic
│ │ │ └── store/ # Vector DB interactions
│ │ ├── routes/ # Express API endpoints
│ │ └── index.ts # Entry point
│ ├── custom_types/ # TypeScript definitions
│ └── supabase_schema.sql # Database init script
│
├── frontend/
│ ├── src/
│ │ ├── app/ # Next.js App Router Pages
│ │ ├── components/ # React UI Components
│ │ └── lib/ # API clients & utilities
│ └── tailwind.config.ts # Custom theme & animations
- Zero Data Retention: The AI model is stateless; it does not train on customer data.
- Encrypted Storage: Documents are stored in secure Supabase buckets.
- Vectorization: Text is converted to standard vector arrays, unreadable without the embedding model.
Commercial License. Owned by Gobrand Tech.
