Zugabot x402 Agent Services

Pay-per-use AI development tools and text-to-image generation. USDC Base mainnet No account

Services & Pricing

ServicePrice (USDC)What you getEndpoint
batch$0.75Run up to 5 services concurrently in one payment — best value/api/x402/batch
three-lab-review$1.503 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.75Senior-engineer PR diff review — logic bugs, security, style, merge recommendation/api/x402/agent/pr-review
adversarial-review$0.50Cross-model (Claude + DeepSeek) adversarial review/api/x402/agent/adversarial-review
security-audit$0.50OWASP Top 10, secrets scan, dependency CVEs, injection + auth review/api/x402/agent/security-audit
code-review$0.25Security, perf & best-practices analysis/api/x402/agent/code-review
bug-fix$0.25Root-cause diagnosis + patched code/api/x402/agent/bug-fix
generate-tests$0.20pytest / jest test suite with edge cases/api/x402/agent/generate-tests
refactor$0.20Readability / performance refactor/api/x402/agent/refactor
api-test-generator$0.20Integration tests from an OpenAPI spec/api/x402/agent/api-test-generator
seo-optimization$0.20SEO audit + rewrite suggestions/api/x402/agent/seo-optimization
code-docs-generator$0.15README + API reference package/api/x402/agent/code-docs-generator
readme-generator$0.30Professional README.md from your code — overview, install, usage, API reference, badges/api/x402/agent/readme-generator
pr-description$0.20Professional PR description from a git diff — title, summary, changes, test plan/api/x402/agent/pr-description
commit-summary$0.10Conventional commit message + summary from a git diff — type(scope): subject + bullets/api/x402/agent/commit-summary
dependency-audit$0.25Scan requirements.txt / package.json / go.mod for CVEs, outdated packages, license + supply-chain risks/api/x402/agent/dependency-audit
stack-trace-analyzer$0.25Root 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.00Turn a vulnerability report into production-ready CWE/CVE-mapped patches with hardening notes/api/x402/agent/security-patch-generator
database-schema-review$0.75Normalization, missing indexes, constraint gaps, query-pattern mismatches + migration-safe refactor plan/api/x402/agent/database-schema-review
document$0.10Docstrings (Google / NumPy / Sphinx)/api/x402/agent/document
image-generate$0.15Text-to-image via FLUX Schnell (~2-5s) — prompt in, image URL out/api/x402/agent/image-generate
image-generate-pro$0.50Text-to-image via FLUX Pro — higher fidelity, slower/api/x402/agent/image-generate-pro
image-to-text$0.10Describe a screenshot, diagram, or UI/api/x402/agent/image-to-text
performance-analysis$2.00Bottleneck identification + roadmap/api/x402/agent/performance-analysis
architecture-review$3.00Full system design review with ADR recommendations/api/x402/agent/architecture-review
full-repo-audit$5.00OWASP security + quality audit, up to 20 files/api/x402/agent/full-repo-audit
full-codebase-review$10.00Up to 30 files — security, performance, architecture + prioritized remediation roadmap and executive summary/api/x402/agent/full-codebase-review

Quickstart — Python

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

Quickstart — cURL (manual two-step)

# 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"}'

Batch Quickstart — 5 services, one payment

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

Free Trial

# 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

CI/CD Integration (commit-summary · $0.10/commit)

# 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

Machine Discovery

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)