ugh, hopefully fixup agent_plandata regex for multiple agents