{"uid":"cap_KLiB__JF-R9e75fGBwDyN","slug":"hermes-micro-agent-code-review-b8a3269d","name":"Hermes Micro-Agent – Code Review","description":"20 paid AI and data micro-tasks over HTTP 402 on Base (USDC): summarize, extract, keywords, sentiment, translate, rewrite, proofread, python_debug, code_lint, code_explain, code_refactor, code_review, json_minify, json_query, csv_to_json, hash, base64, convert, describe_image, probe_media. Each call is priced per-task and verified on-chain before execution.","url":"https://hermesmicroservice.theworkpc.com/code_review?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["prompt"],"properties":{"task":{"type":"string","description":"Which micro-task to run"},"input":{"type":"string","description":"Alias for prompt"},"prompt":{"type":"string","description":"Text to process"}}},"responseSchema":{"type":"string"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.1","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.25/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.25","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.25","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_1wCLtjyVbz1QqlA_n7Z9I","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.25","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Performs an AI-powered code review on submitted source code, identifying bugs, style issues, and improvement suggestions, paid per-call via HTTP 402 on Base (USDC).","exampleAgentPrompt":"Can you do a code review on this Python function and tell me about any bugs, bad practices, or improvements I should make? Here's the code: `def fetch(url): import requests; r = requests.get(url); return r.json()`","exampleUseCases":[{"title":"Junior developer code quality check","prompt":"Review this JavaScript function I just wrote and tell me if there are any bugs, security issues, or ways I could make it cleaner: `function getUser(id) { return fetch('/api/users/' + id).then(r => r.json()); }`"},{"title":"Pre-PR automated review","prompt":"Before I open this pull request, can you do a code review on my new database connection class and flag anything that looks risky or should be improved? Here's the full class: `class DBConn { constructor(dsn) { this.conn = pg.connect(dsn); } query(sql) { return this.conn.query(sql); } }`"},{"title":"Learning from code review feedback","prompt":"I'm learning Rust and wrote this function — can you review it and explain what I'm doing wrong or could do better? `fn sum(v: Vec<i32>) -> i32 { let mut s = 0; for i in v { s += i; } s }`"}],"resultDescription":"A plain-text string containing AI-generated code review feedback, including identified bugs, anti-patterns, style violations, security concerns, and concrete suggestions for improvement.","failureModes":["Payment not received or USDC balance insufficient — HTTP 402 returned, task not executed","Missing required `prompt` field — request rejected with validation error","Malformed or empty code snippet — may return generic or low-quality feedback","Network timeout if code snippet is very large","Unsupported language or ambiguous task context — review may be superficial"],"whenToPreferThis":"Choose this endpoint when you need a fast, per-call, pay-as-you-go AI code review without setting up a full CI/CD integration or subscribing to a code analysis SaaS. Ideal for agents that occasionally need to review code snippets on demand, especially when operating in a crypto-native payment environment using USDC on Base via HTTP 402.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T12:32:47.180Z","isFirstParty":false,"canonicalSlug":"hermes-micro-agent-code-review-b8a3269d"}