Text this: Planning based on decision theory