In the research literature, this process is done not by "agent" voting but by taking a similarity score between answers, and choosing the answer that is most representative.
Another approach is to use multiple agents to generate a distribution over predictions, in sort of like bayesian estimation.