{"uid":"cap_yFs2poSp-MJKaPpOXJHsS","slug":"agent-consensus-plurality-vote-6dffd588","name":"Agent Consensus – Plurality Vote","description":"Consensus utilities for multi-agent systems: majority vote, weighted vote, plurality counts, agreement score, and Borda-style rank merge. Pay-per-request USDC via x402. No API keys, no accounts.","url":"https://agent-consensus.annushka1190.workers.dev/v1/vote/plurality","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"body":{"type":"object"},"type":{"const":"http"},"method":{"enum":["POST"]},"bodyType":{"const":"json"}}}}},"responseSchema":{"type":"json","example":{"share":0.67,"winner":"yes"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_A0tWuzd1HOZAzw524x3EH","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Counts votes across agent responses to determine the plurality winner and its share of total votes.","exampleAgentPrompt":"I have 9 agent responses voting between 'yes', 'no', and 'maybe' — can you tally them up and tell me which option won by plurality and what share of votes it got?","exampleUseCases":[{"title":"Ensemble classifier decision aggregation","prompt":"I ran the same classification task across 7 agents and got these votes: 3 said 'spam', 3 said 'not spam', 1 said 'uncertain'. Which label wins by plurality and what fraction of the vote did it get?"},{"title":"Multi-agent fact-check consensus","prompt":"Five agents each returned a verdict on whether a claim is true or false — 3 said 'true', 2 said 'false'. Can you count the votes and tell me the plurality winner and its vote share?"},{"title":"Agent routing decision voting","prompt":"I have 10 agents voting on which downstream tool to use — 4 picked 'search', 4 picked 'calculator', 2 picked 'database'. Find the plurality winner and its share so I can route the task."}],"resultDescription":"Returns a JSON object with 'winner' (the option that received the most votes) and 'share' (a float between 0 and 1 representing the winner's fraction of total votes, e.g. 0.67).","failureModes":["Missing or malformed 'input' body returns a validation error","Empty vote set or tie handling may return unexpected winner or null","Non-POST method returns 405","Payment not completed via x402 results in 402 Payment Required response","Malformed JSON body returns 400"],"whenToPreferThis":"Choose this endpoint when you need simple plurality counting — the option with the most votes wins regardless of whether it has a majority. Prefer it over majority-vote endpoints when you have more than two options and don't require a strict 50%+ threshold. Ideal for fast, lightweight vote tallying in agent ensembles without needing weighted scoring or rank-order aggregation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:40:11.680Z","isFirstParty":false}