AI task prioritization and scheduling