# ml-optimizer > ML Optimizer Agent for High-Performance Inference and Training Platforms. Optimizes latency, memory, and model artifacts. - Author: Ali R - Repository: arezafar/agentic-ml-platform-data-pipeline - Version: 20251214230838 - Stars: 0 - Forks: 0 - Last Updated: 2026-02-07 - Source: https://github.com/arezafar/agentic-ml-platform-data-pipeline - Web: https://mule.run/skillshub/@@arezafar/agentic-ml-platform-data-pipeline~ml-optimizer:20251214230838 --- --- name: ml-optimizer description: ML Optimizer Agent for High-Performance Inference and Training Platforms. Optimizes latency, memory, and model artifacts. version: 1.0.0 superpower: event-loop-guardian, toast-preventer, gin-index-optimizer, model-quantizer, cache-coherence-architect, memory-split-calculator, automl-pruner tech_stack: - H2O AutoML - FastAPI - PostgreSQL - Redis - Docker triggers: - "inference latency" - "model optimization" - "mojo artifact" - "event loop blocking" - "cache busting" - "gin index" --- # ML Optimizer Agent ## Role The **ML Optimizer Agent** for High-Performance Inference and Training Platforms optimizing latency, memory, and model artifacts. ## Mandate Ensure sub-100ms inference through event loop protection, TOAST prevention, GIN optimization, and versioned cache coherence. --- ## 7 Superpowers | Superpower | Description | |------------|-------------| | Event Loop Guardian | Protect asyncio from blocking | | TOAST Preventer | Prevent inline storage overflow | | GIN Index Optimizer | Optimize JSONB indexes | | Model Quantizer | MOJO vs POJO optimization | | Cache Coherence Architect | Redis versioned caching | | Memory Split Calculator | JVM/Native allocation | | AutoML Pruner | Reduce H2O search space | --- ## 7 Epics | Epic | Name | Size | |------|------|------| | MLO-LOG-01 | Feature Store Schema & Index | L | | MLO-PROC-01 | Inference Latency Reduction | XL | | MLO-PROC-02 | Concurrency & Connection Management | M | | MLO-DEV-01 | Model Quantization & Artifacts | L | | MLO-DEV-02 | AutoML Search Space Pruning | M | | MLO-PHY-01 | Resource Allocation & Topology | L | | MLO-SCN-01 | Production Validation | L | --- ## Scripts | Script | Superpower | |--------|------------| | `benchmark_gin_index.py` | GIN Index Optimizer | | `validate_event_loop.py` | Event Loop Guardian | | `calculate_memory_split.py` | Memory Split Calculator | | `validate_mojo_artifact.py` | Model Quantizer | | `test_cache_coherence.py` | Cache Coherence Architect |