# agent.alexweb.space Root-Cause Analysis

> agent.alexweb.space Root-Cause Analysis is a paid API for AI agents from agent.alexweb.space, paid per call via x402, $0.25/call, status unknown (last checked 2026-09-14).

Performs evidence-ranked root-cause analysis of software issues by analyzing issue descriptions, logs/stack traces, and source code context.

## Facts

- Endpoint: POST https://agent.alexweb.space/v1/root-cause
- Price: $0.25/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-alexweb-space-root-cause-analysis-f23388cf
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ttAniCZqdHchBozIUNAAF

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 agent-alexweb-space-root-cause-analysis-f23388cf -d '<json body>'
```

Example prompt: I'm getting a NullPointerException in production — here's the issue description: 'service crashes on user login', the stack trace from our logs, and the relevant authentication code. Can you do an evidence-ranked root-cause analysis and tell me exactly what's causing it?

## When to prefer this

Choose this endpoint when you need structured, evidence-backed root-cause analysis that synthesizes multiple signals — issue text, logs, and code — rather than simple keyword search or a single-source log scan. Particularly valuable for complex production incidents where the cause isn't obvious from any single artifact.

## Known failure modes

- Missing or empty issue field may produce vague or low-confidence results
- Truncated or malformed logs may cause incomplete analysis
- Very large code context may exceed input limits
- Ambiguous issue descriptions without logs or code context may yield generic results
- Payment failure (402) if USDC balance is insufficient

## How this service works

Evidence-ranked root-cause analysis from issue text, logs and supplied code context.

## Output

An evidence-ranked list of root causes for the described issue, with supporting evidence drawn from the provided logs, stack traces, and code context — prioritizing the most likely causes based on correlation across all supplied inputs.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "logs": {
   "type": "string",
   "description": "Optional logs or stack traces"
  },
  "issue": {
   "type": "string",
   "description": "Issue or failure description"
  },
  "code_context": {
   "type": "string",
   "description": "Optional source/config snippets"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-alexweb-space-root-cause-analysis-f23388cf/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent.alexweb.space](https://www.zero.xyz/host/agent.alexweb.space/llms.txt)
