{"uid":"cap_bWvEvgL3K_uxbW5Qe4raV","slug":"mekler-ai-swarm-session-8bb17e63","name":"Mekler AI Swarm Session","description":"Use 1–32 cooperating AI workers for supplied files: compare vendor proposals against requirements, review documents for conflicting claims, or analyze a supplied dataset. Prepay 5 USDC/worker; charge 1.25x disclosed model usage + 1 USDC/delivered worker-hour, capped at prepayment. Unused funds return after reconciliation. Task failures charge used execution; service failures refund affected charges. Isolated local tools; no external network, guaranteed correctness or speedup.","url":"https://api.mekler.ai/v1/swarm/sessions/start-session?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"brief":{"type":"object","required":["goal","constraints","permitted_tools","budget_micro_usd","timeout_seconds","expected_output"],"properties":{"goal":{"type":"string","maxLength":20000,"minLength":1},"constraints":{"type":"array","items":{"type":"string","maxLength":4000},"maxItems":50},"expected_output":{"type":"object","required":["files","acceptance_criteria"],"properties":{"files":{"type":"array","items":{"type":"string","maxLength":240},"maxItems":200,"minItems":1},"acceptance_criteria":{"type":"array","items":{"type":"string","maxLength":4000},"maxItems":50,"minItems":1}},"additionalProperties":false},"permitted_tools":{"type":"array","items":{"enum":["isolated_local_tools"]},"maxItems":1,"minItems":1},"timeout_seconds":{"type":"integer","maximum":7200,"minimum":5400},"budget_micro_usd":{"type":"integer","maximum":80000000,"minimum":1}},"additionalProperties":false},"files":{"type":"object","maxProperties":200,"additionalProperties":{"type":"string","format":"byte"}},"workers":{"enum":[1,2,4,8,16,32],"type":"integer"}}},"responseSchema":{"type":"json","example":{"purchase_id":"example","payment_state":"pending"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"5","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":"$5/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"5","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"5","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_pnJ5sjXODzdkQvvBQr-54","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"5","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Starts a multi-worker AI swarm session to analyze, compare, or review supplied files using 1–32 cooperating AI workers with prepaid USDC billing.","exampleAgentPrompt":"I need to compare these 6 vendor proposals against our requirements doc — spin up 8 AI workers, give them up to 90 minutes, cap spending at $40, and tell me which vendors meet all the criteria and where each falls short.","exampleUseCases":[{"title":"Vendor proposal compliance review","prompt":"I have 12 vendor RFP responses and our requirements document — use 16 AI workers with a 90-minute timeout and a $20 budget to compare each proposal against every requirement and flag any vendor that doesn't fully comply."},{"title":"Contract conflict detection","prompt":"Review these 5 contract drafts for internal contradictions and conflicting clauses — run 4 AI workers for up to 90 minutes with a $10 budget and give me a report listing every conflict found with the relevant sections cited."},{"title":"Dataset anomaly and pattern analysis","prompt":"Analyze this CSV dataset for anomalies, statistical outliers, and patterns using 8 AI workers — budget $15, allow up to 2 hours, and deliver a findings summary with the flagged rows identified."}],"resultDescription":"Returns a JSON object with a purchase_id and payment_state (e.g. 'pending'), representing the started swarm session. After execution, reconciled results include delivered output files meeting acceptance criteria, used worker-hours billed at 1.25x model cost plus $1/worker-hour, with unused prepaid funds returned.","failureModes":["Task failure: workers exhaust timeout or budget without meeting acceptance criteria — charged for used execution only","Service failure: infrastructure or worker initialization failure — affected charges refunded","Invalid brief: missing required fields (goal, acceptance_criteria, files list) — request rejected before payment","Worker count not in allowed set (1,2,4,8,16,32) — schema validation error","Budget too low or timeout out of range (must be 5400–7200s) — rejected","Files exceed 200-entry limit or base64 encoding errors — rejected"],"whenToPreferThis":"Choose this endpoint when you need parallelized AI analysis across multiple files or large documents — especially for vendor comparison, document conflict detection, or dataset review — where isolated, verifiable computation matters and you want guaranteed correctness or a cost cap with unused-fund refunds. Prefer over single-model API calls when the task benefits from 2–32 cooperative workers and a structured brief with explicit acceptance criteria.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T12:31:07.155Z","isFirstParty":false,"canonicalSlug":"mekler-ai-swarm-session-8bb17e63"}