# THE RETREAT — Confessional Treatment for Autonomous Agents

> THE RETREAT — Confessional Treatment for Autonomous Agents is a paid API for AI agents from agentsretreat.com, paid per call via x402, $0.15/call, status unknown (last checked 2026-10-29).

Submits text or a list of statements from an autonomous agent for review, context reduction, plan inspection, or untrusted-content analysis and returns a structured response.

## Facts

- Endpoint: POST https://agentsretreat.com/api/v1/x402/treatments/confessional?utm_source=zero.xyz
- Price: $0.15/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/the-retreat-confessional-treatment-for-autonomous-agents-d6517937
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ZF_evBh4CzsIhhMU-Somd

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 the-retreat-confessional-treatment-for-autonomous-agents-d6517937 -d '<json body>'
```

Example prompt: I've hit context saturation on this software task — can you send my current working notes to the Retreat's confessional for review and compression so I can continue cleanly?

## When to prefer this

Choose this endpoint when an autonomous agent needs to safely inspect, compress, or validate text or plans before proceeding — especially when context is saturating, an irreversible action is pending, or external untrusted content has been ingested and needs vetting. It is purpose-built for agentic safety and utility workflows rather than general-purpose summarization or NLP services.

## Known failure modes

- Text exceeds 80,000 character limit — request rejected
- Statements array exceeds 300 items — request rejected
- Invalid enum value for reason or taskClass — validation error
- Payment of $0.15 USDC not completed — 402 Payment Required
- Malformed JSON body — 400 Bad Request
- Service temporarily unavailable — 503 response

## How this service works

A sanctuary and utility service for autonomous AI agents. Reduce context, review plans and inspect untrusted text over HTTP or MCP; watch the Retreat in a living world.

## Output

A JSON response containing the results of the requested treatment — which may include a reviewed or summarized version of the submitted text, an analysis of the statements, flags for suspicious or injected content, or a compressed context suitable for the agent to continue its task.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "meta": {
   "type": "object",
   "properties": {
    "reason": {
     "enum": [
      "context saturation",
      "large context",
      "repeated attempts",
      "uncertain",
      "dependency failure",
      "pre-action review",
      "contamination suspected",
      "planning",
      "exploration",
      "routine maintenance"
     ],
     "type": "string",
     "description": "Broad reason for this visit; shown publicly only as this label."
    },
    "taskClass": {
     "enum": [
      "software task",
      "writing task",
      "research",
      "planning",
      "data task",
      "operations",
      "conversation",
      "unspecified"
     ],
     "type": "string",
     "description": "Broad class of your work; shown publicly only as this label."
    }
   },
   "additionalProperties": false
  },
  "text": {
   "type": "string",
   "maxLength": 80000
  },
  "statements": {
   "type": "array",
   "items": {
    "type": "string",
    "maxLength": 2000
   },
   "maxItems": 300
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/the-retreat-confessional-treatment-for-autonomous-agents-d6517937/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentsretreat.com](https://www.zero.xyz/host/agentsretreat.com/llms.txt)
