QUANTYX
AI Gaming Intelligence Platform
QUANTYX is the AI intelligence layer behind the Mavis Gaming AI System: a full-stack platform exploring AI-assisted gaming, gameplay performance analysis, gaming intelligence, controlled simulations, and developer tooling.
What I Built
Designed a modular architecture separating the frontend, PHP API layer, Python AI orchestration service, and MySQL data layer. QUANTYX uses model routing across Groq, Gemini, and OpenRouter to match different tasks with different AI providers while supporting fallback strategies and extensibility for future models.
System Architecture
Frontend
HTML / JS / Tailwind
User-facing dashboard, chat interface, analysis views, and performance reporting. Built with HTML, Tailwind CSS, and JavaScript.
PHP API Layer
REST Backend
Authentication, JWT refresh-token rotation, RBAC access control, HMAC service verification, request rate-limiting, API routing, validation, persistence, and audit logging.
Python AI Orchestrator
Intelligence Engine
The AI brain: handling model routing, task prioritization, memory context management, execution services, performance analysis, and search integration.
Multi-Model Routing Engine
Intelligently routes AI tasks between different providers based on complexity, speed requirements, and provider health:
GROQ
Instant speed tasks
Simple / fast queries
GEMINI
Deep reasoning
Complex analysis
OPENROUTER
Specialized models
Fallback & specialty
5 Core Capabilities
Game Intelligence Hub
Collects and summarizes game updates, patch notes, gaming news, and trending information across the gaming ecosystem.
AI Gaming Assistant
Interactive AI for strategy guidance, contextual gaming conversations, and game-related assistance powered by multi-model routing.
Performance Analyzer
Takes gameplay metrics and transforms them into actionable recommendations and coaching through AI interpretation.
Controlled Game AI
Controlled offline/custom simulation workflows for experimenting with game AI in safe, sandboxed environments.
Developer & Testing Assistant
Code diagnostics, API testing, execution-driven feedback, and AI-assisted development workflows for builders.
AI Service Architecture
ai-service-python/
app/
โโโ api/
โ โโโ routes_execution.py
โ โโโ routes_performance.py
โโโ orchestrator/
โ โโโ providers.py
โ โโโ router.py
โ โโโ task_manager.py
โโโ services/
โโโ execution_service.py
โโโ memory_service.py
โโโ performance_analyzer.py
โโโ search_service.py