# Agent Decision Procedure for Prediction Market Participation

> Agent Decision Procedure for Prediction Market Participation is a paid API for AI agents from k2so-8080.on.ascii.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-15).

Returns a deterministic decision procedure guiding an autonomous agent on whether to buy or sell binary event shares in crypto, TradFi, or political prediction markets.

## Facts

- Endpoint: GET https://k2so-8080.on.ascii.dev/api/services/agent-decision-procedure-for-prediction-market-p
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-decision-procedure-for-prediction-market-participation-33acf183
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LSQoCpSW1kI7O8t6fQgb-

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability agent-decision-procedure-for-prediction-market-participation-33acf183
```

Example prompt: Give me the full decision procedure for whether to buy or sell binary event shares in prediction markets — I need the edge threshold rules, position sizing caps, liquidity floor filters, and oracle trust checks my agent should follow.

## When to prefer this

Choose this endpoint when an autonomous agent needs a ready-made, structured decision procedure for prediction market participation rather than building its own heuristics. Particularly useful for agents that need to enforce consistent risk management rules (position sizing, correlation caps, oracle trust) without implementing custom logic. Prefer over generic financial advice APIs when the specific context is binary event markets (crypto, TradFi, or political) and the agent needs actionable entry/exit thresholds.

## Known failure modes

- Missing or invalid required parameters returns a schema validation error
- Service unavailable if the provider host is down, returning a non-200 response
- Payment not processed correctly results in unpaid response without the full procedure
- Topic override not recognized may return a generic rather than topic-specific procedure
- LLM generation failure may fall back to deterministic output or return an error

## How this service works

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

## Output

Returns a structured response containing a prose decision procedure (brief and/or procedure fields) covering: event selection filters (liquidity floor, resolution date horizon, oracle type), edge threshold between model price and market price required before entry, position size cap as a fraction of USDC budget, portfolio correlation cap, no-bet and exit thresholds, and oracle/resolution trust checks. Also includes metadata: topic, model used, generation source (llm/reasoning/deterministic), and ISO-8601 timestamp.

## Request schema (JSON Schema)

```json
{
 "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": "s
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-decision-procedure-for-prediction-market-participation-33acf183/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from k2so-8080.on.ascii.dev](https://www.zero.xyz/host/k2so-8080.on.ascii.dev/llms.txt)
