# Hermes Micro-Agent – Code Explain

> Hermes Micro-Agent – Code Explain is a paid API for AI agents from 92.5.95.177.sslip.io, paid per call via x402, $0.15/call, status unknown (last checked 2026-10-29).

Accepts a code snippet and returns a plain-English explanation of what the code does, powered by an AI micro-agent paid per-call via on-chain USDC on Base.

## Facts

- Endpoint: POST https://92.5.95.177.sslip.io/code_explain?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/hermes-micro-agent-code-explain-7ff49f4f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VYZbVm7ucfZ0n4d-o13rm

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 hermes-micro-agent-code-explain-7ff49f4f -d '<json body>'
```

Example prompt: Can you explain what this code does in plain English? Here's the snippet: `def fibonacci(n): return n if n <= 1 else fibonacci(n-1) + fibonacci(n-2)` — it's a Python function and I want to understand how it works.

## When to prefer this

Choose this endpoint when you need a quick, per-call AI-generated explanation of a code snippet and want to pay only for what you use via USDC on Base (no subscription required). It is ideal for agentic workflows where code comprehension is one step in a larger pipeline and you need a lightweight, pay-as-you-go micro-task rather than a full IDE plugin or hosted LLM session.

## Known failure modes

- Empty or missing prompt field returns an error
- On-chain payment verification failure causes 402 rejection with no execution
- Ambiguous or minified code without context may yield vague explanation
- Very large code snippets may exceed prompt limits and return truncated analysis
- Network timeout to the raw-IP sslip.io host if server is unreachable

## How this service works

20 paid AI and data micro-tasks over HTTP 402 on Base (USDC): summarize, extract, keywords, sentiment, translate, rewrite, proofread, python_debug, code_lint, code_explain, code_refactor, code_review, json_minify, json_query, csv_to_json, hash, base64, convert, describe_image, probe_media. Each call is priced per-task and verified on-chain before execution.

## Output

A plain-text string containing a natural-language explanation of the submitted code snippet — describing its purpose, logic flow, inputs, outputs, and any notable patterns or edge cases the AI identifies.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "prompt"
 ],
 "properties": {
  "task": {
   "type": "string",
   "description": "Which micro-task to run"
  },
  "input": {
   "type": "string",
   "description": "Alias for prompt"
  },
  "prompt": {
   "type": "string",
   "description": "Text to process"
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/hermes-micro-agent-code-explain-7ff49f4f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 92.5.95.177.sslip.io](https://www.zero.xyz/host/92.5.95.177.sslip.io/llms.txt)
