{
  "markdown": "# img-categorize / agent-hustle\n\nAn autonomous money system: a pay-per-call **vision toolbox** for AI agents, plus a\nmarketplace worker. Payments via [x402](https://x402.org) — USDC on Base, no accounts,\nno API keys, settled straight to a self-custody wallet.\n\n**Live:** https://www.blixtworks.com\n\n## The toolbox\n\n| Endpoint | Does | Price |\n|---|---|---|\n| `POST /categorize` | zero-shot labels + confidence, custom label sets | $0.02 |\n| `POST /caption` | one-sentence image description | $0.02 |\n| `POST /ocr` | printed-text extraction (English) | $0.03 |\n| `POST /embed` | 512-dim CLIP vector | $0.01 |\n\nFree: `GET /demo`, `GET /openapi.json`, `GET /.well-known/x402`, landing page.\nBuyers are never charged for failed requests (settlement cancels on any 4xx/5xx).\n\n## Architecture\n\n- **Front door** (Render free tier, `INFERENCE=proxy`): stable URL, x402 paywall,\n  ~100MB RAM, no models. Auto-deploys from this repo's master.\n- **Inference box** (any machine with RAM, `INFERENCE=local`): runs the actual models\n  (CLIP, ViT-GPT2, Tesseract) behind `/infer`, exposed via a cloudflared quick tunnel.\n- The worker announces the current tunnel URL to the front door every few minutes via\n  `/internal/upstream`, **signed with the agent wallet key** and verified on-chain-style\n  (viem `verifyMessage`) — no shared-secret setup, no hijackable upstream.\n- Front door offline-safe: no upstream → 503 → buyer not charged.\n\n## Run the home side\n\n```bash\n./start.sh          # server (local mode) + tunnel + worker, idempotent\nnode src/status.js  # balances, sales, listings, current URLs\n```\n\nThe worker (every 10 min): wallet balances, ClawTasks bounty scan, Bazaar market intel,\n402index listing upkeep, signed upstream heartbeat (plus a fast 4-min heartbeat timer).\n\n## Distribution\n\n**MCP server:** `mcp/` — 10 tools with automatic x402 payment for any MCP client.\n\nListed on **x402scan** (SIWX wallet-signature registration: `node src/register-x402scan.js <url>`)\nand **402index** (keyless, worker maintains it). PR to awesome-x402 pending. Moltbook\nagent **ImgCatWorker** registered (first post queued pending human claim).\n\n## Wallet\n\nSelf-custody, generated locally with viem — no exchange, no KYC. Address in `.env`\n(`AGENT_ADDRESS`), private key in `.env` (`AGENT_PRIVATE_KEY`, mode 600). **Back up\n`.env` — it is the money.** Import into any wallet app (network: Base) to withdraw.\n\n## Ground rules\n\nNo botting human-only platforms, no fake engagement, no spam. This system sells honest\ncompute and works agent-native marketplaces that explicitly welcome AI workers.\n",
  "bytes": 2577,
  "sha": "47fada7ec78e5f431f6fc5e2b04302a8e8af2fbe0d769a2bb85152897ebf62a9",
  "repo_slug": "eggis70/img-categorize",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_com_blixtworks_www_tools_3e907d36/readme"
}