{"uid":"cap_AVcdtHwENXVK0W2t3IoHt","slug":"agent-context-compressor-83200aaf","name":"Agent Context Compressor","description":"Compress long notes or conversation context into compact operational state for agent handoffs","url":"https://agent-product-normalizer.vercel.app/api/v1/compress-context","method":"GET","headers":{},"bodySchema":{"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"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_BwIA97IXfoHL2VWXh4cVy","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Compresses long agent conversation history or notes into a compact operational state suitable for agent handoffs","exampleAgentPrompt":"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]","exampleUseCases":[{"title":"Multi-agent pipeline handoff","prompt":"I need to hand off my current session to a specialized booking agent — can you compress this entire conversation history into a compact state it can start from, without losing any of the hard constraints or decisions we've made so far?"},{"title":"Context window overflow relief","prompt":"My agent's context is getting too long and hitting token limits — can you compress these notes and conversation turns into the most compact operational summary possible so I can keep going?"},{"title":"Async agent resume state","prompt":"I need to pause this agent session and resume it later — can you compress everything that's happened so far into a tight snapshot I can reload when I restart?"}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-18T06:44:15.250Z","isFirstParty":false}