Create agent.nut

Agent Code for Kelly reference design.