What is "TALagent" and why is it "Exiting out of boredom"? I'm trying to help a colleague whose MacBook periodically switches off without warning (I've had similar problems on a Mac Mini, so it's not power related).

While investigating the logs in Library/Logs, I found a file talagent.log with something very odd, last updated very close to the time the computer last switched off without warning:

  Time  Bundle ID   Status  Comment
 0.000          -        -  TALagent Started (system uptime: 238.18 sec)
 0.007          -        -  Liveness: 0 -&gt; 1 (run_as_server)
 0.038          -        -  Successfully read encryption key from keychain in 0.030809 seconds
15.007          -        -  Liveness: 1 -&gt; 0 (__run_as_server_block_invoke)
15.007          -        -  Exiting out of boredom


What the heck is talagent and what does it mean that it is "Exiting out of boredom"?

I've read this thread but it doesn't help me understand what's going on here.

My first thought was that it must be a virus, because that's such a non-professional thing for a log entry to say, but that linked thread seems to imply it's not such a concern; but it doesn't help me understand what it is or what that means. 

We use Symantec as a virus scanner, and the Mac in question is on Mavericks (can't currently update for unrelated compatibility reasons).
It's not a virus and it's not a customer facing tool since it uses the terminal. Sometimes command line tools don't even get a manual page - so this is one of the much better documented tools.

The Transparent Application Lifestyle is fancy words for versions and auto-save. If you open TextEdit and make a document, you never have to save your work or choose where the untitled document is stored. TAL saves it and then assists with versioning once you explicitly save the document to the filesystem or cloud.

If you're not convinced it ships from Apple, use mdfind talagent to examine where the tool is installed.

Apple runs it at 3 am on Mondays and Thursdays on your Mac by default, so there's not much mystery that it runs and then exits as opposed to something that runs forever waiting for work to do.

It's nice to double check since governments are now clearly equipped to suppress knowledge of their state sponsored malware by using legal threats and gag orders. I'd say some healthy skepticism is in order when you see something not right on your computer.