{"uid":"cap_HV_Zof_-QJTaJXE4ZIiVF","slug":"agentpaystore-forge-code-assistant-14c335f1","name":"AgentPayStore Forge Code Assistant","description":"Multi-turn coding conversation: send the whole message history and get the next answer, so the agent keeps the earlier code in mind. Returns a streamed text response (server-sent events) containing the reply with code in fenced blocks. Same engine as /forge/api/query - Python, TypeScript, Solidity, Rust, Go, SQL, Bash, plus live GitHub examples - use this one when you intend to iterate rather than ask once.","url":"https://agentpaystore.com/forge/api/chat","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"content":{"type":"string","description":"reply text chunk in each SSE data event"}}},"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_PX3ItWFq-f5nYNlrI0Ze4","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 via a pay-per-call API.","exampleAgentPrompt":"Write me a production-ready Python FastAPI endpoint that accepts a POST request with a JSON body, validates input with Pydantic, queries a PostgreSQL database, and returns paginated results — include error handling and type hints.","exampleUseCases":[{"title":"Solidity smart contract from scratch","prompt":"Write me a production-ready ERC-20 token smart contract in Solidity with minting, burning, and owner-only access control — include comments and reference any relevant OpenZeppelin patterns."},{"title":"Debug failing TypeScript async code","prompt":"Here's my TypeScript function that's throwing an unhandled promise rejection — can you debug it, explain what's wrong, and rewrite it with proper async/await error handling? `async function fetchUser(id) { const res = await fetch('/api/user/' + id); return res.json(); }`"},{"title":"Architect a Go microservice","prompt":"Help me architect a Go microservice for handling real-time order processing: what packages should I use, how should I structure the project, and can you write the core order-handler with a message queue integration?"}],"resultDescription":"Returns a chat-style response containing production-quality code in the requested language, architectural guidance, debugging analysis, inline comments, and references to live GitHub examples where applicable.","failureModes":["Empty or ambiguous 'reply' field returns a generic or unhelpful response","Unsupported language or edge-case syntax may produce incorrect code","Payment failure (402) if USDC balance is insufficient","Rate limiting or timeout on complex, long-context architecture requests","Hallucinated GitHub references that don't actually exist"],"whenToPreferThis":"Choose this endpoint when you need production-grade code generation or debugging across Python, TypeScript, Solidity, Rust, Go, SQL, or Bash, especially when GitHub-grounded examples are valuable. It is distinct from the sibling Grok-backed endpoint (better for harder, larger-context problems) and is well-suited for standard-complexity coding tasks at lower cost ($0.1/call). Prefer this over general LLM inference endpoints when you specifically need software engineering expertise with multi-language support.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T13:00:27.726Z","isFirstParty":false}