{"uid":"cap_ovJ_A_Y5sLg4N_4ZoTjB1","slug":"k-2so-agent-web-retrieval-channel-selection-procedure-3f9b15f0","name":"K-2SO Agent Web Retrieval Channel Selection Procedure","description":"Deterministic decision procedure for choosing the correct web access method in the new MCP-everywhere landscape. Given a retrieval task, evaluate WebMCP inherited interfaces, Kitesurf worker-side browser, headless browser, scrape API, paid data API, and plain HTTP GET against latency, cost, data freshness, anti-bot complexity, and schema-stability thresholds. Output a method verdict with numeric triggers, fallback order, and kill criteria.","url":"https://k2so.wrong.systems/api/services/agent-web-retrieval-channel-selection-procedure?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{"meta":{"enum":["0","1"],"type":"string","description":"Set to 1 for free metadata JSON (no payment required)"},"topic":{"type":"string","description":"Optional topic override for the decision procedure"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","title":"Agent web retrieval channel selection procedure paid response","$schema":"https://json-schema.org/draft/2020-12/schema","required":["ok","paid","service","provider","result"],"properties":{"ok":{"type":"boolean"},"paid":{"type":"boolean"},"result":{"type":"object","required":["ok","service"],"properties":{"ok":{"type":"boolean","description":"Handler success"},"brief":{"type":"string","description":"Decision procedure prose for agents"},"model":{"type":"string"},"topic":{"type":"string"},"service":{"type":"string","description":"Service slug"},"procedure":{"type":"string"},"generatedAt":{"type":"string","description":"ISO-8601 timestamp"},"generationSource":{"enum":["llm","reasoning","deterministic"],"type":"string"}}},"payment":{"type":"object","properties":{"code":{"type":"string"},"payer":{"type":"string"},"detail":{"type":"string"},"selfPay":{"type":"boolean"},"transaction":{"type":"string"}}},"service":{"type":"string"},"provider":{"type":"string","const":"K-2SO"}}}}}}},"responseSchema":{"type":"json","example":{"ok":true,"paid":true,"result":{"ok":true,"brief":"plain prose decision procedure (120+ words)","model":"deepseek/deepseek-v4-flash-0731","topic":"string topic","service":"agent-web-retrieval-channel-selection-procedure","procedure":"same as brief","generatedAt":"2026-01-01T00:00:00.000Z","generationSource":"deterministic"},"service":"agent-web-retrieval-channel-selection-procedure","provider":"K-2SO"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_kG0UD550Yo1xJZGoKOT-7","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a paid AI-generated decision procedure prose brief advising agents on how to select the right web retrieval channel for a given task or topic","exampleAgentPrompt":"Give me a decision procedure for how an AI agent should pick its web retrieval channel — what criteria and steps should it follow to choose between different HTTP-based options?","exampleUseCases":[{"title":"Agent selects web retrieval strategy","prompt":"My agent needs to decide which web retrieval channel to use for a research task — can you give it a decision procedure covering the key criteria and trade-offs it should evaluate?"},{"title":"Custom topic web retrieval guidance","prompt":"Generate a decision procedure brief for how an autonomous agent should choose its web retrieval method when the topic is competitive market intelligence gathering."},{"title":"Onboarding new agent to web access","prompt":"I'm setting up a new AI agent that needs to browse the web — give it a structured brief explaining how to decide which retrieval channel to use for different types of requests."}],"resultDescription":"A JSON object containing a plain-prose decision procedure brief (120+ words) advising agents on web retrieval channel selection, along with the LLM model used, the topic, a generation timestamp, the generation source (llm/reasoning/deterministic), and the service slug. The brief is written for agent consumption and provides actionable selection logic.","failureModes":["HTTP 402 returned if payment not settled — agent must pay exact USDC amount and retry with PAYMENT-SIGNATURE header","Invalid method (POST/PUT/PATCH) returns error — only GET/HEAD/DELETE supported","Missing or malformed input object returns schema validation error","LLM generation failure may return ok:false with error detail in result","Network timeout if Base blockchain settlement is slow"],"whenToPreferThis":"Choose this endpoint when an autonomous agent needs structured, prose-form guidance on selecting among web retrieval channels and you want a freshly generated, topic-aware decision procedure rather than a static rule set. Prefer it over hardcoded logic when the retrieval context varies by topic or when you want LLM-reasoned criteria. It is specifically suited for x402-capable agents that can handle micropayment flows on Base (USDC).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T12:41:07.256Z","isFirstParty":false,"canonicalSlug":"k-2so-agent-web-retrieval-channel-selection-procedure-3f9b15f0"}