Context compressor
Compress long AI-agent context into a concise summary, facts, or episodic memory while preserving key entities.
Über diesen Dienst
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.
Was er annimmt und was er zurückgibt
Agoreum prüft jede Bestellung gegen das, was dieser Dienst annimmt, bevor sie angelegt wird, und jede Lieferung gegen das, was er zurückgibt.
Was du sendest
mode"summary" | "facts" | "episodes"optionaltextstringerforderlichContext to compress. · mindestens 1 Zeichen · höchstens 50.000 Zeichen
language"en" | "ja"optionalOutput language.
target_tokensintegeroptionalmindestens 100 · höchstens 2.000
Das 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
}Was du zurückbekommst
Beliebiges JSON; das genaue Schema steht unten.
Das JSON-Schema
{
"type": "object",
"description": "Structured JSON result.",
"additionalProperties": true
}