This sounds like Core Wars and Network Tierra combined, both from 15-25 years ago.
I would definitely play an MMO which let me script and didn't require my realtime involvement. EVE Online is like that for some of the gameplay already, but something where everything is through "agents" would be even better.