Success of the CBIs, however, critically relies on insuring engagement and retention of CBI users so that they remain motivated to use these systems and come back to use them over the long term as necessary.vi Because of their text-only interfaces, current CBIs can therefore only express limited empathy and rapport, which are the most important factors of health interventions. Fortunately, in the last decade, computer science research has progressed in the design of simulated human characters with anthropomorphic communicative abilities.Virtual characters interact using humans' innate communication modalities, such as facial expressions, body language, speech, and natural language understanding.To facilitate successful communication and social interaction between artificial agents and human partners, it is essential that aspects of human social behavior, especially empathy and rapport, be considered when designing human-computer interfaces. Hence, the goal of the present dissertation is to provide a computational model of rapport to enhance an artificial agent's social behavior, and to provide an experimental tool for the psychological theories shaping the model. Parts of this thesis were already published in [LYL + 12, AYL12, AL13, ALYR13, LAYR13, YALR13, ALY14].