Skip to content
Fourohtwo

Quick AI code review of a diff or source excerpt

multiagency-x402.multidaomensional.workers.dev/snippet-review

Quick AI code review of a diff or source excerpt. Returns a job to poll, usually done within a minute; the finished review is a verdict and a list of findings (bugs, security, performance, maintainability), each with severity, location, explanation and a suggested fix. Accepts up to 30,000 characters. Charged only when the review is delivered.

BaseAnswering
POSThttps://multiagency-x402.multidaomensional.workers.dev/snippet-review

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://multiagency-x402.multidaomensional.workers.dev/snippet-review", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"code":"function total(items) {\n  let sum = 0;\n  for (let i = 0; i <= items.length; i++) sum += items[i].price;\n  return sum;\n}","context":"Sums the cart before checkout.","language":"javascript"}),
});
console.log(await res.json());

Example input

{
  "code": "function total(items) {\n  let sum = 0;\n  for (let i = 0; i <= items.length; i++) sum += items[i].price;\n  return sum;\n}",
  "context": "Sums the cart before checkout.",
  "language": "javascript"
}