SaaS — Live

PredictMonkey.online

Laravel + Inertia.js + AI Live in production 2024 — Present
PredictMonkey.online live dashboard

Problem

Prediction content is only useful when it's fresh — hand-publishing picks doesn't scale and goes stale within hours. The client needed a platform where predictions are generated, curated, and published automatically, every minute, with zero manual intervention.

Solution

Built a Laravel + Inertia.js platform where a custom "MonkeyMind AI" cron engine generates and cycles new predictions every minute, with zero manual publishing.

Architecture

The "MonkeyMind" AI Engine

Not just an LLM wrapper. The engine combines:

// Simplified cron job (runs every minute via Laravel Scheduler)
class GeneratePredictions implements ShouldQueue
{
    public function handle(): void
    {
        $markets = Market::active()->get();
        
        foreach ($markets as $market) {
            $predictions = MonkeyMind::generate($market);
            
            foreach ($predictions as $prediction) {
                Prediction::create([
                    'market_id' => $market->id,
                    'selection' => $prediction->selection,
                    'confidence' => $prediction->confidence,
                    'odds' => $prediction->odds,
                    'reasoning' => $prediction->reasoning,
                    'published_at' => now(),
                ]);
            }
        }
    }
}

Results

Key Technical Decisions

  1. Octane over PHP-FPM: Persistent workers = no boot overhead, WebSocket-ready
  2. SQLite over MySQL/Postgres: Zero config, portable, fast enough for this scale
  3. Inertia over SPA: Laravel controllers return Vue/React components directly — no API layer to maintain
  4. Custom scheduler over Horizon: Simpler, no Redis dependency for scheduling

What's Next


Live at: predictmonkey.online

← Back to Case Studies