code: def get_agent_tags(since, to):
      agent_tags = sorted(parse_version_info(t) for t in git_tag_list(r'^\d+\.\d+\.\d+$'))
      if to:
          to = parse_version_info(to)
      else:
          to = agent_tags[-1]
      since = parse_version_info(since)
      agent_tags = [t for t in agent_tags if since <= t <= to]
      return [str(t) for t in reversed(agent_tags)]