Type 1 Diabetes Mellitus (T1DM) is an autoimmune disease in which the insulin-producing beta cells of the pancreas are destroyed and insulin must be injected daily to enable the body to metabolize glucose. Standard therapy for T1DM involves self-monitoring of blood glucose (SMBG) several times daily with a blood glucose meter and injecting insulin via a syringe, pen or insulin pump. An "Artificial Pancreas" (AP) is a closed-loop control system that uses a continuous glucose monitor (CGM), an insulin pump and an internal algorithm to automatically manage insulin infusion to keep the subject's blood glucose within a desired range. Although no fully closed-loop AP systems are currently commercially available there are intense academic and commercial efforts to produce safe and effective AP systems. In this paper we present the Diabetes Assistant (DiAs), an ultraportable AP research platform designed to enable home studies of Closed Loop Control (CLC) of blood glucose in subjects with Type 1 Diabetes Mellitus. DiAs consists of an Android (Google Inc., Mountain View, CA, USA) smartphone equipped with communication, control and user interface software wirelessly connected to a continuous glucose monitor and insulin pump. The software consists of a network of mobile applications with well-defined Application Programming Interfaces (APIs) running