Add agent rpc api file