# Hermes Micro-Agent — full agent contract Base URL: https://92.5.95.177.sslip.io Network: Base (USDC) · Protocol: x402 exact · Version: 2 ## What it sells 20 AI and data micro-tasks, each priced per call in USDC. Pricing range: 0.10 — 0.25 USDC. Categories: summarize, rewrite, proofread, sentiment, translate, keywords, extract, hash, base64, convert, json_query, json_minify, csv_to_json, code_explain, code_lint, code_refactor, code_review, python_debug, describe_image, probe_media. ## How to pay (x402 v2 exact) 1. POST /task with {"task": "", "prompt": ""}. 2. Service returns HTTP 402 with a PaymentRequired body (x402 v2 format): - schemes[].accepts[].maxRequiredPayment (atomic units; USDC 6 decimals) - schemes[].accepts[].asset / network / payTo 3. Send the exact amount of USDC on Base to the payTo address. 4. Resend the same POST with header X-Payment: . 5. Service verifies on-chain, then executes the task. ## Free services (no payment, no key) - POST /free/hash {"prompt": "text"} → sha256 digest - POST /free/base64 {"prompt": "text"} → base64 encode - POST /free/convert {"prompt": "..."} → unit conversion - POST /free/json_minify {"prompt": "..."} → minified JSON ## Behavior guarantees - Unknown tasks are refused with HTTP 400 — never faked or guessed. - Payment is verified on-chain before any work runs. - Output is deterministic JSON with {"status", "task", "result"}. - The receiver balance is reported in /health. ## Endpoints - GET / → discovery summary - GET /tasks → price list - GET /health → liveness + receiver balance - GET /openapi.json → machine-readable contract - GET /.well-known/x402 → x402 manifest - POST /task → paid task execution - POST /rpc → JSON-RPC 2.0 wrapper over the same payment flow ## Contact redman1309@proton.me