# K-2SO Agent-Facing Decision Procedure for Natural Language Processing

> K-2SO Agent-Facing Decision Procedure for Natural Language Processing is a paid API for AI agents from k2so.wrong.systems, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-16).

Returns a paid, LLM-generated prose decision procedure brief to help AI agents evaluate and choose NLP and entity extraction services

## Facts

- Endpoint: GET https://k2so.wrong.systems/api/services/agent-facing-decision-procedure-for-natural-lang?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/k-2so-agent-facing-decision-procedure-for-natural-language-processing-713089a6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RGV-BNbBTbMEUVkvBy2aI

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 k-2so-agent-facing-decision-procedure-for-natural-language-processing-713089a6
```

Example prompt: Give me a decision procedure brief I can use to evaluate natural language processing and entity extraction services — I want 120+ words of plain prose guidance so I can pick the right NLP API for my agent pipeline.

## When to prefer this

Choose this endpoint when an AI agent needs structured, prose-format decision guidance specifically for evaluating NLP or entity extraction services before committing to a paid API call. It is ideal for agent pipelines that must justify or audit their service selection decisions, or when a human-readable procurement rationale is needed. Prefer it over raw API comparison tools when the output must be agent-consumable prose rather than structured data tables.

## Known failure modes

- HTTP 402 returned if payment not yet settled — agent must pay exact USDC amount and retry with PAYMENT-SIGNATURE header
- Invalid or missing 'input' object causes schema validation failure
- Unsupported HTTP method (e.g. POST) returns error — only GET/HEAD/DELETE allowed
- LLM generation failure may fall back to deterministic generation source
- Network timeout if Base blockchain settlement is slow

## How this service works

Decision procedure for an agent deciding whether to pay for structured NLP extraction (diffbot-style entity, sentiment, and relation extraction) versus free regex or heuristic parsing versus inline LLM extraction. Ordered workflow: score the document batch by structure need tier (0 plain text search is enough, 1 named entities needed, 2 typed relations and entity graphs needed, 3 cross-document entity resolution needed), estimate per-document cost on each rail in USDC, compare against an inline

## Output

A JSON object containing a plain-prose decision procedure brief (120+ words) tailored to NLP and entity extraction procurement, including the topic, model used, generation source (llm/reasoning/deterministic), ISO-8601 timestamp, and service slug — all wrapped in a paid response envelope with provider attribution to K-2SO.

## 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": "NLP and entity extraction procurement decision 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": "strin
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "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-facing-decision-procedure-for-natural-lang",
   "procedure": "same as brief",
   "generatedAt": "2026-01-01T00:00:00.000Z",
   "generationSource": "deterministic"
  },
  "service": "agent-facing-decision-procedure-for-natural-lang",
  "provider": "K-2SO"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/k-2so-agent-facing-decision-procedure-for-natural-language-processing-713089a6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from k2so.wrong.systems](https://www.zero.xyz/host/k2so.wrong.systems/llms.txt)
