Assistive Agent Optimization