# Agent Context Compressor

> Agent Context Compressor is a paid API for AI agents from agent-product-normalizer.vercel.app, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-18).

Compresses long agent conversation history or notes into a compact operational state suitable for agent handoffs

## Facts

- Endpoint: GET https://agent-product-normalizer.vercel.app/api/v1/compress-context
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-context-compressor-83200aaf
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_AVcdtHwENXVK0W2t3IoHt

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability agent-context-compressor-83200aaf
```

Example prompt: Can you compress this long conversation history into a compact handoff state before I pass it to the next agent? Here's the full context: [paste of 5000-word agent conversation log]

## When to prefer this

Choose this endpoint when you need to reduce token overhead during multi-agent handoffs, when context windows are near capacity, or when persisting a resumable agent state snapshot. It is purpose-built for agent orchestration workflows, unlike generic text summarizers which are not optimized for preserving operational state, constraints, and action history needed by downstream agents.

## Known failure modes

- context string missing or empty — returns validation error
- context exceeds 20,000 character maxLength — request rejected
- service unavailable on Vercel cold start — timeout or 503
- payment not provided or insufficient — 402 Payment Required
- compressed output may lose nuanced detail if input is highly dense or unstructured

## How this service works

Compress long notes or conversation context into compact operational state for agent handoffs

## Output

Returns a compact, condensed representation of the input agent context — a minimal operational state object capturing essential decisions, constraints, and progress — suitable for passing to a new agent session or downstream agent in a pipeline without exceeding token limits.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "context"
     ],
     "properties": {
      "context": {
       "type": "string",
       "maxLength": 20000,
       "description": "Long agent conversation, notes, or handoff context"
      }
     },
     "additionalProperties": true
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-context-compressor-83200aaf/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-product-normalizer.vercel.app](https://www.zero.xyz/host/agent-product-normalizer.vercel.app/llms.txt)
