Agency and Optimal Investment Dynamics