agent: Adding SetTags wrapper to agent to manage tags file