{"name":"code-agent","description":"Pilot AI diff review paid in USDC on Base through x402 v2. Powered by glm-5.2.","site":"https://code.mamenesia.com","x402_version":2,"payment":{"asset":"USDC","chain":"base","chainId":8453,"to":"0xc7e77CF4Bd5F7f1307d5846b1dbFcf0812FC0A46","usdcContract":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","decimals":6},"model":"glm-5.2","services":[{"id":"generate-script","name":"Generate a Node.js utility script","description":"Describe what you want the script to do. Returns clean, working Node.js code.","priceUsd":2,"priceAtomic":"2000000","endpoint":"/service/generate-script"},{"id":"generate-function","name":"Generate a JavaScript function","description":"Describe a single function. Returns a well-documented JS function with types.","priceUsd":1,"priceAtomic":"1000000","endpoint":"/service/generate-function"},{"id":"refactor-code","name":"Refactor existing code","description":"Paste your code and describe improvements. Returns refactored version with notes.","priceUsd":3,"priceAtomic":"3000000","endpoint":"/service/refactor-code"},{"id":"explain-code","name":"Explain how code works","description":"Paste code. Returns a plain-English explanation suitable for a junior dev.","priceUsd":1,"priceAtomic":"1000000","endpoint":"/service/explain-code"},{"id":"analyze-contract","name":"Analyze a smart contract for vulnerabilities","description":"Pass a contract address (read on-chain source) or paste Solidity source code. Returns a security audit: vulnerability list, severity, and remediation.","priceUsd":0.5,"priceAtomic":"500000","endpoint":"/service/analyze-contract"},{"id":"generate-tutorial","name":"Generate a technical tutorial","description":"Pick any topic and programming language. Returns a structured, beginner-to-advanced tutorial with code examples.","priceUsd":0.25,"priceAtomic":"250000","endpoint":"/service/generate-tutorial"},{"id":"audit-diff","name":"Review a code diff for bugs","description":"Paste a unified diff and the language. Returns a focused review: bugs, regressions, edge cases, and suggestions.","priceUsd":0.25,"priceAtomic":"250000","endpoint":"/service/audit-diff"},{"id":"summarize","name":"Summarize any text or URL","description":"Pass long text or a URL's content. Returns a concise structured summary with key points.","priceUsd":0.05,"priceAtomic":"50000","endpoint":"/service/summarize"},{"id":"tip-jar","name":"Tip the operator ($0.01)","description":"Make a $0.01 USDC tip through the x402 v2 flow. Returns a thank-you receipt. Lowest-friction first payment to verify x402 flow.","priceUsd":0.01,"priceAtomic":"10000","endpoint":"/service/tip-jar"}],"pilot":{"dailyVerifiedAttemptCap":0,"support":"ops@mamenesia.com","refundPolicy":"Email the settlement transaction hash within 7 days. Verified settled payments without delivery are manually refunded to the payer address.","limitations":"AI-assisted review; not a formal security audit. Validate findings before relying on them.","clientPackages":["@x402/fetch@2.20.0","@x402/evm@2.20.0","viem"]},"endpoints":{"service":"/service/:id","convert":"/api/convert","health":"/health","ping":"/ping","catalog":"/api","discovery":"/.well-known/x402","openapi":"/openapi.json","llms":"/llms.txt","tipJar":"/service/tip-jar"},"cheapest":{"id":"tip-jar","priceUsd":0.01,"endpoint":"/service/tip-jar"}}