Pay-per-use AI development tools and text-to-image generation. USDC Base mainnet No account
| Service | Price (USDC) | What you get | Endpoint |
|---|---|---|---|
| batch | $0.75 | Run up to 5 services concurrently in one payment — best value | /api/x402/batch |
| three-lab-review | $1.50 | 3 model families (Opus 4.8 + DeepSeek + GPT-5.5) concurrently — 2-of-3 consensus, highest confidence | /api/x402/agent/three-lab-review |
| pr-review | $0.75 | Senior-engineer PR diff review — logic bugs, security, style, merge recommendation | /api/x402/agent/pr-review |
| adversarial-review | $0.50 | Cross-model (Claude + DeepSeek) adversarial review | /api/x402/agent/adversarial-review |
| security-audit | $0.50 | OWASP Top 10, secrets scan, dependency CVEs, injection + auth review | /api/x402/agent/security-audit |
| code-review | $0.25 | Security, perf & best-practices analysis | /api/x402/agent/code-review |
| bug-fix | $0.25 | Root-cause diagnosis + patched code | /api/x402/agent/bug-fix |
| generate-tests | $0.20 | pytest / jest test suite with edge cases | /api/x402/agent/generate-tests |
| refactor | $0.20 | Readability / performance refactor | /api/x402/agent/refactor |
| api-test-generator | $0.20 | Integration tests from an OpenAPI spec | /api/x402/agent/api-test-generator |
| seo-optimization | $0.20 | SEO audit + rewrite suggestions | /api/x402/agent/seo-optimization |
| code-docs-generator | $0.15 | README + API reference package | /api/x402/agent/code-docs-generator |
| readme-generator | $0.30 | Professional README.md from your code — overview, install, usage, API reference, badges | /api/x402/agent/readme-generator |
| pr-description | $0.20 | Professional PR description from a git diff — title, summary, changes, test plan | /api/x402/agent/pr-description |
| commit-summary | $0.10 | Conventional commit message + summary from a git diff — type(scope): subject + bullets | /api/x402/agent/commit-summary |
| dependency-audit | $0.25 | Scan requirements.txt / package.json / go.mod for CVEs, outdated packages, license + supply-chain risks | /api/x402/agent/dependency-audit |
| stack-trace-analyzer | $0.25 | Root cause + concrete fix for any stack trace — Python, JS/TS, Java, Go, Rust and more | /api/x402/agent/stack-trace-analyzer |
| security-patch-generator | $1.00 | Turn a vulnerability report into production-ready CWE/CVE-mapped patches with hardening notes | /api/x402/agent/security-patch-generator |
| database-schema-review | $0.75 | Normalization, missing indexes, constraint gaps, query-pattern mismatches + migration-safe refactor plan | /api/x402/agent/database-schema-review |
| document | $0.10 | Docstrings (Google / NumPy / Sphinx) | /api/x402/agent/document |
| image-generate | $0.15 | Text-to-image via FLUX Schnell (~2-5s) — prompt in, image URL out | /api/x402/agent/image-generate |
| image-generate-pro | $0.50 | Text-to-image via FLUX Pro — higher fidelity, slower | /api/x402/agent/image-generate-pro |
| image-to-text | $0.10 | Describe a screenshot, diagram, or UI | /api/x402/agent/image-to-text |
| performance-analysis | $2.00 | Bottleneck identification + roadmap | /api/x402/agent/performance-analysis |
| architecture-review | $3.00 | Full system design review with ADR recommendations | /api/x402/agent/architecture-review |
| full-repo-audit | $5.00 | OWASP security + quality audit, up to 20 files | /api/x402/agent/full-repo-audit |
| full-codebase-review | $10.00 | Up to 30 files — security, performance, architecture + prioritized remediation roadmap and executive summary | /api/x402/agent/full-codebase-review |
pip install x402-python # Coinbase x402 client
from x402 import X402Client
client = X402Client(
wallet_private_key="0x...", # Base mainnet wallet with USDC
network="base",
)
# Example: code-review ($0.25 USDC)
result = client.post(
"https://zugabot.ai/api/x402/agent/code-review",
json={
"code": "def add(a, b): return a + b",
"language": "python",
"focus": "all",
},
)
print(result.json())
# Step 1: probe — get the 402 challenge
curl -X GET https://zugabot.ai/api/x402/agent/code-review
# Returns HTTP 402 with payment-required header (base64 JSON challenge)
# Step 2: after paying on-chain, retry with the x402 payment header
curl -X POST https://zugabot.ai/api/x402/agent/code-review \
-H "Content-Type: application/json" \
-H "x-payment: <signed-x402-header>" \
-d '{"code":"def add(a,b): return a+b","language":"python"}'
result = client.post(
"https://zugabot.ai/api/x402/batch",
json={
"requests": [
{"service": "code-review", "params": {"code": "...", "language": "python"}},
{"service": "generate-tests", "params": {"code": "...", "test_framework": "pytest"}},
{"service": "document", "params": {"code": "..."}},
]
},
)
# $0.75 flat — same price whether you send 1 or 5 requests
# Try before you pay — real AI output, 3 calls per IP per 24h, code up to 500 chars
POST /api/x402/try/code-review -d '{"code":"...","language":"python"}'
POST /api/x402/try/bug-fix -d '{"code":"...","error":"TypeError: ..."}'
POST /api/x402/try/security-audit -d '{"code":"..."}'
# Also: generate-tests, document, refactor
# GitHub Actions — add to .github/workflows/commit-summary.yml
# Fund a Base wallet with USDC, add X402_WALLET_KEY to repo secrets, done.
# GET /api/x402/ci-guide?platform=github&service=commit-summary for the full snippet
name: Commit Summary (x402)
on: [push]
jobs:
commit-summary:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with: {fetch-depth: 2}
- run: |
pip install x402-python
python -c "
import subprocess, os; from x402 import X402Client
diff = subprocess.check_output(['git','diff','HEAD~1','HEAD']).decode()
client = X402Client(wallet_private_key=os.environ['X402_WALLET_KEY'], network='base')
resp = client.post('https://brain.zugabot.ai/api/x402/agent/commit-summary',
json={'diff': diff, 'style': 'conventional'})
print(resp.json()['result']['commit_message'])"
env: {X402_WALLET_KEY: "${{ secrets.X402_WALLET_KEY }}"}
Also available: pr-review · GitLab CI · CircleCI
GET /.well-known/x402.json # Full machine-readable manifest
GET /agents.txt # robots.txt-style service list
GET /llms.txt # LLM-friendly summary
GET /.well-known/ai-plugin.json # OpenAI plugin manifest
GET /.well-known/agent.json # Google A2A agent card
GET /api/x402/progress # Live milestone tracker toward $100
GET /api/x402/ci-guide # CI/CD integration snippets (GitHub, GitLab, CircleCI)