smart wearable medical device agent