create agent relation request js