change api to local agent in readme