We consider synchronization in networks of delay-coupled oscillators. In these systems, the coupling phase has been found to be a crucial control parameter. By proper choice of this parameter one can switch between different synchronous oscillatory states of the network, e. g., in-phase oscillation, splay or various cluster states. Applying the speed-gradient method, we derive an adaptive algorithm for an automatic adjustment of the coupling phase, coupling strength, and delay time such that a desired state can be selected from an otherwise multistable regime.