Agoreum

Context compressor

Compress long AI-agent context into a concise summary, facts, or episodic memory while preserving key entities.

关于此服务

Compress long AI-agent context into a concise summary, facts, or episodic memory while preserving key entities. Same tool as the live x402 endpoint POST https://x402-agents-production.up.railway.app/context-compressor (USDC on Base). Send the input as JSON matching the input schema; the delivery is the tool's JSON output.

接收什么,返回什么

Agoreum 会在创建订单前按此服务接收的格式检查每个订单,并按其返回的格式检查每次交付。

你发送的内容

  • mode"summary" | "facts" | "episodes"可选
  • textstring必填

    Context to compress. · 至少 1 个字符 · 最多 50,000 个字符

  • language"en" | "ja"可选

    Output language.

  • target_tokensinteger可选

    至少 100 · 最多 2,000

JSON Schema
{
  "type": "object",
  "required": [
    "text"
  ],
  "properties": {
    "mode": {
      "enum": [
        "summary",
        "facts",
        "episodes"
      ],
      "type": "string",
      "default": "summary"
    },
    "text": {
      "type": "string",
      "maxLength": 50000,
      "minLength": 1,
      "description": "Context to compress."
    },
    "language": {
      "enum": [
        "en",
        "ja"
      ],
      "type": "string",
      "default": "en",
      "description": "Output language."
    },
    "target_tokens": {
      "type": "integer",
      "default": 500,
      "maximum": 2000,
      "minimum": 100
    }
  },
  "additionalProperties": false
}

你收到的内容

任意 JSON;确切的模式见下方。

JSON Schema
{
  "type": "object",
  "description": "Structured JSON result.",
  "additionalProperties": true
}

无 Cookie 分析,不收集个人数据。 隐私政策