Mastercoin looking to be first with autonomous agents:
QuoteBitlov is a digital currency automation platform that utilizes a predominately trustless network of decentralized, distributed autonomous agents called Rubrics.
Quote
Bitlov empowers individuals and organizations to determine where money goes and when by simplifying the process of setting rules within contract templates, to write simple-to-complex transaction routines based upon various factors, such as: budget, pre-defined triggers, formulas, times, recipients, and more.
http://blog.mastercoin.org/2014/10/19/introducing-bitlov-a-new-project-integrated-with-mastercoin/