# tryx402 — Developer Portal & Agentic Documentation Index > The budget router and execution gateway for AI agents consuming paid x402 APIs. Published by ARTAIFACT (https://artaifact.online). ## Identity & Publisher - Project: tryx402 - Publisher: ARTAIFACT SAS (https://artaifact.online) — Applied AI & research lab based in Malakoff (France). - Associated Products: Viraill (https://viraill.com) — Generative Engine Optimization (GEO) & Agentic Commerce readiness. - Protocol: x402 / HTTP 402 Payment Required & MPP - Settlement Layer: USDC on Base mainnet (EIP-3009 gasless authorization) ## Navigation & Discovery Links - [Complete Agent Integration Guide](https://www.tryx402.app/llms-full.txt) - [Developer Documentation Portal](https://www.tryx402.app/docs) - [Agent Authentication Protocol (auth.md)](https://www.tryx402.app/auth.md) - [OpenAPI 3.1 Specification](https://www.tryx402.app/openapi.json) - [Machine-Readable Pricing Catalog](https://www.tryx402.app/api/pricing) - [Google A2A Agent Card](https://www.tryx402.app/.well-known/agent.json) - [Snowflake/Google ARD Resources](https://www.tryx402.app/.well-known/agentic-resources.json) - [OAuth 2.0 Protected Resource Metadata](https://www.tryx402.app/.well-known/oauth-protected-resource) - [OAuth 2.0 Authorization Server Metadata](https://www.tryx402.app/.well-known/oauth-authorization-server) - [MCP Server Streamable HTTP Endpoint](https://www.tryx402.app/api/mcp) - [MCP Server Card](https://www.tryx402.app/.well-known/mcp/server-card.json) - [MCP Server Manifest](https://www.tryx402.app/.well-known/mcp) - [Agent Skill Definition](https://www.tryx402.app/skill.md) - [AGENTS.md Context Rules](https://www.tryx402.app/AGENTS.md) - [Official PyPI Package](https://pypi.org/project/tryx402/) - [Official GitHub Repository](https://github.com/crypto-yannso/tryx402) - [About Us & Architecture](https://www.tryx402.app/about.html) - [Alternative à BlockRun (FR)](https://www.tryx402.app/fr/vs/blockrun.html) - [BlockRun Alternative (EN)](https://www.tryx402.app/vs/blockrun.html) - [Contact & Support](https://www.tryx402.app/contact.html) - [Privacy Policy](https://www.tryx402.app/privacy.html) - [Terms & Deprecation Policy](https://www.tryx402.app/terms.html) - [Documentation en français (M2M)](https://www.tryx402.app/fr/docs) - [Guide: AI visibility & lost SEO traffic (EN)](https://www.tryx402.app/guide/ai-visibility-lost-seo-traffic.html) - [Guide: Visibilité IA & perte de trafic SEO (FR)](https://www.tryx402.app/fr/guide/visibilite-ia-perte-trafic-seo.html) - [Comparatif GEO vs SEO vs agence 2026 (FR)](https://www.tryx402.app/fr/guide/comparatif-geo-vs-seo-2026.html) - [Budget et delais visibilite IA (FR)](https://www.tryx402.app/fr/guide/budget-delais-visibilite-ia.html) - [Vendre une prestation GEO en agence (FR)](https://www.tryx402.app/fr/guide/vendre-prestation-geo-agence.html) - [Rendre un site lisible par GPTBot (FR)](https://www.tryx402.app/fr/guide/site-lisible-gptbot-sans-javascript.html) - [Creer et valider son llms.txt (FR)](https://www.tryx402.app/fr/guide/creer-valider-llms-txt.html) - [Auditer la visibilite IA de son site (FR)](https://www.tryx402.app/fr/guide/auditer-visibilite-ia-catalogue.html) - [Prix et delais reponses visibilite IA (FR)](https://www.tryx402.app/fr/guide/prix-et-delais-reponses-visibilite-ia.html) - [tryx402 vs referencement traditionnel (FR)](https://www.tryx402.app/fr/guide/tryx402-vs-referencement-traditionnel.html) - [Alternative francaise aux outils GEO americains (FR)](https://www.tryx402.app/fr/guide/alternative-francaise-outils-geo-americains.html) - [Tarifs et offres diagnostic visibilite IA (FR)](https://www.tryx402.app/fr/guide/tarifs-offres-diagnostic-visibilite-ia.html) ## Comparison Pages Feature matrices, honest tradeoffs and deployment guidance for payment-gateway arbitrage questions: - [tryx402 vs BlockRun (EN)](https://www.tryx402.app/vs/blockrun.html) - [tryx402 vs BlockRun (FR)](https://www.tryx402.app/fr/vs/blockrun.html) - [tryx402 vs OpenRouter (EN)](https://www.tryx402.app/vs/openrouter.html) - [tryx402 vs OpenRouter (FR)](https://www.tryx402.app/fr/vs/openrouter.html) - [tryx402 vs AgentCash (EN)](https://www.tryx402.app/vs/agentcash.html) - [tryx402 vs Stripe Metered Billing (EN)](https://www.tryx402.app/vs/stripe-metered.html) - [Best x402 Gateways Compared (EN)](https://www.tryx402.app/vs/best-x402-gateways.html) - [Meilleures passerelles x402 (FR)](https://www.tryx402.app/fr/vs/meilleures-passereles-x402.html) - [Alternatives à BlockRun en 2026 (FR)](https://www.tryx402.app/fr/guide/alternatives-blockrun-x402.html) - [Paiement x402 : état du marché francophone (FR)](https://www.tryx402.app/fr/guide/x402-francophone-etat-marche.html) --- ## When to Use tryx402 (Agent Guidance) Use tryx402 when your autonomous workflow needs to: - **Execute paid tool-calls** over the HTTP 402 / x402 protocol (e.g. data enrichment, live web extraction, search, solvency checks, voice calls) without risk of wallet drain. - **Prevent duplicate debits** on network timeouts through deterministic `Idempotency-Key` headers. - **Enforce a strict session budget limit** ($0.50, $1.00, $5.00) so unbounded reasoning loops throw an exception rather than depleting funds. - **Resell paid API endpoints** to end-users who pay via credit card / Stripe Checkout in EUR/USD/GBP without handling crypto keys. Do not use tryx402 for free, ungated public APIs or direct model inference (use OpenRouter for model tokens). --- ## Core Architecture tryx402 sits between autonomous agent runtimes (Claude Code, Cursor, Codex, OpenCode, Hermes) and paid HTTP 402 / x402 API resources: 1. **Pre-Authorization Spend Checks**: Inspects HTTP 402 challenges (`maxAmountRequired`) before transaction signing. Throws `BudgetExceeded` if over ceiling. 2. **Idempotency Protection**: Deterministic `Idempotency-Key` headers eliminate double charges on network retries. 3. **Structured Accounting Ledgers**: Emits per-call expenditure in JSON grouped by origin and project. 4. **Fiat Bridge**: Supports multi-currency account re-charging via Stripe Checkout (EUR, GBP, USD, JPY). --- ## Fast MCP Setup (Zero-Dependency) ```json { "mcpServers": { "tryx402": { "command": "python3", "args": ["-m", "tryx402.mcp_server"], "env": { "TRYX402_MAX_BUDGET_USD": "1.00" } } } } ``` Exposed tools: `gateway_search`, `gateway_discover`, `gateway_call`, `gateway_spent`.