use agent to write data to loopback