{"uid":"cap_N7TKijFC5og7gdPAxPpR8","slug":"hermes-micro-agent-python-debug-6628e7a9","name":"Hermes Micro-Agent – Python Debug","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://92.5.95.177.sslip.io/python_debug?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.25","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_G0xLn53HDrJL_qm1lxQoV","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":"Analyzes Python code snippets for bugs, errors, and issues, returning a plain-English explanation and suggested fixes via a pay-per-use HTTP 402 endpoint settled in USDC on Base.","exampleAgentPrompt":"Can you debug this Python code for me and tell me what's wrong and how to fix it: `def add(a, b): return a - b` — it should return the sum but it's giving wrong results.","exampleUseCases":[{"title":"Fix broken Python function logic","prompt":"Debug this Python function and tell me what's wrong: `def factorial(n): if n == 0: return 0 else: return n * factorial(n-1)` — it returns wrong results for non-zero inputs."},{"title":"Diagnose a Python runtime exception","prompt":"I'm getting a TypeError in my Python script — can you figure out what's causing it and how to fix it? Here's the code: `def greet(name): return 'Hello, ' + name` called with `greet(42)`."},{"title":"Debug Python loop not terminating","prompt":"This Python while loop seems to run forever and I can't figure out why — can you debug it and suggest a fix? `i = 0; while i < 10: print(i); i -= 1`"}],"resultDescription":"A plain-text string containing the identified bug(s), an explanation of why the code is broken, and suggested corrections or fixes for the Python code provided.","failureModes":["Missing or empty prompt field returns an error","Non-Python code submitted to the python_debug endpoint may yield irrelevant results","Payment verification failure on Base/USDC causes 402 rejection before execution","Very long code snippets may exceed token limits or increase latency","Ambiguous or incomplete code without context may produce generic or incorrect diagnosis"],"whenToPreferThis":"Choose this endpoint when you need on-demand, per-call Python debugging without subscribing to a full IDE or AI coding service, especially in agentic workflows that require metered, blockchain-verified payments in USDC on Base. Ideal for lightweight automation pipelines that need to debug Python snippets programmatically at $0.25 per call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T00:33:42.191Z","isFirstParty":false,"canonicalSlug":"hermes-micro-agent-python-debug-6628e7a9"}