Check out this article on how the controller works.
Understanding the Visual Studio Load Agent Controller
Ed.