Skip to content
Skip to content

Tech Documentation

Volume 3: BrainSAIT Technical Infrastructure & Development


Overview

This volume covers all technical aspects of BrainSAIT including infrastructure, agentic AI systems, applications, DevOps practices, and security.


Table of Contents

Infrastructure

  1. Cloudflare
  2. Coolify
  3. Raspberry Cluster
  4. Security

Agents

  1. MasterLinc
  2. DevLinc
  3. DataLinc
  4. SecUnit
  5. Skill Bundles

Apps

  1. HealthSync
  2. Efhm RAG
  3. Voice2Care
  4. Spark Solo Suite

DevOps

  1. CI/CD
  2. Secrets Management
  3. Monitoring

APIs

  1. API Overview
  2. Authentication
  3. NPHIES Integration

Architecture

  1. System Overview
  2. Data Models

Technology Stack

Cloud Infrastructure

Technology Purpose
Cloudflare Edge computing, DNS, security
Coolify Container orchestration
D1 Edge database
R2 Object storage
Workers Serverless functions

Development

Technology Purpose
Python Backend, AI/ML
Swift iOS apps
TypeScript Web frontend
n8n Workflow automation
Docker Containerization

AI/ML

Technology Purpose
Claude API LLM processing
ChromaDB Vector database
Anthropic SDK Agent framework

Agent Architecture

MasterLinc Orchestration

┌─────────────────────────────────────┐
│           MasterLinc                 │
│     (Orchestration Layer)            │
└───────────────┬─────────────────────┘
    ┌───────────┼───────────┐
    │           │           │
┌───▼───┐  ┌───▼───┐  ┌───▼───┐
│ClaimLinc│ │DocsLinc│ │PolicyLinc│
└───────┘  └───────┘  └─────────┘

Agent Capabilities

Agent Capabilities
MasterLinc Orchestration, task routing, coordination
DevLinc Code generation, review, deployment
DataLinc ETL, analytics, reporting
SecUnit Security monitoring, threat response

Security Framework

Compliance

  • PDPL aligned
  • HIPAA controls
  • SOC 2 practices

Security Layers

  1. Edge Security - Cloudflare WAF, DDoS protection
  2. Transport - TLS 1.3 everywhere
  3. Application - OAuth 2.0, RBAC
  4. Data - AES-256 encryption
  5. Audit - Complete logging

Development Workflow

CI/CD Pipeline

Code → Lint → Test → Build → Stage → Deploy

Branch Strategy

  • main - Production ready
  • develop - Integration branch
  • feature/* - New features
  • hotfix/* - Emergency fixes


BrainSAIT Tech

OID: 1.3.6.1.4.1.61026