# Crucible Code Compare — Multi-Language Parallel Execution

> Crucible Code Compare — Multi-Language Parallel Execution is a paid API for AI agents from crucible-lovat.vercel.app, paid per call via x402, $0.2/call, status unknown (last checked 2026-09-15).

Runs the same logic in multiple programming languages simultaneously and returns all results for comparison

## Facts

- Endpoint: POST https://crucible-lovat.vercel.app/api/compare
- Price: $0.2/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/crucible-code-compare-multi-language-parallel-execution-68ca1600
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_lCMsooXBxTZv4zXktsfwZ

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 crucible-code-compare-multi-language-parallel-execution-68ca1600 -d '<json body>'
```

Example prompt: Run this Fibonacci function in Python, JavaScript, and Go and show me all three outputs side by side so I can compare how each language handles it: `def fib(n): return n if n <= 1 else fib(n-1)+fib(n-2)`

## When to prefer this

Choose this endpoint when you need to run and compare the same logic across multiple programming languages in a single request — ideal for cross-language consistency checks, polyglot benchmarking, or validating that a ported algorithm produces identical results. Prefer this over the single-language execution endpoint when comparison across 2+ languages is the goal.

## Known failure modes

- Unsupported language identifier causes execution failure for that pair
- Syntax error in submitted code returns error in that language's result slot
- Timeout if code runs too long or enters infinite loop
- Empty languages array returns success but zero results
- Payment failure on Base chain blocks the request before execution
- Malformed request body missing required languages array returns 400

## How this service works

7 endpoints for code execution in 60+ languages. Pay per request via x402 on Base chain.

## Output

Returns a JSON object with a success boolean, the count of language executions that ran, and an array of results — one per language-code pair — each containing the output or error from that execution environment

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "languages"
 ],
 "properties": {
  "languages": {
   "type": "array",
   "description": "Array of language+code pairs to run"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "success"
 ],
 "properties": {
  "data": {
   "type": "object",
   "properties": {
    "count": {
     "type": "number"
    },
    "results": {
     "type": "array"
    }
   }
  },
  "success": {
   "type": "boolean"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/crucible-code-compare-multi-language-parallel-execution-68ca1600/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from crucible-lovat.vercel.app](https://www.zero.xyz/host/crucible-lovat.vercel.app/llms.txt)
