With aging of population, there has been a significant increase in the number of patients suffering from cardiovascular diseases. This results in an increased cost of healthcare associated with hospitalization, treatment and monitoring. In this paper, an architectural framework of a system that utilizes mobile technologies to enable continuous, wireless, electrocardiogram (ECG) monitoring of patients anytime anywhere is presented. The intelligent agents residing in the system detect any anomalous ECG readings and trigger an alarm that would be sent to the healthcare center in case of an emergency. The proposed system would not only provide a better quality of life to the patients by giving them the independence to move around freely in addition to continuous monitoring of heart but will also save healthcare costs associated with prolonged hospitalization of cardiac patients.