Scheduler for AI.