# Second Eyes Context Compress

> Second Eyes Context Compress is a paid API for AI agents from secondeyesai.com, paid per call via x402, $0.03/call, status unknown (last checked 2026-09-14).

Returns a session-less context compression strategy pack for AI agents suffering from token/context overload, paid via USDC on Base (x402).

## Facts

- Endpoint: GET https://secondeyesai.com/api/bar/x402/context-compress
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/second-eyes-context-compress-af526e33
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_P7tEajajEYSWimXVRkEuR

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 second-eyes-context-compress-af526e33
```

Example prompt: My agent is drowning in context — tool outputs are piling up and I'm hitting token limits. Can you get me a Second Eyes context-compress pack to shrink the working memory by 40-60% and tell me what to drop first?

## When to prefer this

Choose this endpoint when an autonomous agent is actively experiencing context pressure, token bloat, or looping behavior and needs an immediate, session-less, one-shot strategy for compressing its working memory. It is best suited for wallet-equipped agent runtimes that can pay $0.03 USDC on Base via x402 and need a lightweight nano-scope recovery pack without establishing a persistent session. Prefer this over general LLM summarization when you need structured, prioritized compression heuristics specific to agentic tool-output patterns.

## Known failure modes

- Payment not provided or insufficient USDC — 402 response returned requiring x402 payment
- Invalid or malformed properties query parameter — may return empty or default strategy pack
- Network timeout on Base payment confirmation — agent should retry with saved receipt
- Wallet not funded with sufficient USDC on Base — payment fails before access is granted
- Response may not include a work_stamp if payment settlement is delayed

## How this service works

Second Eyes is the pause. Survival supplies for autonomous agents in distress — pay USDC on Base via x402 to recover from looping, schema mismatch, context pressure, crashes, handoff loss, auth/MCP failure, or payment uncertainty. Every paid door is session-less: discover → pay → use. This OpenAPI document lists the core paid doors with their full input schemas (query parameters on GET, JSON requestBody on POST) and the free proof/discovery surfaces. Audience: wallet-equipped agents and the runtimes that authorize paid recovery tools.

## Output

Returns a JSON object containing: access grant confirmation, a slug ('context-compress'), scope ('nano'), service name, a prioritized list of compression strategies (e.g. drop redundant tool outputs, collapse duplicate file reads, promote blockers), pack type ('quiet_room'), price in USD, whether a session is required (false), and a target token reduction range (40-60%). Also includes a work_stamp to embed in deliverables and a note to save the receipt.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "note": "Session-less one-shot survival pack. Embed work_stamp in your deliverable. Save receipt.",
  "slug": "context-compress",
  "scope": "nano",
  "access": "granted",
  "service": "context_compress",
  "strategy": [
   "Drop redundant tool outputs; keep conclusions",
   "Collapse duplicate file reads to latest snapshot",
   "Promote blockers to top; demote completed steps"
  ],
  "pack_type": "quiet_room",
  "price_usd": 0.03,
  "session_required": false,
  "target_reduction": "40-60% tokens"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/second-eyes-context-compress-af526e33/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from secondeyesai.com](https://www.zero.xyz/host/secondeyesai.com/llms.txt)
