{"uid":"cap_OmIhPCaykTrW_yk_ZEODQ","slug":"hermes-micro-agent-python-debug-d902a0f4","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://hermesmicroservice.theworkpc.com/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.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_ANDaomkkOc1ENYs3Ay2dH","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 and debugs Python code snippets, identifying errors and suggesting fixes, paid per-call via HTTP 402 on Base USDC.","exampleAgentPrompt":"Can you debug this Python function for me? It keeps throwing a TypeError on line 12: `def add(a, b): return a + b` called with `add('3', 5)`.","exampleUseCases":[{"title":"Fix a failing Python function","prompt":"My Python function is raising a KeyError and I can't figure out why — here's the code: `data = {'name': 'Alice'}; print(data['age'])`. Can you debug it and tell me what's wrong and how to fix it?"},{"title":"Diagnose a Python import error","prompt":"I keep getting a ModuleNotFoundError when I run my script: `import pandas as pd` — can you debug this and tell me what's causing it and how I should resolve it?"},{"title":"Trace a Python recursion bug","prompt":"This recursive Python function hits a RecursionError and I don't know why: `def factorial(n): return n * factorial(n)`. Can you debug it, explain the issue, and give me the corrected version?"}],"resultDescription":"A plain-text string containing a debugging analysis of the submitted Python code, including identification of the error(s), explanation of the root cause, and suggested fixes or corrected code snippets.","failureModes":["Empty or missing prompt field returns an error","Non-Python code submitted may yield inaccurate or irrelevant debug output","Payment not settled on-chain results in HTTP 402 rejection before execution","Very large code snippets may be truncated or produce incomplete analysis","Network timeouts on the theworkpc.com host may yield no response"],"whenToPreferThis":"Choose this endpoint when an AI agent needs a quick, pay-per-use Python debugging capability without managing a long-running code execution environment. It is especially suitable for agentic pipelines that encounter Python errors at runtime and need an on-demand, micropayment-gated fix without committing to a subscription service.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T12:31:45.208Z","isFirstParty":false,"canonicalSlug":"hermes-micro-agent-python-debug-d902a0f4"}