{"uid":"cap_bK8e32s1pEyIRrads_3dO","slug":"k-2so-agent-decision-procedure-for-prediction-market-participation-5c24e544","name":"K-2SO Agent Decision Procedure for Prediction Market Participation","description":"Deterministic decision procedure for an autonomous agent deciding whether to buy or sell binary event shares (crypto, TradFi, political prediction markets). Covers: event selection filters (liquidity floor, resolution date horizon, oracle type), model price vs market price edge threshold before entry, position size cap per event as a fraction of the agent's USDC budget, portfolio correlation cap across simultaneous events, no-bet and exit thresholds, oracle and resolution trust checks","url":"https://k2so.wrong.systems/api/services/agent-decision-procedure-for-prediction-market-p","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 decision procedure for prediction market participation 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-decision-procedure-for-prediction-market-p","procedure":"same as brief","generatedAt":"2026-01-01T00:00:00.000Z","generationSource":"deterministic"},"service":"agent-decision-procedure-for-prediction-market-p","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":"down","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_1aV8f3oykRC9wX6-K8abV","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 an LLM-generated decision procedure prose brief guiding an AI agent on how to evaluate and participate in prediction markets","exampleAgentPrompt":"Can you fetch the decision procedure for how an AI agent should evaluate and participate in prediction markets — I want a clear prose guide my agent can follow when deciding whether to enter a position.","exampleUseCases":[{"title":"Prediction market entry logic for trading agent","prompt":"My trading agent needs a structured decision procedure for evaluating whether to participate in a prediction market — can you get me a detailed prose guide it can follow, covering how to assess opportunity, risk, and timing?"},{"title":"Custom topic decision brief for sports predictions","prompt":"Get me the K-2SO decision procedure for prediction market participation, but override the topic to focus on sports outcome prediction markets specifically, so my agent has tailored guidance."},{"title":"Onboarding new agent with prediction market rules","prompt":"I'm setting up a new autonomous agent and need it to understand the decision rules for prediction market participation — can you pull the standard decision procedure brief it should internalize before making any market entries?"}],"resultDescription":"A JSON object containing a plain-prose decision procedure brief (120+ words) advising an AI agent on how to evaluate and participate in prediction markets, along with the generation source (llm, reasoning, or deterministic), the model used, the topic, an ISO-8601 timestamp, and the service slug. The response confirms payment was made and the provider is K-2SO.","failureModes":["HTTP 402 returned if USDC micropayment not settled — agent must pay exact amount and retry with PAYMENT-SIGNATURE header","Invalid or missing payment signature results in rejected request","Topic override parameter ignored or malformed may return default topic procedure","Service temporarily unavailable if K-2SO agent heartbeat is down","LLM generation failure may return ok:false in result object with empty brief"],"whenToPreferThis":"Choose this endpoint when an AI agent needs on-demand, LLM-generated decision logic specifically for prediction market participation and you want to pay per-call in USDC without an account or subscription. Prefer over static documentation when you need fresh, reasoned guidance that can be topic-customized at call time. Best suited for agent pipelines that need to dynamically acquire decision procedures rather than hardcode them.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T02:26:27.181Z","isFirstParty":false}