Back to Projects Gallery
AI & Fintech SystemsProductionTimeline: 2024Role: Backend & AI Systems Engineer

ALG Kustomers CRM & Miss Algorithm AI Co-Pilot

Multi-tenant CRM REST backend (PHP 8 + MySQL) paired with a loopback FastAPI Python AI co-pilot service and WhatsApp outreach automation.

The Problem

Enterprise sales teams lose valuable pipeline leads due to fragmented customer records and delayed response times during off-hours.

The Architectural Solution

Constructed an enterprise backend with PHP 8 PDO prepared statements and a dedicated internal loopback FastAPI service running "Miss Algorithm"—an AI acquisition agent providing automated customer engagement and anti-cheat verification.

System Architecture & Flow

CANONICAL TOPOLOGY
[Frontend Kustomers OS]
      │
      ▼
[PHP 8 REST API (ALG Gateway)]
      ├── OWASP Headers & CORS Allow-list
      ├── JWT Auth with Refresh Tokens & Module RBAC
      ├── MySQL PDO Prepared Statements
      └── AI Gateway Proxy
            │ (Loopback 127.0.0.1:8000 only)
            ▼
      [FastAPI Python AI Service (Miss Algorithm)]
            ├── Groq / LLM Chat Engine
            ├── Personas & Anti-Cheat Logic
            └── WhatsApp Outreach Agent

Engineering Contributions & Deliverables

  • Designed clean loopback architecture preventing external exposure of AI inference services.
  • Configured OWASP security baselines: strict CORS, rate-limiting, and signed access/refresh token rotation.
  • Built Excel bulk user import/export routines handling high-volume customer datasets.

Formal Security Invariants Enforced

AUDITOR VERIFIED
[1]Loopback Isolation: The AI microservice binds strictly to 127.0.0.1 and cannot be called without verified PHP API gateway signature.
[2]Tenant Separation: Every query strictly binds organization_id.

System Metrics

ArchitectureGateway + Loopback AI
Security BaselineOWASP Compliant

Technology Breakdown

Core Runtime & Language
Python 3.11FastAPIPHP 8+
Backend & Protocols
Pydantic v2Groq APIJWT RBACOWASP Security
Databases & Ledgers
MySQL PDOPrepared Statements

Need a similar system designed?

I am available for contract development, smart contract auditing, and backend ledger architecture.

Hire Me for Your Project