setup ‘agent application’