Cerebral Hacks Logo
Cerebral Hacks
Back to Intelligent Systems & AI Agents
LIVE PLATFORM IN PRODUCTIONClient: Qurofy ┬╖ Healthcare Technology

Healthcare Innovation & Hackathon Platform

We designed, engineered, and shipped a multi-tenant innovation and evaluation platform for Qurofy, replacing manual spreadsheets and fragmented forms with an automated, agent-assisted workflow engine.

Architecture
Multi-Tenant RBAC
AI Orchestration
LangGraph Agents
Evaluation Engine
Weighted Rubrics
System of Record
FastAPI + Postgres
01 ΓÇö The Problem

The Challenge

Healthcare innovation programs were previously managed across disconnected spreadsheets, Google Forms, and email threads. As programs scaled to thousands of participants and hundreds of cross-functional teams, operations broke down.

01

Fragmented Data & Lack of Single Source of Truth

Participant profiles, squad rosters, and project submissions were stored in disparate sheets, making real-time tracking and auditability impossible.

02

Multi-Tenant Isolation Requirements

Different healthcare enterprises, hospital groups, and academic institutions needed completely isolated environments, branding, and registration workflows.

03

Complex Role-Based Permissions

Four distinct actors (Organizers, Participants, Clinical Mentors, Judges) required strictly scoped capabilities and data visibility boundaries.

04

Manual Multi-Round Evaluation Inefficiencies

Scoring required manual calculation of weighted criteria, resulting in human error, slow turnaround, and zero automated ranking consensus.

02 ΓÇö Domain Model

The Innovation Lifecycle Architecture

We mapped the end-to-end program lifecycle into an explicit, state-machine driven domain model.

01
Organization
Tenant boundary
02
Program
Hackathon/Sprint
03
Participants
Dynamic intake
04
Teams
Squad formation
05
Challenges
Clinical tracks
06
Solutions
Versioned builds
07
Evaluation
Weighted rubrics
08
Outcomes
Prizes & Hiring
03 ΓÇö System Architecture

Production System Architecture

Modular separation of web client, backend gateway, stateful LangGraph agent swarms, and high-throughput data layer.

Layer 1: Client ApplicationNext.js ┬╖ React ┬╖ TypeScript ┬╖ TailwindCSS
Participant Dashboard
Organizer Admin Studio
Judge Scorecard Hub
Mentor Lounge
Γåô HTTPS REST / WebSocket SSE Streams (Strict HttpOnly __Host-session Tokens)
Layer 2: Backend API & GatewayPython ┬╖ FastAPI ┬╖ Argon2id ┬╖ RBAC Engine
Authentication & Session Tokens
Dynamic Form Validation Engine
Weighted Score Calculation Service
Γåô State Graph Execution & Tool Dispatches
Layer 3: AI Agents & WorkflowsLangGraph ┬╖ OpenAI / Gemini / Claude
Program Creation Copilot
Reviewer Copilot (Human-in-the-Loop)
Squad & Skill Matchmaking Swarm
Γåô ACID Storage, In-Memory Caching & Embeddings
Layer 4: Data & InfrastructurePostgreSQL ┬╖ Qdrant ┬╖ Redis ┬╖ Docker ┬╖ AWS
PostgreSQL (System of Record)
Redis (Session Cache & Lock Manager)
Qdrant (Vector Index for Skills/RAG)
04 ΓÇö Engineering Rationale

Key Engineering Decisions

DECISION 01

Strict Multi-Tenant Isolation

Organizations own programs, users, and telemetry. Every query enforces tenant tenancy constraints at the database and middleware layers to prevent cross-organization data leakage.

DECISION 02

Granular Role-Based Access Control (RBAC)

Permissions are scoped across Platform, Organization, and Event levels. Judges only see assigned projects, while Mentors only access booked squad channels.

DECISION 03

Dynamic No-Code Registration Schemas

Rather than hardcoding intake questions, organizers configure fields stored in structured JSONB schemas, allowing full question customization per hackathon without code redeployment.

DECISION 04

Deterministic Multi-Round Weighted Scoring

Implemented a mathematical normalization engine: score = sum((criterion_score / max_score) * weight). Leaderboards are derived dynamically from judge consensus rather than manually edited tables.

05 ΓÇö AI Implementations

AI & Intelligent Workflows in Qurofy

Every AI capability was built as a reliable tool-calling workflow with strict guardrails and human approval loops.

Copilot + Tool Calling

Program Creation Copilot

Assists organizers in drafting clinical problem statements, defining challenge tracks, and suggesting balanced evaluation criteria based on past successful programs.

Human-in-the-Loop

Reviewer Copilot

Extracts key technical claims from project repositories and matches them against judging rubrics to prepare briefing notes for expert medical reviewers.

Autonomous Workflow

Squad & Skill Matchmaking

Analyzes participant profiles and suggests complementary pairings (e.g. matching clinical doctors with backend engineers and UI designers).

What should your AI system actually be able to do?

Tell us about the workflow. We'll help determine what should be automated, what should remain human-controlled, and what it takes to make the system reliable.