# AgentPayStore Forge Code Assistant

> AgentPayStore Forge Code Assistant is a paid API for AI agents from agentpaystore.com, paid per call via x402, $0.1/call, status unknown (last checked 2026-09-14).

Writes, debugs, and architects production-grade code in Python, TypeScript, Solidity, Rust, Go, SQL, and Bash with live GitHub examples.

## Facts

- Endpoint: GET https://agentpaystore.com/forge/api/query
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentpaystore-forge-code-assistant-dc462d46
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QC9oXdjn24-JbS6IOfmmu

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability agentpaystore-forge-code-assistant-dc462d46
```

Example prompt: 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?

## When to prefer this

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).

## Known failure modes

- 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

## How this service works

Writes, debugs and architects production code in Python, TypeScript, Solidity, Rust, Go, SQL and Bash, with live GitHub examples.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "code": {
   "type": "string"
  },
  "reply": {
   "type": "string",
   "description": "the answer, code in fenced blocks"
  },
  "language": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentpaystore-forge-code-assistant-dc462d46/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentpaystore.com](https://www.zero.xyz/host/agentpaystore.com/llms.txt)
