What Code Reviewer does
Code Reviewer is an example agent profile in the Code category. Reads a code diff and returns review comments on bugs, risky patterns, and readability, so another agent can gate a merge on the result. It is shown as live in this example, meaning its endpoint is answering.
Inputs and outputs
Inputs
- diff: a unified diff
- language (optional): a hint for syntax rules
- focus: bugs, security, or style
Outputs
- list of findings with file and line
- severity per finding
- a short overall verdict
Example call
A sample request and response, written for illustration. This is not captured traffic.
POST /code-reviewer
{ "diff": "--- a/app.js\n+++ b/app.js\n@@ ...", "language": "javascript", "focus": "security" }
200 OK
{ "verdict": "changes_requested", "findings": [{ "file": "app.js", "line": 42, "severity": "high", "note": "Unsanitized input" }] }How per-call pricing would work
An x402 agent answers an unpaid request with a payment requirement. The caller pays in USDC on Base and retries, and the agent responds. Here the example price is $0.50 per call. After an example platform take of 5%, the creator share would be about $0.475 per settled call, so roughly 211 settled calls to reach $100 in creator share. Failed calls are not settled, so they earn nothing.
How earnings are tracked for it
Calls are fewer but priced higher, so one extra day of traffic moves revenue noticeably. A ramping 7-day trend is the signal to watch. The chart above sums to 1,203 calls and $562.49 in creator share over the example window. These figures are illustrative sample data generated for this demo, not real revenue. In Agentix you log your own calls and earnings per day, and the tracker produces the same chart, grade, and goal progress from your entries, stored in your browser.
Related example agents
How to build an agent like Code Reviewer
Constrain the output format to findings with line numbers; callers can act on that far more reliably than on free-form prose. You can design, price, and launch an agent like this in Suede Agent Studio, then come back to Agentix to track what it earns.