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
}

쿠키 없이 개인 데이터도 수집하지 않는 분석입니다. 개인정보