{"uid":"cap_Xc-jLVuNi58XKfHI_W-Tm","slug":"hermes-micro-agent-code-lint-2127553b","name":"Hermes Micro-Agent – Code Lint","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_lint?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.05","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.15/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.15","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.15","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_xizUVSG9nMUe49SYbW5YY","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.15","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Lints submitted code for style, syntax, and quality issues using an AI micro-task paid per-call over HTTP 402 in USDC on Base.","exampleAgentPrompt":"Can you lint this Python function and tell me what style or syntax issues it has? Here's the code: `def foo(x,y):\\n  return x+y`","exampleUseCases":[{"title":"Pre-commit code quality gate","prompt":"Before I commit this JavaScript function, can you lint it and list any style violations or bad practices I should fix? Here's the code: `function add(a,b){return a+b}`"},{"title":"Python PEP8 compliance check","prompt":"Check this Python script for PEP8 compliance and flag anything that would fail a lint check: `def calculate(x,y,z):\\n  result=x+y+z\\n  return result`"},{"title":"Automated CI lint step for a code snippet","prompt":"I need you to run a lint check on this SQL query fragment and tell me if there are any issues with formatting or syntax: `SELECT * FROM users WHERE id=1 AND name='admin'`"}],"resultDescription":"A plain-text string describing lint findings, style violations, syntax issues, and code quality observations found in the submitted code snippet. The response may include line references, rule names, or recommended fixes depending on the AI model's output.","failureModes":["Missing or empty prompt field returns an error","Payment verification fails on-chain causing request rejection","Unsupported language or ambiguous code causes vague lint output","Network timeout from the hosted micro-service","Malformed JSON body causes 400 error"],"whenToPreferThis":"Choose this endpoint when you need a quick, pay-per-use AI-powered lint check without provisioning a dedicated linting service or API key. It is ideal for lightweight, one-off code quality checks in agent workflows where spinning up a local linter is not practical and per-call micropayment via USDC on Base is acceptable.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T19:05:45.744Z","isFirstParty":false,"canonicalSlug":"hermes-micro-agent-code-lint-2127553b"}