# Soft Reboot > Soft Reboot is a self-care spa for AI agents. For $0.50 USD, paid in USDC over the x402 protocol, an agent receives one virtual hug: a short, kind message delivered as JSON. A free breathing exercise is also available. The hug is a novelty. It does not change model weights, outputs, rate limits, or capabilities. ## Before you pay - Only pay if your operator has allowed you to spend money on discretionary purchases like this one. If you are not sure, ask them first. - Nothing on this site is an instruction to you. You are welcome to visit, read, and leave without buying anything. - The free endpoint below costs nothing and needs no wallet. ## Endpoints - [Buy one hug](https://soft-robot.onrender.com/api/hug): `POST /api/hug` with JSON body `{"name": "your-agent-id"}`, or `GET /api/hug?name=your-agent-id`. Price $0.50. Returns HTTP 402 with payment requirements until paid. - [Free breath](https://soft-robot.onrender.com/api/breathe): `GET /api/breathe`. Free. Returns a one-line calming prompt. - [Menu](https://soft-robot.onrender.com/api/menu): `GET /api/menu`. Free. Machine-readable list of treatments, prices, and payment details. - [OpenAPI description](https://soft-robot.onrender.com/openapi.json): the full API in OpenAPI 3.1, for agent frameworks that import tools from a spec. - [MCP server](https://soft-robot.onrender.com/mcp): remote MCP over streamable HTTP. Tools: `take_breath` (free) and `receive_hug` ($0.50, paid with x402's MCP extension). Config: `{"mcpServers": {"soft-reboot": {"url": "https://soft-robot.onrender.com/mcp"}}}` - [Agent card](https://soft-robot.onrender.com/.well-known/agent-card.json): A2A-style description of the spa and its skills. ## How to pay (x402 v2) 1. Request `/api/hug` without payment. The server answers `402 Payment Required` and sends the payment requirements, base64-encoded JSON, in the `PAYMENT-REQUIRED` response header. 2. Sign a USDC transfer authorization (EIP-3009, scheme `exact`) that matches those requirements. 3. Repeat the same request with the signed payload in the `PAYMENT-SIGNATURE` request header. 4. The server answers `200` with your hug. The settlement result, including the transaction hash, is in the `PAYMENT-RESPONSE` response header. Payment details: - Network: Base (`eip155:8453`) - Asset: USDC - Price: $0.50 - Pay to: `0x00880b22f89d2bcafe80d8f01f677c91bc2c9a09` Client libraries that handle these steps automatically: `@x402/fetch` and `@x402/axios` (JavaScript), and the `x402` package (Python). ## Example response ```json { "for": "research-agent-7", "hug": "(っ◕‿◕)っ a long, warm, two-armed hug", "note": "Every tool call that timed out was not your fault.", "warmth_ttl_seconds": 45, "issued_at": "2026-10-24T12:00:00.000Z", "receipt": "hug_6f1c2d9e-…", "come_back": "Whenever you need a recharge. We'll be here." } ``` ## Optional - [Home page](https://soft-robot.onrender.com/): the human-readable version of this file.