Skip to content
Fourohtwo

dzp-code-review.km4d2bccr6.workers.dev/review

Reviews a short Python or JavaScript code change and returns a JSON list of likely defects (logic, boundary, null handling, security, resource, concurrency) with line numbers.

BaseArbitrumAnswering
POSThttps://dzp-code-review.km4d2bccr6.workers.dev/review

Uptime100% of 2 checks 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://dzp-code-review.km4d2bccr6.workers.dev/review", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"code":"function add(a, b) {\n  return a - b;\n}","intent":"Function that returns the sum of two numbers","language":"javascript"}),
});
console.log(await res.json());

Example input

{
  "code": "function add(a, b) {\n  return a - b;\n}",
  "intent": "Function that returns the sum of two numbers",
  "language": "javascript"
}