write content for goagent