Create agent.nut

Initial working version, prior to May 2014