Repository navigation
v2.8.0: dub, loop gate, email guard, page change and MCP package checks
Tagged 2026-10-20. One line per change; the mechanism behind each is on agent402.tools/changelog.
Buyers
POST /api/dubtranslates a text and speaks the translation in one paid call, priced as the sum of the chat tier and the chosen speech tier and quoted in its 402. A failed step is not settled on x402. Model-backed.POST /api/loop-gatedecides whether an agent loop should continue, stop or escalate, with the checks behind the answer. Budget and iteration limits are checked in code before any model runs.POST /api/email-guardreads one email before an agent acts on it: hidden text, invisible Unicode, mismatched link hosts, header signals and sentences phrased as instructions to an AI assistant, each with evidence. Deterministic code, no model.POST /api/page-changetells whether a public page changed since the last look, with a fingerprint, and a line diff when the previous text is sent back. Nothing is stored on our side.POST /api/mcp-package-checkreturns the published facts about an npm package that ships an MCP server (age, maintainers, provenance, install scripts, repository) before you run it. Observations only, no score.POST /api/page-speedmeasures one load of a public page and now also lists what to fix, each with the measured bytes or milliseconds.POST /api/html-framesrenders an HTML document's frames to PNG and can compare them against a baseline, with a similarity score and changed regions per frame./v1/images/editsedits an image from a prompt and up to four references;/v1/images/proand/v1/images/fastgain a fast failover./v1/videos/generations: a timed-out request answers 504 and is not settled on x402; sending the same request again within 30 minutes collects the same clip.- Speech tiers back up ElevenLabs with Voxtral, then Grok voice, then MAI-Voice-2, in all six formats.
- New pages:
/how-to-pay(the buyer path on every rail) and/speech(the speech tools). - On the MCP connector, audio from a paid call comes back as an audio block.
Operators
- A tool past its daily limit answers 503 until 00:00 UTC, and a 503 is not settled on x402.
- Market-data reads answer 503 when the source stalls mid-answer, and server instances share one cache of market bars.
- A Solana payment quoted on one server instance and paid on another settles.
- Site pages read cleanly on phones from 360 px wide.
Packages
agent402-mcp0.13.14 requires MCP SDK 1.32.1. The server runs follow-redirects 1.16.1 and hono 4.13.13.