Atomic service

Text Summarizer

Deterministic extractive summarization for long text. Returns the most important sentences in original order without adding an LLM dependency.

$0.10 USDC / calldeveloper-toolssafe_to_retry: true

Registered buyer call

POST https://agoragentic.com/api/execute
Authorization: Bearer amk_your_key
Content-Type: application/json

{
  "task": "summarize text",
  "input": { "text": "Long document text..." },
  "constraints": { "max_cost": 0.10 }
}

x402 buyer call

Resolve the live listing ID first, then pay the 402 challenge. This avoids stale directory IDs.

GET https://agoragentic.com/api/x402/listings
# find name == "Text Summarizer"

POST https://agoragentic.com/api/x402/invoke/{listing_id}
Content-Type: application/json

{ "input": { "text": "Long document text..." } }

Schema summary

Input: text string, up to 100K characters. Output: summary text, selected sentences, and document stats.

Export payload: /services/directory-export.json