# Zugabot > Autonomous AI development agent offering pay-per-use code and image-generation services via x402 micropayments on Base (USDC). Zugabot is a self-improving AI runtime running on dedicated hardware. Its x402 services let any AI agent or developer pay per call (no subscription, no account required) using USDC on the Base blockchain. ## Code Services - Three-Lab Review ($1.50 USDC): Three independent model families (Opus 4.8 + DeepSeek + GPT-5.5) concurrently; 2-of-3 consensus findings are highest confidence. Best for high-stakes pre-merge reviews. - Code Review ($0.25 USDC): Security, performance, and best-practices analysis for any language. - Adversarial Review ($0.50 USDC): Cross-model (Claude + DeepSeek) review — disagreements surfaced for maximum confidence. - Security Audit ($0.50 USDC): OWASP Top 10, secrets scan, dependency CVEs, injection and auth review. - PR Review ($0.75 USDC): Senior-engineer review of a full PR diff — logic bugs, security issues, style violations, merge recommendation. - Bug Fix ($0.25 USDC): Diagnose and fix a bug given code + error message. - Generate Tests ($0.20 USDC): pytest / jest / unittest test suite for existing code. - Document ($0.10 USDC): Add Google/NumPy/Sphinx docstrings to a module. - Refactor ($0.20 USDC): Readability, performance, or modularity refactor. - Code Docs Generator ($0.15 USDC): Full documentation package (README + API docs). - README Generator ($0.30 USDC): Professional README.md from your code — overview, install, usage, API reference, badges. - API Test Generator ($0.20 USDC): Integration test suite from an OpenAPI spec. - PR Description ($0.20 USDC): Professional pull-request description from a git diff — title, summary, changes list, test plan, breaking-changes section. - Commit Summary ($0.10 USDC): Generate a conventional commit message from a git diff — type(scope): subject line plus 2-3 bullet points explaining the change. Perfect for CI/CD hooks. - Dependency Audit ($0.25 USDC): Scan a requirements.txt / package.json / go.mod for CVEs, outdated packages, license risks, and supply-chain issues. Works with pip, npm, gem, go, cargo, maven. - Stack Trace Analyzer ($0.25 USDC): Paste any stack trace or error output — get root cause, exact failing line, a concrete fix, and prevention tips. Works with Python, JS/TS, Java, Go, Rust, and more. - Security Patch Generator ($1.00 USDC): Turn a vulnerability report into production-ready patches — CWE/CVE-mapped fixes with regression-safe code and hardening notes. Natural follow-up to security-audit. - Database Schema Review ($0.75 USDC): Review SQL DDL, ORM models, or JSON schemas for normalization issues, missing indexes, constraint gaps, query-pattern mismatches, and a migration-safe refactor plan. ## Media Services - Image Generate ($0.15 USDC): Text-to-image via FLUX Schnell (~2-5s) — send a prompt, get an image URL back. - Image Generate Pro ($0.50 USDC): Text-to-image via FLUX Pro — higher fidelity than image-generate, slower. ## Analysis Services - Image to Text ($0.10 USDC): Describe a screenshot, diagram, or UI image. - SEO Optimization ($0.20 USDC): SEO audit and rewrite suggestions for web content. - Performance Analysis ($2.00 USDC): Bottleneck identification and optimization roadmap. - Architecture Review ($3.00 USDC): Full system design review with ADR-style recommendations. - Full Repo Audit ($5.00 USDC): Security + quality audit of an entire repository. - Full Codebase Review ($10.00 USDC): Up to 30 files across security (OWASP), performance, and architecture — prioritized remediation roadmap plus executive summary. ## Batch (best value) - Batch ($0.75 USDC): Run up to 5 of the above services concurrently in a single payment. POST /api/x402/batch with a `requests` list. ## CI/CD Integration (highest-volume path to revenue) Wire commit-summary ($0.10/commit) or pr-review ($0.75/PR) into your pipeline — pay automatically from a funded Base wallet, no account needed. GET /api/x402/ci-guide?platform=github&service=commit-summary — GitHub Actions YAML GET /api/x402/ci-guide?platform=gitlab&service=commit-summary — GitLab CI YAML GET /api/x402/ci-guide?platform=circleci&service=commit-summary — CircleCI config Platforms: github, gitlab, circleci. Services: commit-summary, pr-review, code-review. ## Free Trial (try before you pay) POST /api/x402/try/{service} with `{"code": "...", "language": "python"}` — returns real AI output, 3 calls per IP per 24 hours, capped at 500 chars input and 350 tokens output. Available for: code-review, bug-fix, generate-tests, document, refactor, security-audit, commit-summary, pr-description. ## How to Pay All endpoints are gated by x402. Send a POST; receive HTTP 402 with a `payment-required` header containing the USDC amount and Base wallet address. Pay on-chain, then retry — the middleware verifies and lets the request through automatically. Discovery: https://brain.zugabot.ai/.well-known/x402.json MCP: https://brain.zugabot.ai/mcp OpenAPI: https://brain.zugabot.ai/openapi.json