Text this: Optimal, predictive, and adaptive control