Text this: Intelligent Beam Control in Accelerators