drop agent related code which isn't used at this point

Change-Id: I1726802b837d0d84eac4b0f935ceca0df6412288