add useAgent example to README