I think it's more cron jobs, RESTful-type wait and react methods, and a harness that is calibrated to being a good assistant.
i.e. It saw I had an optometry-type appointment this morning and supplied some questions I might want to ask or consider.