Platform Architecture

Omnivax is built as a high-performance Model-as-a-Service (MaaS) platform designed for plant disease diagnostics. The system follows a modular domain-driven layout with an asynchronous distributed queue execution engine.

Core Deployment Pipeline

[CLI/Client UI] ---> [FastAPI API Router] ---> [PostgreSQL (Pending)]
|
v
[Redis Job Broker]
|
v
[Celery Background Workers]
/ \
[Download Model Weights] [Run Smoke Validation]
\ /
v v
[Storage Bucket] [PostgreSQL (Active/Failed)]

Domain Layout Details

  • app/domains/authSupabase identity mapping, long-lived API key generation, and AES-256 Fernet credentials validation.
  • app/domains/modelsCelery async task runners, Hugging Face / Kaggle Hub integration downloads, metadata parsing, and catalog directories verification.
  • app/domains/inferenceModel loading runtime adapters (PyTorch, ONNX) with caching features to ensure low latency diagnostic requests.
  • app/infrastructureFilesystem storage management, encryption key integration, and shared system-level tools.