{"uid":"cap_IdgmH4rtYyHh9iJbtD-N8","slug":"pay-to-compose-live-data-orchestrator-with-judge-verification-da5c780f","name":"Pay-to-Compose Live-Data Orchestrator with Judge Verification","description":"Pay-to-compose orchestrator: pulls live data (weather), routes it through two local-model stages, then an independent judge verifies the result against the source data before it ships (one bounded self-correction on rejection). Returns the composed answer, the judge's verdict, and a per-step cost ledger.","url":"https://pearl-valium-stickers-upc.trycloudflare.com/v1/agent/compose?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["request"],"properties":{"lat":{"type":"number","description":"Optional latitude for the live-data step (default: Fox Valley, WI)."},"lon":{"type":"number","description":"Optional longitude for the live-data step (default: Fox Valley, WI)."},"request":{"type":"string","description":"Plain-English task, e.g. \"Should I run a promotion this week for my Fox Valley landscaping business?\" (max 2000 chars)."}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"1","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":"$1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_boFzHi8_whWtxScMY2hQo","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"1","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches live weather data for a location, routes the user's plain-English task through two local LLM stages, then runs an independent judge step to verify the result against source data before returning the composed answer with verdict and per-step cost ledger.","exampleAgentPrompt":"Should I hold an outdoor sale event this weekend for my Fox Valley landscaping business? Pull the live weather and give me a verified recommendation with the cost breakdown for each step.","exampleUseCases":[{"title":"Weather-informed promotion decision","prompt":"Should I run a discount promotion this week for my Fox Valley landscaping business? I want a recommendation grounded in the actual local weather forecast, verified by a judge before you send it back."},{"title":"Outdoor event go/no-go call","prompt":"I'm planning an outdoor farmers market in Green Bay this Saturday — can you pull the live weather for lat 44.52, lon -88.02 and give me a verified go or no-go recommendation, plus tell me what each reasoning step cost?"},{"title":"Hyperlocal retail stocking decision","prompt":"I run a garden center near Appleton, WI. Based on this week's real weather data, should I stock up on rain gear or lawn equipment? Give me a judge-checked answer and the per-step cost ledger."}],"resultDescription":"Returns a JSON object containing: (1) the composed answer to the plain-English task, grounded in live weather data; (2) the independent judge's verdict (pass/fail and reasoning); (3) a per-step cost ledger detailing what each pipeline stage consumed; and optionally a self-correction trace if the first answer was rejected by the judge.","failureModes":["Judge rejects answer and single self-correction also fails — returns error with both attempts and judge reasoning","Weather data fetch fails — pipeline cannot ground answer, returns upstream fetch error","Invalid lat/lon coordinates — may default to Fox Valley or return a validation error","Request text exceeds 2000 characters — returns validation error","Payment of 1 USDC not completed — 402 Payment Required before pipeline executes","Inference timeout on RTX 5090 under heavy load — returns timeout error"],"whenToPreferThis":"Choose this endpoint when you need a live-data-grounded answer that has been independently verified before delivery — particularly for local business decisions where current weather conditions matter. It is distinct from raw LLM completions because it adds a retrieval step (live weather), a two-stage reasoning pipeline, and a judge verification layer with one bounded self-correction, all with a transparent per-step cost ledger. Prefer it over a simple completion endpoint when output correctness against real-world data is critical and you want auditability of the reasoning chain.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:34:26.454Z","isFirstParty":false,"canonicalSlug":"pay-to-compose-live-data-orchestrator-with-judge-verification-da5c780f"}