a goagent client of mac(not finished)