Added tool to control agents from command line.