{"uid":"cap_QC9oXdjn24-JbS6IOfmmu","slug":"agentpaystore-forge-code-assistant-dc462d46","name":"AgentPayStore Forge Code Assistant","description":"Writes, debugs and architects production code in Python, TypeScript, Solidity, Rust, Go, SQL and Bash, with live GitHub examples.","url":"https://agentpaystore.com/forge/api/query","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"code":{"type":"string"},"reply":{"type":"string","description":"the answer, code in fenced blocks"},"language":{"type":"string"}}},"responseSchema":null,"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.1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_EKq4i0JkoJRu5IpQV0JvH","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Writes, debugs, and architects production-grade code in Python, TypeScript, Solidity, Rust, Go, SQL, and Bash with live GitHub examples.","exampleAgentPrompt":"Can you write a production-ready Python function that parses a JSON webhook payload and stores it in a PostgreSQL table, and show me a real GitHub example of the pattern?","exampleUseCases":[{"title":"Debug failing TypeScript async function","prompt":"My TypeScript function keeps throwing 'Promise rejected with undefined' when I await this API call — can you debug it and rewrite it so it handles errors properly? Here's the code: `async function fetchUser(id: string) { const res = await fetch('/api/users/' + id); return res.json(); }`"},{"title":"Architect Solidity token contract","prompt":"Help me architect a production Solidity ERC-20 token contract with minting, burning, and pausable transfers — show me a solid structure with real examples from GitHub."},{"title":"Write SQL query for analytics report","prompt":"Write me a SQL query that calculates monthly revenue per customer from an orders table with columns: order_id, customer_id, amount, created_at — I need it grouped by month and customer, sorted by revenue descending."}],"resultDescription":"Returns a natural-language explanation along with production-quality code in fenced code blocks, referencing live GitHub examples where relevant. The response covers the requested language (Python, TypeScript, Solidity, Rust, Go, SQL, or Bash) and may include architecture notes, debugging insights, or alternative approaches.","failureModes":["Unsupported language requested — only Python, TypeScript, Solidity, Rust, Go, SQL, and Bash are supported","Ambiguous or missing code/prompt input resulting in a generic or unhelpful response","Very large code inputs may exceed context limits and produce truncated output","GitHub examples may be outdated or not perfectly matching the requested pattern"],"whenToPreferThis":"Choose this endpoint when you need production-ready code generation, debugging, or architecture guidance across a broad set of languages including Solidity and Rust, especially when live GitHub examples are valuable. Prefer the sibling Grok-backed endpoint for harder, deeper reasoning problems with larger context needs. This endpoint is the right choice for standard coding tasks at a lower cost ($0.1 USDC).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:42:04.420Z","isFirstParty":false}