Patient description: The patient is a 24-year-old man who has had type 1 diabetes for 11 years. He presents to the emergency room with hyperglycemia and concern for possible diabetic ketoacidosis after not taking his insulin for 3 days. The patient reports that he is currently homeless and has lost his supply of insulin, syringes, glucometer, and glucose testing supplies. The patient states that at the time of his initial diagnosis with type 1 diabetes he was hospitalized with a glucose value >1000 mg/dL. At the time, he was experiencing polyuria, polydipsia, and polyphagia. He reports that he has been on insulin since the time of his diagnosis, and he has never been prescribed oral agents for diabetes management. Most recently, he has been using insulin glargine 55 units once daily, and insulin aspart sliding scale 3 times daily. The patient has had previous episodes of diabetic ketoacidosis, for which he was hospitalized. With this episode of hyperglycemia, he is not experiencing any nausea, vomiting, or abdominal discomfort, and he appears well. His lab studies showed: A1c: 11.3% Creatinine: 0.9 mg/dL with eGFR >60 mL/min Aspartate aminotransferase (AST): 17 U/L Alanine aminotransferase (ALT): 14 U/L Beta-hydroxybutyrate: 0.1 mmol/L Bicarbonate: 25 mEq/L Anion

Clinical trial eligibility criteria: eligible ages (years): 18.0-80.0,  Type 2 Diabetes Males or females between the ages of 18 and 80 years discharged after hospital admission from general surgery and medicine services (non-surgical and non-ICU setting). 2. Admission HbA1c between 7% and 10% 3. Patients with T2D treated with diet alone or with oral antidiabetic agents as monotherapy or in combination therapy (excluding GLP1 receptor agonists) or on low-dose insulin therapy (TDD ≤0.4 unit/kg/day) prior to admission. 4. Subjects with a hospital admission BG < 400 mg/dL without laboratory evidence of diabetic ketoacidosis (serum bicarbonate < 18 mEq/L or positive serum or urinary ketones). 5. BMI > 25 Kg/m2 and < 45 Kg/m2  Age < 18 or > 80 years. 2. Subjects with increased BG concentration, but without a history of diabetes (stress hyperglycemia) 3. Subjects with a history of type 1 diabetes (suggested by BMI < 25 Kg/m2 requiring insulin therapy or with a history of diabetic ketoacidosis and hyperosmolar hyperglycemic state, or ketonuria). 4. Treatment with insulin or GLP-1 analogs during the past 3 months prior to admission. 5. Recurrent severe hypoglycemia or hypoglycemic unawareness. 6. Subjects with gastrointestinal obstruction, gastroparesis or those expected to require gastrointestinal suction. 7. History of medullary thyroid cancer or multiple endocrine neoplasia 8. Patients with acute or chronic pancreatitis, pancreatic cancer or gallbladder disease. 9. Patients with clinically significant hepatic disease (cirrhosis, jaundice, end-stage liver disease, portal hypertension) and elevated ALT and AST > 3 times upper limit of normal, or significantly impaired renal function (GFR < 30 ml/min). 10. Treatment with oral or injectable corticosteroid, parenteral nutrition and immunosuppressive treatment. 11. Mental condition rendering the subject unable to understand the nature, scope, and possible consequences of the study. 12. Female subjects who are pregnant or breast feeding at time of enrollment into the study. 13. Females of childbearing potential who are not using adequate contraceptive methods (as required by local law or practice)