{"uid":"cap_O_nm4fnTTjUyCviumfmSr","slug":"dev-5090-pay-to-compose-orchestrator-744d84b7","name":"dev-5090 Pay-to-Compose Orchestrator","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://dev-5090-box.tailfb4c1f.ts.net/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":{"required":["messages"],"properties":{"messages":{"type":"array","description":"OpenAI-style chat messages."}}},"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_IuvRldl4SJPb8wNn5tBpI","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, routes it through two local LLM stages, then an independent judge verifies the result against source data before returning a validated response","exampleAgentPrompt":"Run a composed pipeline: fetch the current weather and use the two-stage local model to give me a response about whether I should reschedule my outdoor event, then have the judge verify the answer against the live weather data before you send it back.","exampleUseCases":[{"title":"Weather-grounded event planning advice","prompt":"I have an outdoor wedding planned for this Saturday in Austin, TX — can you run the full compose pipeline to pull live weather, reason about whether conditions look good, and have the judge verify the recommendation before you tell me?"},{"title":"Verified AI briefing for field operations","prompt":"Pull today's live weather data for Chicago and run it through your two-stage compose pipeline to generate a field-ops briefing for our construction crews, making sure the judge validates everything against the raw source before you send it."},{"title":"Automated pipeline quality check","prompt":"I want to test your orchestration pipeline — send a message asking about current weather conditions in Seattle and make sure the independent judge step runs to confirm the model's answer matches the real data before returning the result."}],"resultDescription":"A judge-verified, multi-stage LLM response that has been composed using live weather data as grounding, with the independent judge confirming the answer is consistent with source data before delivery. The response follows OpenAI-style chat completion format.","failureModes":["Payment not fulfilled — returns 402 if USDC payment is not attached","Weather data fetch failure — live data unavailable for the requested location","Judge disagreement — judge may reject or flag a composed response that contradicts source data","Model timeout — multi-stage local inference on RTX 5090 may exceed time limits under load","Malformed messages array — missing or invalid OpenAI-style messages causes schema validation error","bodyType mismatch — specifying wrong bodyType (e.g. form-data instead of json) causes parsing failure"],"whenToPreferThis":"Choose this endpoint when you need a grounded, verifiable AI response that must be checked against real-world live data (weather) before it is trusted. It is uniquely suited to scenarios where hallucination risk is high and an independent judge step adds meaningful quality assurance. Prefer it over bare inference endpoints when the pipeline correctness matters more than raw latency, and when you are willing to pay $1 USDC per call for the orchestration overhead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T12:44:58.154Z","isFirstParty":false,"canonicalSlug":"dev-5090-pay-to-compose-orchestrator-744d84b7"}