Forked from goagent on google code