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 を使わず、個人データも収集しない分析です。 プライバシー