The anatomy of a personal health agent