AlgoVoi is available for acquisition β docs.algovoi.co.uk/acquisition
---
AlgoVoi Platform Adapters
Drop-in payment adapters for connecting e-commerce platforms, AI agent frameworks, and automation tools to AlgoVoi β a compliance-aware crypto payment gateway with native stablecoin support across seven blockchains.
---
What is AlgoVoi?
AlgoVoi is compliance-aware payment infrastructure for stablecoin settlement. The same gateway that handles payment routing across seven chains also runs continuous sanctions screening, KYB gating, and a write-once SHA-256 audit chain on every payment β so merchants and autonomous agents don't quietly carry UK MLRs / OFAC / SAMLA exposure they didn't sign up for. Compliance posture is published live at /compliance/attestation.
The compliance perimeter is the product. Multi-chain breadth (Algorand, VOI, Hedera, Stellar, Base, Solana, Tempo) and protocol coverage (x402, MPP, AP2, A2A) are how we deliver it on a single endpoint, without merchants having to manage wallets or blockchain integrations directly.
Supported settlement assets:
| Asset | Network | Details | |-------|---------|---------| | USDC | Algorand mainnet | Native ASA (ASA ID 31566704), issued by Circle | | aUSDC | VOI mainnet | Native ASA (ASA ID 302190), Aramid-bridged USDC | | USDC | Hedera mainnet | HTS token 0.0.456858, issued by Circle | | USDC | Stellar mainnet | Credit asset issued by Circle (GA5ZSEJYB37JRC5AVCIA5MOP4RHTM335X2KGX3IHOJAPP5RE34K4KZVN); receiver must have a trust line before accepting | | USDC | Base mainnet | ERC-20 token (0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913), issued by Circle | | USDC | Solana mainnet | SPL token (EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v), issued by Circle | | USDCe | Tempo mainnet | TIP-20 token (0x20c000000000000000000000b9537d11c60e8b50, 6 decimals); Tempo is a Stripe/Paradigm EVM L1 (chain ID 4217) with USDC as the native gas token | | ALGO / VOI / HBAR / XLM / ETH / SOL | Any mainnet | Native coin payments also supported on every chain (6/6/8/7/18/9 decimals respectively) |
---
What is this repository?
This repository contains production-ready payment adapters and integration documentation for connecting e-commerce platforms, custom applications, and AI agent services to AlgoVoi Tenant Services.
Included:
- Recurring / standing-authority subscriptions (
Recurr/) β Tier 2 lets a customer sign ONCE and AlgoVoi auto-pulls per cycle on all 7 chains (Algorand SpendingCapVault, EVM ERC-20 approve, Solana SPL Approve, Hedera HTS allowance, Stellar Soroban auth_entry, VOI). Per-chain wallet-side reference flows + chain-agnostic merchant-side examples.native-python/algovoi.pyv1.2.0+ ships the merchant HTTP wrappers (8 lifecycle methods) - Drop-in plugins for WooCommerce, OpenCart, PrestaShop, and Shopware (tested and deployed)
- CMS payment gateways for Drupal Commerce, Easy Digital Downloads (WordPress), and Ghost β all Comet-validated 2026-04-15
- Native adapters for PHP, Python, Go, Rust, and TypeScript (zero external dependencies) β all at v1.2.0 with full Tier 2 (recurring) surface
- Agent protocol middleware for MPP and AP2 (gate APIs behind payment challenges)
- AI platform adapters for OpenAI, Claude, Gemini, Bedrock, Cohere, xAI/Grok, and Mistral (MPP + AP2 + x402, all 7 chains)
- AI agent framework adapters for LangChain, LlamaIndex, CrewAI, Hugging Face, AutoGen, Semantic Kernel, Pydantic AI, DSPy, Vercel AI SDK, Google A2A, LangGraph, and Agno β gate LLM-agnostic pipelines, RAG chains, multi-agent crews, and autonomous agents (MPP + AP2 + x402, all 7 chains)
- No-code / automation adapters for Zapier, Make (Integromat), n8n, and X (Twitter) β drop-in Python classes that bridge AlgoVoi payment flows into any no-code workflow, with webhook verification, MPP + x402 + AP2 challenge generation, and all 28 networks; the X adapter auto-posts payment confirmations and checkout links to X via webhook (OAuth 1.0a, stdlib-only, 4-chain mainnet verified 2026-04-18)
- MCP server (
@algovoi/mcp-server/algovoi-mcp) β exposes 13 AlgoVoi tools natively inside Claude Desktop, Claude Code, Cursor, and Windsurf via the Model Context Protocol - x402 embeddable widget for any HTML page (Cloudflare Pages)
- Integration guides and Python adapters for 45+ platforms β all end-to-end tested on
api.algovoi.co.ukacross all 7 chains
---
AlgoVoi Cloud β No-Code Dashboard
The fastest way to accept stablecoin payments β no server access or code required. dash.algovoi.co.uk is the hosted SaaS version of AlgoVoi: sign up with your email, verify your identity, and connect your platforms through a guided dashboard wizard. Each wizard takes under 5 minutes.
Sign up
- Go to dash.algovoi.co.uk/signup
- Enter your email and choose your account type (Individual, Sole Trader, or Company)
- Your AlgoVoi API key is shown once on screen β copy it immediately
- Complete KYC/KYB verification in the dashboard to unlock mainnet payments
Supported chains: Algorand, VOI, Hedera, Stellar, Base, Solana, Tempo
Connect a platform
After signing in, open Connect from the sidebar. Every integration has a setup badge:
| Badge | Meaning | |-------|---------| | β‘ 1-click | Connect through an existing account β no downloads | | π§ Upload | Download a zip and upload through your platform's admin UI | | β¨οΈ CLI | Requires shell access β run commands on your server |
E-commerce
| Platform | Setup | Notes | |----------|-------|-------| | WooCommerce | π§ Upload | WordPress + WooCommerce | | Magento 2 | β¨οΈ CLI | Adobe Commerce / Magento Open Source | | PrestaShop | π§ Upload | PrestaShop 8.x β hosted + wallet checkout | | OpenCart | π§ Upload | OpenCart 4 payment extension | | Shopware | π§ Upload | Shopware 6 payment plugin | | Gravity Forms | π§ Upload | WordPress form builder with payments | | GiveWP | π§ Upload | WordPress donation & fundraising plugin | | Shopify | β | Coming soon (OAuth app install) |
Automation
| Platform | Setup | Notes | |----------|-------|-------| | Zapier | β‘ 1-click | Connect 6,000+ apps via Zaps | | n8n | β‘ 1-click | Open-source workflow automation | | Make (Integromat) | β‘ 1-click | Visual automation platform | | Pabbly Connect | β‘ 1-click | Affordable automation for 1,000+ apps | | Activepieces | β‘ 1-click | Open-source automation (self-host or cloud) | | X (Twitter) | β¨οΈ CLI | Auto-post tweets on payment confirmation |
Messaging Bots
| Platform | Setup | Notes | |----------|-------|-------| | X (Twitter) Bot | β‘ 1-click | Customers tweet pay Β£X β hosted USDC checkout link auto-replied | | Telegram Bot | β‘ 1-click | Payment-confirmed reply after Telegram-initiated checkout | | Viber Bot | β‘ 1-click | Viber webhook β payment links and confirmations via Viber messages |
AI Assistants
| Platform | Setup | Notes | |----------|-------|-------| | Claude / Cursor / Windsurf | β‘ 1-click | AlgoVoi MCP server β 13 payment tools inside your AI assistant |
KYC / KYB verification
Before your first mainnet payment, upload the required documents through the Onboarding page:
| Account type | Required documents | |-------------|-------------------| | Individual | Government ID, Selfie, Proof of Address, Source of Funds | | Sole Trader | Same as Individual | | Company | Certificate of Incorporation, Director ID, Beneficial Owner Register, Memorandum of Association, plus director personal docs |
Accepted formats: PDF, JPEG, PNG, WebP β max 50 MB per file. The dashboard auto-advances to active status when all required documents are collected.
---
Repository structure
platform-adapters/
βββ Recurr/ # Tier 2 β standing-authority recurring payments (per-chain
β # wallet-side flows + chain-agnostic merchant examples).
β # Lives alongside the language adapters which carry
β # the merchant HTTP wrappers (native-python v1.2.0+).
βββ woocommerce/ # WooCommerce plugin (single PHP file)
βββ opencart/ # OpenCart 4 extensions (hosted + wallet)
βββ prestashop/ # PrestaShop 8 modules (hosted + wallet)
βββ shopware/ # Shopware 6 plugin (Symfony handlers)
βββ native-php/ # Framework-free PHP adapter
βββ native-python/ # Stdlib-only Python adapter
βββ native-go/ # Stdlib-only Go package
βββ native-rust/ # Zero-crate Rust library
βββ native-typescript/ # Single-file TS adapter (Node 18+/Bun/Deno/browsers/Edge)
βββ magento2/ # Magento 2 / Adobe Commerce module (PHP)
βββ amazon-mws/ # Amazon SP-API webhook adapter (Python)
βββ tiktok-shop/ # TikTok Shop Open Platform adapter (Python)
βββ squarespace/ # Squarespace Commerce webhook adapter (Python)
βββ wix/ # Wix Payment Provider SPI (Velo)
βββ mpp-adapter/ # MPP server middleware (Python)
βββ ap2-adapter/ # AP2 server middleware (Python)
βββ shopify-app/ # Private β Shopify payment app (Cloudflare Pages, not distributed)
βββ x402-widget/ # Embeddable payment widget (Web Component)
β
β β Live-tested Python webhook adapters (4 original chains verified 2026-04-14; Base + Solana added 2026-04-22/23; Tempo added 2026-04-23) β
βββ allegro/ # Allegro marketplace (Poland / CEE)
βββ bigcommerce/ # BigCommerce webhook adapter (partial β see note)
βββ bolcom/ # Bol.com (Netherlands / Belgium)
βββ cdiscount/ # Cdiscount (France / Belgium)
βββ cex/ # CeX (webstore operator bypass)
βββ discord/ # Discord interactions payment adapter (Ed25519 β needs real app keypair)
βββ ebay/ # eBay Platform Notifications adapter
βββ ecwid/ # Ecwid / Lightspeed E-Series adapter
βββ etsy/ # Etsy webhook adapter
βββ faire/ # Faire B2B wholesale adapter (docs only β API approval required)
βββ flipkart/ # Flipkart Seller API adapter (India)
βββ freshbooks/ # FreshBooks invoice payment adapter
βββ instagram-shops/ # Instagram & Facebook Shops adapter
βββ jumia/ # Jumia seller adapter (docs only β no webhook endpoint)
βββ lazada/ # Lazada open platform adapter (SE Asia)
βββ mercadolibre/ # Mercado Libre adapter (Latin America)
βββ myob/ # MYOB AccountRight poll-based adapter
βββ onbuy/ # OnBuy marketplace adapter (UK)
βββ printful/ # Printful print-on-demand adapter
βββ printify/ # Printify print-on-demand adapter (docs only β no webhook endpoint)
βββ quickbooks-online/ # QuickBooks Online invoice adapter
βββ rakuten/ # Rakuten marketplace adapter
βββ sage-business-cloud/ # Sage Business Cloud invoice adapter
βββ shopee/ # Shopee open platform adapter (SE Asia)
βββ telegram/ # Telegram Bot payment adapter
βββ tokopedia/ # Tokopedia seller adapter (Indonesia)
βββ truelayer/ # TrueLayer open banking adapter (ES512 β needs real signing key)
βββ walmart/ # Walmart Marketplace adapter
βββ wave/ # Wave Accounting invoice adapter
βββ whatsapp/ # WhatsApp Business API adapter
βββ wormhole/ # Wormhole cross-chain bridge adapter
βββ x402-ai-agents/ # x402 autonomous AI agent payment adapter
βββ ai-adapters/
β βββ openai/ # Payment-gated OpenAI / compatible API wrappers (MPP + AP2 + x402)
β βββ claude/ # Payment-gated Anthropic Claude wrappers (MPP + AP2 + x402)
β βββ gemini/ # Payment-gated Google Gemini wrappers (MPP + AP2 + x402)
β βββ bedrock/ # Payment-gated Amazon Bedrock Converse API wrappers (MPP + AP2 + x402)
β βββ cohere/ # Payment-gated Cohere ClientV2 wrappers (MPP + AP2 + x402)
β βββ xai/ # Payment-gated xAI Grok wrappers (MPP + AP2 + x402)
β βββ mistral/ # Payment-gated Mistral AI wrappers (MPP + AP2 + x402)
βββ ai-agent-frameworks/
β βββ langchain/ # LangChain gate β any ChatModel, LCEL chain, RAG pipeline, or ReAct agent
β βββ llamaindex/ # LlamaIndex gate β QueryEngine, ChatEngine, RAG pipeline, or ReAct agent
β βββ crewai/ # CrewAI gate β crew.kickoff() + BaseTool for multi-agent crews
β βββ huggingface/ # Hugging Face gate β InferenceClient, transformers pipeline, smolagents tool
β βββ autogen/ # AutoGen gate β initiate_chat() + callable tool (0.2.x + 0.4.x)
β βββ semantic-kernel/ # Semantic Kernel gate β chat completion, KernelFunction, SK plugin
β βββ pydantic-ai/ # Pydantic AI gate β any Agent, deps injection, provider:model strings
β βββ dspy/ # DSPy gate β any Predict / ChainOfThought / ReAct / compiled program
β βββ vercel-ai-sdk/ # Vercel AI SDK gate β generateText, streamText, tool() β TypeScript
β βββ a2a/ # Google A2A gate β A2A v1.0 REST (6 routes), agent card + extended card, task store
β βββ langgraph/ # LangGraph gate β StateGraph invoke/stream, ToolNode, create_react_agent
β βββ agno/ # Agno gate β pre_hooks, ASGI middleware (AgentOS), run_agent + arun_agent
βββ no-code/ # No-code / automation adapters (Zapier, Make, n8n, X) β v1.0.0, 225+ tests
β βββ zapier/ # AlgoVoiZapier β ZapierActionResult, webhook bridge, action handlers
β βββ make/ # AlgoVoiMake β Make bundle dict, module handlers
β βββ n8n/ # AlgoVoiN8n β n8n item dict, operation handlers
β βββ x/ # AlgoVoiX β X (Twitter) webhook adapter; auto-posts payment confirmations & checkout links via OAuth 1.0a
βββ mcp-server/ # MCP server β 13 AlgoVoi tools for Claude Desktop / Claude Code / Cursor / Windsurf
β βββ typescript/ # @algovoi/mcp-server (npm) β `npx -y @algovoi/mcp-server`
β βββ python/ # algovoi-mcp (PyPI) β `uvx algovoi-mcp`
βββ drupal-commerce/ # Drupal 10/11 + Commerce 2/3 payment gateway module
βββ easy-digital-downloads/ # EDD 3.2+ WordPress plugin (digital downloads, licensing)
βββ ghost/ # Ghost 5.x paid-membership grant-on-payment adapter
βββ xero/ # Xero invoice payment adapter
βββ yapily/ # Yapily open banking adapter
βββ zoho-books/ # Zoho Books invoice adapter
β
βββ {platform}.md # Integration guides (45+ platforms)
βββ README.md
Live-tested adapters
The following adapters have been end-to-end tested against a live AlgoVoi tenant on algorand_mainnet, voi_mainnet, hedera_mainnet, stellar_mainnet, base_mainnet, and solana_mainnet:
| Platform | Demo store / notes | Hosted chains | Extension chains | |----------|--------------------|---------------|-----------------| | OpenCart 4 | your-domain.example | Algorand, VOI, Hedera, Stellar, Base, Solana, Tempo | Algorand, VOI | | PrestaShop 8.2.5 | your-domain.example | Algorand, VOI, Hedera, Stellar, Base, Solana, Tempo | Algorand, VOI | | Shopware 6.7.8.2 | your-domain.example | Algorand, VOI, Hedera, Stellar, Base, Solana, Tempo | Algorand, VOI | | WooCommerce 10.6.2 / WordPress 6.9.4 | your-domain.example | Algorand, VOI, Hedera, Stellar, Base, Solana, Tempo | Algorand, VOI | | Shopify (Cloudflare Pages) | algovoi-3.myshopify.com | Algorand, VOI, Hedera, Stellar, Base, Solana, Tempo | β | | Magento 2 / Adobe Commerce | β | Algorand, VOI, Hedera, Stellar, Base, Solana, Tempo | β | | Amazon SP-API | β (B2B webhook) | Algorand, VOI, Hedera, Stellar, Base, Solana, Tempo | β | | TikTok Shop | β (B2B webhook) | Algorand, VOI, Hedera, Stellar, Base, Solana, Tempo | β | | Squarespace | β (B2B webhook) | Algorand, VOI, Hedera, Stellar, Base, Solana, Tempo | β | | Wix eCommerce | β (SPI checkout) | Algorand, VOI, Hedera, Stellar, Base, Solana, Tempo | β | | Native PHP | β | Algorand, VOI, Hedera, Stellar, Base, Solana, Tempo | Algorand, VOI | | Native Python | β | Algorand, VOI, Hedera, Stellar, Base, Solana, Tempo | Algorand, VOI | | Native Go | β | Algorand, VOI, Hedera, Stellar, Base, Solana, Tempo | Algorand, VOI | | Native Rust | β | Algorand, VOI, Hedera, Stellar, Base, Solana, Tempo | Algorand, VOI | | AlgoVoi 1.0 | api.algovoi.co.uk/shop-demo | Algorand, VOI, Hedera, Stellar, Base, Solana, Tempo | Algorand, VOI | | QuickBooks Online | β (B2B webhook) | Algorand, VOI, Hedera, Stellar, Base, Solana, Tempo | β | | Xero | β (B2B webhook) | Algorand, VOI, Hedera, Stellar, Base, Solana, Tempo | β | | FreshBooks | β (B2B webhook, form-urlencoded + fetch_order) | Algorand, VOI, Hedera, Stellar, Base, Solana, Tempo | β | | Sage Business Cloud | β (polling, no push webhooks) | Algorand, VOI, Hedera, Stellar, Base, Solana, Tempo | β | | Zoho Books | β (B2B webhook) | Algorand, VOI, Hedera, Stellar, Base, Solana, Tempo | β | | Wave | β (B2B webhook) | Algorand, VOI, Hedera, Stellar, Base, Solana, Tempo | β | | MYOB | β (polling, no push webhooks) | Algorand, VOI, Hedera, Stellar, Base, Solana, Tempo | β | | eBay | β (Platform Notifications webhook) | Algorand, VOI, Hedera, Stellar, Base, Solana, Tempo | β | | Ecwid / Lightspeed E-Series | β (B2B webhook) | Algorand, VOI, Hedera, Stellar, Base, Solana, Tempo | β | | Etsy | β (B2B webhook) | Algorand, VOI, Hedera, Stellar, Base, Solana, Tempo | β | | Rakuten Ichiba | β (B2B webhook) | Algorand, VOI, Hedera, Stellar, Base, Solana, Tempo | β | | OnBuy | β (B2B webhook) | Algorand, VOI, Hedera, Stellar, Base, Solana, Tempo | β | | Yapily | β (open banking webhook) | Algorand, VOI, Hedera, Stellar, Base, Solana, Tempo | β | | Walmart Marketplace | β (B2B webhook) | Algorand, VOI, Hedera, Stellar, Base, Solana, Tempo | β | | CeX | β (operator bypass webhook) | Algorand, VOI, Hedera, Stellar, Base, Solana, Tempo | β | | Printful | β (print-on-demand webhook) | Algorand, VOI, Hedera, Stellar, Base, Solana, Tempo | β | | Wormhole | β (cross-chain bridge webhook) | Algorand, VOI, Hedera, Stellar, Base, Solana, Tempo | β | | WhatsApp Business | β (Meta webhook) | Algorand, VOI, Hedera, Stellar, Base, Solana, Tempo | β | | Instagram Shops | β (Meta webhook) | Algorand, VOI, Hedera, Stellar, Base, Solana, Tempo | β | | Telegram | β (Bot API webhook) | Algorand, VOI, Hedera, Stellar, Base, Solana, Tempo | β | | Allegro | β (marketplace webhook) | Algorand, VOI, Hedera, Stellar, Base, Solana, Tempo | β | | Bol.com | β (marketplace webhook) | Algorand, VOI, Hedera, Stellar, Base, Solana, Tempo | β | | Cdiscount | β (marketplace webhook) | Algorand, VOI, Hedera, Stellar, Base, Solana, Tempo | β | | Flipkart | β (Seller API webhook) | Algorand, VOI, Hedera, Stellar, Base, Solana, Tempo | β | | Lazada | β (open platform webhook) | Algorand, VOI, Hedera, Stellar, Base, Solana, Tempo | β | | Mercado Libre | β (marketplace webhook) | Algorand, VOI, Hedera, Stellar, Base, Solana, Tempo | β | | Shopee | β (open platform webhook) | Algorand, VOI, Hedera, Stellar, Base, Solana, Tempo | β | | Tokopedia | β (marketplace webhook) | Algorand, VOI, Hedera, Stellar, Base, Solana, Tempo | β | | x402 AI Agent adapter | β (x402 spec v1: accepts array, CAIP-2 networks, microunit amounts, payload.signature proof) | Algorand, VOI, Hedera, Stellar, Base, Solana, Tempo | β | | MPP Gate | β (100% IETF draft-ryan-httpauth-payment: challenge echo, CAIP-2 routing, HMAC IDs, on-chain verification β v2.1.0, 153/153 tests, live smoke-tested all 4 original chains 13 Apr 2026; Base + Solana added 2026-04-22/23; Tempo added 2026-04-23) | Algorand, VOI, Hedera, Stellar, Base, Solana, Tempo | β | | AP2 Gate | β (payment request + local ed25519 verification) | Algorand, VOI | β | | LangChain (AI agent frameworks) | β (MPP + AP2 + x402; gates any ChatModel, LCEL chain, RAG pipeline, or ReAct agent tool β 76/77 tests, Phase 1+2 PASS 5/5 chains 16 Apr 2026, Comet-validated) | Algorand, VOI, Hedera, Stellar, Base, Solana, Tempo | β | | LlamaIndex (AI agent frameworks) | β (MPP + AP2 + x402; gates LlamaIndex LLM, QueryEngine, ChatEngine, or ReAct agent tool β 80/80 tests, Comet-validated 16 Apr 2026) | Algorand, VOI, Hedera, Stellar, Base, Solana, Tempo | β | | CrewAI (AI agent frameworks) | β (MPP + AP2 + x402; gates crew.kickoff() + BaseTool with PaymentToolInput args_schema β 68/68 tests, Comet-validated 16 Apr 2026) | Algorand, VOI, Hedera, Stellar, Base, Solana, Tempo | β | | Hugging Face (AI agent frameworks) | β (MPP + AP2 + x402; gates InferenceClient.chat_completion(), transformers pipeline, and smolagents Tool β 83/83 tests, 16 Apr 2026) | Algorand, VOI, Hedera, Stellar, Base, Solana, Tempo | β | | AutoGen (AI agent frameworks) | β (MPP + AP2 + x402; gates initiate_chat() + callable FunctionTool-compatible tool; llm_config property; 0.2.x + 0.4.x β 86/86 tests, 16 Apr 2026) | Algorand, VOI, Hedera, Stellar, Base, Solana, Tempo | β | | Semantic Kernel (AI agent frameworks) | β (MPP + AP2 + x402; gates chat completion, kernel.invoke(), and @kernel_function plugin; asyncio.run() sync wrappers β 76/76 tests, 16 Apr 2026) | Algorand, VOI, Hedera, Stellar, Base, Solana, Tempo | β | | Pydantic AI (AI agent frameworks) | β (MPP + AP2 + x402; gates any Agent with deps injection, all provider:model strings, pydantic_ai.tools.Tool-compatible β 77/77 tests, 16 Apr 2026) | Algorand, VOI, Hedera, Stellar, Base, Solana, Tempo | β | | DSPy (AI agent frameworks) | β (MPP + AP2 + x402; gates any Predict / ChainOfThought / ReAct / compiled program; dspy.context isolation, plain callable tool for ReAct β 78/78 tests, Phase 1 9/9 PASS 16 Apr 2026, Comet-validated) | Algorand, VOI, Hedera, Stellar, Base, Solana, Tempo | β | | Vercel AI SDK (AI agent frameworks) | β (MPP + AP2 + x402; TypeScript; generateText + streamText + tool() + nextHandler; any @ai-sdk/* provider β 79/79 tests, Phase 1 12/12 PASS 16 Apr 2026, Comet-validated) | Algorand, VOI, Hedera, Stellar, Base, Solana, Tempo | β | | Google A2A (AI agent frameworks) | β (MPP + AP2 + x402; A2A v1.0 REST server + client; 6 live endpoints: /.well-known/agent.json, /extendedAgentCard, /message:send, /tasks, /tasks/{id}, /tasks/{id}:cancel; extended agent card with payment auth metadata; legacy JSON-RPC 2.0 compat kept β 120/120 tests, Phase 1 12/12 PASS 16 Apr 2026, Comet-validated) | Algorand, VOI, Hedera, Stellar, Base, Solana, Tempo | β | | LangGraph (AI agent frameworks) | β (MPP + AP2 + x402; gates compiled StateGraph invoke/stream; AlgoVoiPaymentTool is BaseTool subclass, ToolNode-compatible, create_react_agent-compatible; flask_guard + flask_agent convenience wrappers β 77/77 tests, Phase 1 12/12 PASS 16 Apr 2026, Comet-validated) | Algorand, VOI, Hedera, Stellar, Base, Solana, Tempo | β | | Agno (AI agent frameworks) | β (MPP + AP2 + x402; gates any Agno Agent via pre_hooks, ASGI middleware for AgentOS, run_agent/arun_agent wrappers, flask_guard + flask_agent; AgnoPaymentRequired exception β 88/88 tests, Phase 1 13/13 PASS 16 Apr 2026, Comet-validated) | Algorand, VOI, Hedera, Stellar, Base, Solana, Tempo | β | | Zapier (no-code) | β (webhook bridge + action handlers: create_payment_link, verify_payment, list_networks, generate_challenge MPP/x402/AP2; ZapierActionResult return type β 77/77 tests, Phase 1+2 PASS 17 Apr 2026, Comet-validated) | 24 networks (12 mainnet + 12 testnet) | β | | Make / Integromat (no-code) | β (module handlers: create_payment_link, verify_payment, list_networks, generate_challenge MPP/x402/AP2; Make bundle dict return type β 71/71 tests, Phase 1+2 PASS 17 Apr 2026, Comet-validated) | 24 networks (12 mainnet + 12 testnet) | β | | n8n (no-code) | β (operation handlers: create_payment_link, verify_payment, list_networks, generate MPP/x402/AP2 challenges; n8n item dict return type β 77/77 tests, Phase 1+2 PASS 17 Apr 2026, Comet-validated) | 24 networks (12 mainnet + 12 testnet) | β | | X / Twitter (no-code) | β (webhook adapter + OAuth 1.0a tweet posting; auto-posts payment confirmations & checkout links when AlgoVoi fires a webhook; 62/62 unit tests; 4-chain mainnet e2e verified 18 Apr 2026; Base + Solana added 2026-04-22/23; Tempo added 2026-04-23 β payments confirmed on-chain, tweets posted automatically) | Algorand, VOI, Hedera, Stellar, Base, Solana, Tempo | β |
Last webhook test: 14 April 2026 β all 39 testable adapters passed on all 4 original chains (algorand_mainnet, voi_mainnet, hedera_mainnet, stellar_mainnet); Base and Solana added 2026-04-22/23. Checkout pages validated live via Comet CDP. 6 adapters skipped: BigCommerce (partial β order-amount fetch needs real API credentials), Discord (Ed25519), TrueLayer (ES512), Faire/Jumia/Printify (docs only).
Accounting adapters unit tests: 339 passing, 0 failing (includes replay attack prevention coverage β commit 5025c4e)
AI agent adapters β production ready as of 13 April 2026:
- x402: spec v1 compliant β
x402Version: 1,acceptsarray, CAIP-2 network IDs, string microunit amounts,payload.signatureproof format. Real payments smoke-tested on all 4 original chains (Algorand, VOI, Stellar, Hedera mainnet); Base and Solana added 2026-04-22/23.x402/verifyconfirmedverified:trueon each. 76/76 unit tests passing. Adapter v2.0.0. - MPP: 100% IETF spec compliant (v2.1.0) β
id(HMAC-SHA256),method,intent="charge",request=(charge intent object),expires, challenge echo validation (Table 3), CAIP-2 network routing, replay protection, spec-compliantPayment-Receipt. On-chain verification smoke-tested on all 4 original chains (Algorand, VOI, Hedera, Stellar) 13 Apr 2026 Γ2; Base and Solana added 2026-04-22/23. 153/153 unit tests. - AP2: production ready (v2.0.0) β AP2 v0.1 CartMandate/PaymentMandate with AlgoVoi crypto-algo extension. CartMandate issues
PaymentMethodDataper extension schema (network,receiver,amount_microunits,asset_id,min_confirmations,memo_required). PaymentMandate acceptspayment_response.details.{network, tx_id, note_field}. ed25519 sig + on-chain AVM verification. PyNaCl + cryptography fallback both confirmed. 81/81 tests.
Two payment flows
Hosted checkout β Customer is redirected to a secure AlgoVoi-hosted payment page. Supports Algorand, VOI, Hedera, Stellar, Base, Solana, and Tempo. Works with any wallet (Pera, Defly, Lute, HashPack, Freighter, LOBSTR, MetaMask, Phantom, β¦). Payment confirmed via webhook or API status check. Used by all platforms including Shopify.
Extension payment β Customer pays directly on the store page using the AlgoVoi browser extension and algosdk. Supports Algorand and VOI only (AVM chains). Buyers paying on Hedera or Stellar use hosted checkout with their chain-native wallet. No redirect required for extension flow. Available on WooCommerce, OpenCart, PrestaShop, and Shopware.
Shopify checkout extension β "Pay with Crypto β" link rendered on the thank-you page via Shopify Checkout UI Extension (Preact). Customer selects their chain on a dedicated pay page. Webhook automatically adds payment link to order notes.
---
E-commerce integrations
| Platform | Guide | Files | Status | |----------|-------|-------|--------| | Native PHP | β | native-php/ | Available β drop-in, zero dependencies | | Native Python | β | native-python/ | Available β stdlib only, no pip install | | Native Go | β | native-go/ | Available β stdlib only, no go get | | Native Rust | β | native-rust/ | Available β zero crates, pure stdlib | | Shopify | shopify.md | Private (hosted service) | Available β managed by AlgoVoi | | WooCommerce | woocommerce.md | woocommerce/ | Available β hosted + extension | | Magento 2 / Adobe Commerce | magento.md | magento2/ | Available β hosted checkout, Knockout.js | | BigCommerce | bigcommerce.md | bigcommerce/ | Partial β webhook sig verified; order-amount fetch requires real store_hash / access_token | | Wix eCommerce | wix.md | wix/ | Available β Payment Provider SPI (real checkout) | | PrestaShop | prestashop.md | prestashop/ | Available β hosted + extension | | Squarespace | squarespace.md | squarespace/ | Available β B2B webhook adapter | | eBay | ebay.md | ebay/ | Available β Python webhook adapter | | Walmart | walmart.md | walmart/ | Available β Python webhook adapter | | Amazon SP-API | amazon.md | amazon-mws/ | Available β B2B webhook adapter | | CeX | cex.md | cex/ | Available β Python operator-bypass adapter | | Ecwid / Lightspeed E-Series | ecwid.md | ecwid/ | Available β Python webhook adapter | | OpenCart | opencart.md | opencart/ | Available β hosted + extension | | Shopware | shopware.md | shopware/ | Available β hosted + extension | | TikTok Shop | tiktok-shop.md | tiktok-shop/ | Available β B2B webhook adapter |
CMS integrations
Drop-in payment gateways for major content-management and publishing platforms. All three were shipped together on 15 April 2026 and Comet-validated end-to-end. Each adapter applies the full April 2026 + pass-2 hardening set (cancel-bypass guard, empty-secret HMAC reject, timing-safe compare, 64 KB body cap, https-only outbound, amount sanity, scheme guards, token length caps, mandatory payment cross-check on webhooks).
| Platform | Guide | Files | Engine | Status | |----------|-------|-------|--------|--------| | Drupal Commerce | drupal-commerce/README.md | drupal-commerce/ | Drupal 10 / 11 + Commerce 2 / 3 | Available β OffsitePaymentGatewayBase module, DI-driven, v1.0.0 | | Easy Digital Downloads | easy-digital-downloads/README.md | easy-digital-downloads/ | EDD 3.2+ WordPress plugin | Available β digital downloads + licensing + recurring, v1.0.0 | | Ghost | ghost/README.md | ghost/ | Ghost 5.x (Python, Admin API / JWT) | Available β grant-on-payment member upgrade, v1.0.0 |
Each adapter folder ships a README.md with a how-it-works diagram, quick-start, supported chains, webhook endpoint, security posture table, and dependency list.
Regional & international marketplace integrations
All regional marketplace adapters have been end-to-end tested on 14 April 2026 across all 4 original chains; Base and Solana added 2026-04-22/23. Checkout pages validated live via Comet CDP.
| Platform | Guide | Region | Status | |----------|-------|--------|--------| | Flipkart | flipkart.md | India | Available β flipkart/ | | Etsy | etsy.md | Global | Available β etsy/ | | Printful | printful.md | Global (print-on-demand) | Available β printful/ | | Printify | printify.md | Global (print-on-demand) | Docs only β no webhook endpoint | | Bol.com | bolcom.md | Netherlands / Belgium | Available β bolcom/ | | Lazada | lazada.md | SE Asia (MY, TH, PH, SG, ID, VN) | Available β lazada/ | | Tokopedia | tokopedia.md | Indonesia | Available β tokopedia/ | | Rakuten | rakuten.md | Japan / France / Germany | Available β rakuten/ | | Allegro | allegro.md | Poland / Central & Eastern Europe | Available β allegro/ | | Shopee | shopee.md | SE Asia / Brazil | Available β shopee/ | | Mercado Libre | mercadolibre.md | Latin America | Available β mercadolibre/ | | OnBuy | onbuy.md | United Kingdom | Available β onbuy/ | | Jumia | jumia.md | Africa (NG, KE, EG, GH + more) | Docs only β no webhook endpoint | | Cdiscount | cdiscount.md | France / Belgium | Available β cdiscount/ | | Faire | faire.md | Global (B2B wholesale) | Docs only β faire/ β requires Faire API approval |
Accounting integrations
All 7 accounting adapters are end-to-end tested on 14 April 2026 against api.algovoi.co.uk across all 4 original chains (28/28 pass); Base and Solana added 2026-04-22/23.
Adapter source is not publicly distributed. Integration guides are below. Download your adapter from the AlgoVoi dashboard after signing in with your API key.
| Platform | Guide | Status | |----------|-------|--------| | QuickBooks Online | quickbooks-online.md | Available β private download | | Xero | xero.md | Available β private download | | FreshBooks | freshbooks.md | Available β private download (form-urlencoded webhook + fetch_order) | | Sage Business Cloud | sage-business-cloud.md | Available β private download (polling model, no push webhooks) | | Zoho Books | zoho-books.md | Available β private download (webhook body must include ${INVOICE.INVOICE_TOTAL}) | | Wave | wave.md | Available β private download | | MYOB | myob.md | Available β private download (polling model, no push webhooks) |
Social commerce integrations
| Platform | Guide | Status | |----------|-------|--------| | Telegram | telegram.md | Available β telegram/ | | Discord | discord.md | discord/ β Ed25519 signature; requires real Discord application keypair | | WhatsApp Business | whatsapp.md | Available β whatsapp/ | | Instagram & Facebook Shops | instagram-shops.md | Available β instagram-shops/ |
Financial services integrations
| Platform | Guide | Status | |----------|-------|--------| | TrueLayer | truelayer.md | truelayer/ β ES512 JWK signature; requires real TrueLayer signing key | | Yapily | yapily.md | Available β yapily/ | | Wormhole | wormhole.md | Available β wormhole/ |
AI agent & machine payment adapters
| Adapter | Files | Description | Status | |---------|-------|-------------|--------| | x402 | x402-ai-agents.md / x402-ai-agents/ | Autonomous AI agent payments via the x402 protocol (spec v1 β accepts array, CAIP-2 IDs, microunit amounts, payload.signature) | Production ready β real payments smoke-tested on all 4 original chains (Algorand, VOI, Stellar, Hedera); Base and Solana added 2026-04-22/23, x402/verify confirmed on each. Adapter v2.0.0, 76/76 tests. | | MPP | mpp-adapter/mpp-adapter.md / mpp-adapter/ | Machine Payments Protocol server middleware β 100% IETF draft-ryan-httpauth-payment compliant (challenge echo validation, CAIP-2 network routing, HMAC challenge IDs, on-chain verification, replay protection) | Production ready β 0.01 USDC live smoke-tested on all 4 original chains (Algorand, VOI, Hedera, Stellar) 13 Apr 2026; Base and Solana added 2026-04-22/23. Adapter v2.1.0, 153/153 tests. | | AP2 | ap2-adapter/ap2-adapter.md / ap2-adapter/ | AP2 v0.1 CartMandate/PaymentMandate server middleware with AlgoVoi crypto-algo extension. ed25519 mandate signing + on-chain tx verification across all 7 chains (Algorand, VOI, Hedera, Stellar, Base, Solana, Tempo). | Production ready β 0.01 USDC live smoke-tested on all 4 original chains 13 Apr 2026; Base + Solana added 2026-04-22/23; Tempo added 2026-04-23. Real ed25519 sig verified. v2.0.0, 81/81 tests. |
AI Platform Adapters
Drop-in payment gates for AI provider APIs. Each adapter wraps the AI call behind an on-chain payment check β the caller pays 0.01 USDC (or any configured amount) before the AI responds. All adapters accept OpenAI-format message lists and share a common interface: check(headers, body) β result, complete(messages) β str, flask_guard() convenience method.
| Platform | Class | SDK install | Protocol support | Files | Status | |----------|-------|-------------|-----------------|-------|--------| | OpenAI + compatible | AlgoVoiMppAI / AlgoVoiAp2AI / AlgoVoiOpenAI | pip install openai | MPP, AP2, x402 | ai-adapters/openai/ | Available β 101/101 tests + smoke-tested all 4 original chains 14 Apr 2026; Base + Solana added 2026-04-22/23; Tempo added 2026-04-23 | | Anthropic Claude | AlgoVoiClaude | pip install anthropic | MPP, AP2, x402 | ai-adapters/claude/ | Available β 76/76 tests + smoke-tested all 4 original chains 14 Apr 2026; Base + Solana added 2026-04-22/23; Tempo added 2026-04-23 | | Google Gemini | AlgoVoiGemini | pip install google-genai | MPP, AP2, x402 | ai-adapters/gemini/ | Available β 75/75 tests (Phase 2 pending billing-enabled key) | | Amazon Bedrock | AlgoVoiBedrock | pip install boto3 | MPP, AP2, x402 | ai-adapters/bedrock/ | Available β 57/57 tests, Converse API (Nova / Claude / Llama / Titan models) | | Cohere | AlgoVoiCohere | pip install cohere | MPP, AP2, x402 | ai-adapters/cohere/ | Available β Phase 1 + 1.5 + 2 PASS 4/4 chains 15 Apr 2026 | | xAI (Grok) | AlgoVoiXai | pip install xai-sdk | MPP, AP2, x402 | ai-adapters/xai/ | Available β 70/70 tests + Phase 1+2 PASS 4/4 chains 15 Apr 2026 (Comet-validated) | | Mistral | AlgoVoiMistral | pip install mistralai | MPP, AP2, x402 | ai-adapters/mistral/ | Available β 70/70 tests + Phase 1 PASS 4/4 chains 15 Apr 2026 (Comet-validated) |
All adapters support all 7 chains (Algorand, VOI, Hedera, Stellar, Base, Solana, Tempo) and all 3 payment protocols (MPP, AP2, x402).
OpenAI β MPP Quick start
from mpp_algovoi import AlgoVoiMppAI
gate = AlgoVoiMppAI(
openai_key = "sk-...",
algovoi_key = "algv_...",
tenant_id = "your-tenant-uuid",
payout_address = "YOUR_ALGORAND_ADDRESS",
networks = ["algorand_mainnet"], # or voi_mainnet / hedera_mainnet / stellar_mainnet
amount_microunits = 10000, # 0.01 USDC per call
resource_id = "ai-chat",
)
@app.route("/ai/chat", methods=["POST"])
def chat():
result = gate.check(dict(request.headers))
if result.requires_payment:
return result.as_flask_response() # 402 + WWW-Authenticate: Payment challenge
# result.receipt.payer, .tx_id, .amount available
return jsonify({"content": gate.complete(request.json["messages"])})
Supports any OpenAI-compatible provider via base_url:
| Provider | base_url | |----------|----------| | OpenAI (default) | https://api.openai.com/v1 | | Mistral | https://api.mistral.ai/v1 | | Together AI | https://api.together.xyz/v1 | | Groq | https://api.groq.com/openai/v1 | | Perplexity | https://api.perplexity.ai |
OpenAI β AP2 Quick start
from ap2_algovoi import AlgoVoiAp2AI
gate = AlgoVoiAp2AI(
openai_key = "sk-...",
algovoi_key = "algv_...",
tenant_id = "your-tenant-uuid",
payout_address = "YOUR_ALGORAND_ADDRESS",
networks = ["algorand-mainnet", "voi-mainnet"],
amount_microunits = 10000, # 0.01 USDC per call
)
@app.route("/ai/chat", methods=["POST"])
def chat():
body = request.get_json(silent=True) or {}
result = gate.check(dict(request.headers), body)
if result.requires_payment:
return result.as_flask_response() # 402 + X-AP2-Cart-Mandate header
# result.mandate.payer_address, .network, .tx_id available
return jsonify({"content": gate.complete(body["messages"])})
Claude β Quick start
from claude_algovoi import AlgoVoiClaude
gate = AlgoVoiClaude(
anthropic_key = "sk-ant-...",
algovoi_key = "algv_...",
tenant_id = "your-tenant-uuid",
payout_address = "YOUR_ALGORAND_ADDRESS",
protocol = "mpp", # "mpp" | "ap2" | "x402"
network = "algorand-mainnet",
amount_microunits = 10000, # 0.01 USDC per call
)
@app.route("/ai/chat", methods=["POST"])
def chat():
body = request.get_json(silent=True) or {}
result = gate.check(dict(request.headers), body)
if result.requires_payment:
return result.as_flask_response()
return jsonify({"content": gate.complete(body["messages"])})
Models: claude-opus-4-7 Β· claude-sonnet-4-6 (default) Β· claude-haiku-4-5-20251001
Gemini β Quick start
from gemini_algovoi import AlgoVoiGemini
gate = AlgoVoiGemini(
gemini_key = "AIza...",
algovoi_key = "algv_...",
tenant_id = "your-tenant-uuid",
payout_address = "YOUR_ALGORAND_ADDRESS",
protocol = "mpp", # "mpp" | "ap2" | "x402"
network = "algorand-mainnet",
amount_microunits = 10000, # 0.01 USDC per call
)
@app.route("/ai/chat", methods=["POST"])
def chat():
body = request.get_json(silent=True) or {}
result = gate.check(dict(request.headers), body)
if result.requires_payment:
return result.as_flask_response()
return jsonify({"content": gate.complete(body["messages"])})
Models: gemini-2.0-flash (default) Β· gemini-2.0-flash-lite Β· gemini-2.5-pro
Bedrock β Quick start
from bedrock_algovoi import AlgoVoiBedrock
gate = AlgoVoiBedrock(
aws_access_key_id = "AKIA...", # or set AWS_ACCESS_KEY_ID env var
aws_secret_access_key = "wJal...", # or set AWS_SECRET_ACCESS_KEY env var
aws_region = "us-east-1",
algovoi_key = "algv_...",
tenant_id = "your-tenant-uuid",
payout_address = "YOUR_ALGORAND_ADDRESS",
protocol = "mpp", # "mpp" | "ap2" | "x402"
network = "algorand-mainnet",
amount_microunits = 10000, # 0.01 USDC per call
model = "amazon.nova-pro-v1:0",
)
@app.route("/ai/chat", methods=["POST"])
def chat():
body = request.get_json(silent=True) or {}
result = gate.check(dict(request.headers), body)
if result.requires_payment:
return result.as_flask_response()
return jsonify({"content": gate.complete(body["messages"])})
Models (any model exposed by Bedrock Converse in your AWS region/account): amazon.nova-pro-v1:0 (default) Β· amazon.nova-lite-v1:0 Β· anthropic.claude-3-5-sonnet-20241022-v2:0 Β· meta.llama3-70b-instruct-v1:0 Β· amazon.titan-text-premier-v1:0
Cohere β Quick start
from cohere_algovoi import AlgoVoiCohere
gate = AlgoVoiCohere(
cohere_key = "...", # Cohere API key
algovoi_key = "algv_...",
tenant_id = "your-tenant-uuid",
payout_address = "YOUR_ALGORAND_ADDRESS",
protocol = "mpp", # "mpp" | "ap2" | "x402"
network = "algorand-mainnet",
amount_microunits = 10000, # 0.01 USDC per call
model = "command-r-plus-08-2024",
)
@app.route("/ai/chat", methods=["POST"])
def chat():
body = request.get_json(silent=True) or {}
result = gate.check(dict(request.headers), body)
if result.requires_payment:
return result.as_flask_response()
return jsonify({"content": gate.complete(body["messages"])})
Models: command-r-plus-08-2024 (default β most capable) Β· command-r-08-2024 (balanced) Β· command-r7b-12-2024 (fastest)
xAI (Grok) β Quick start
from xai_algovoi import AlgoVoiXai
gate = AlgoVoiXai(
xai_key = "xai-...", # xAI API key
algovoi_key = "algv_...",
tenant_id = "your-tenant-uuid",
payout_address = "YOUR_ALGORAND_ADDRESS",
protocol = "mpp", # "mpp" | "ap2" | "x402"
network = "algorand-mainnet",
amount_microunits = 10000, # 0.01 USDC per call
model = "grok-4",
)
@app.route("/ai/chat", methods=["POST"])
def chat():
body = request.get_json(silent=True) or {}
result = gate.check(dict(request.headers), body)
if result.requires_payment:
return result.as_flask_response()
return jsonify({"content": gate.complete(body["messages"])})
Models: grok-4 (default β latest, most capable) Β· grok-3 Β· grok-3-mini (fast + cheap) Β· grok-2-1212 Β· grok-2-vision-1212
Mistral β Quick start
from mistral_algovoi import AlgoVoiMistral
gate = AlgoVoiMistral(
mistral_key = "...", # Mistral API key
algovoi_key = "algv_...",
tenant_id = "your-tenant-uuid",
payout_address = "YOUR_ALGORAND_ADDRESS",
protocol = "mpp", # "mpp" | "ap2" | "x402"
network = "algorand-mainnet",
amount_microunits = 10000, # 0.01 USDC per call
model = "mistral-large-latest",
)
@app.route("/ai/chat", methods=["POST"])
def chat():
body = request.get_json(silent=True) or {}
result = gate.check(dict(request.headers), body)
if result.requires_payment:
return result.as_flask_response()
return jsonify({"content": gate.complete(body["messages"])})
Models: mistral-large-latest (default β flagship) Β· mistral-medium-latest Β· mistral-small-latest Β· codestral-latest Β· open-mistral-nemo Β· pixtral-large-latest
OpenAI-format messages work across all seven platforms β system roles are extracted automatically where required (Claude, Bedrock), Gemini assistant roles are mapped to model internally, and Cohere, xAI, and Mistral all accept the system role natively via their respective SDKs.
---
AI Agent Framework Adapters
Gate entire orchestration frameworks behind on-chain payment β not just a single model provider. These adapters are LLM-agnostic: pass any pre-built ChatModel, LCEL chain, RAG pipeline, or ReAct agent and the payment check wraps the whole thing.
| Framework | Class | Install | Protocol support | Files | Status | |-----------|-------|---------|-----------------|-------|--------| | LangChain | AlgoVoiLangChain + AlgoVoiPaymentTool | pip install langchain-core langchain-openai | MPP, AP2, x402 | ai-agent-frameworks/langchain/ | Available β 76/77 tests + Phase 1+2 PASS 5/5 chains 16 Apr 2026 (Comet-validated) | | LlamaIndex | AlgoVoiLlamaIndex + AlgoVoiPaymentTool | pip install llama-index | MPP, AP2, x402 | ai-agent-frameworks/llamaindex/ | Available β 80/80 tests, Comet-validated 16 Apr 2026 | | CrewAI | AlgoVoiCrewAI + AlgoVoiPaymentTool | pip install crewai | MPP, AP2, x402 | ai-agent-frameworks/crewai/ | Available β 68/68 tests, Comet-validated 16 Apr 2026 | | Hugging Face | AlgoVoiHuggingFace + AlgoVoiPaymentTool | pip install huggingface-hub smolagents | MPP, AP2, x402 | ai-agent-frameworks/huggingface/ | Available β 83/83 tests, 16 Apr 2026 | | AutoGen | AlgoVoiAutoGen + AlgoVoiPaymentTool | pip install pyautogen | MPP, AP2, x402 | ai-agent-frameworks/autogen/ | Available β 86/86 tests, 16 Apr 2026 | | Semantic Kernel | AlgoVoiSemanticKernel + AlgoVoiPaymentPlugin | pip install semantic-kernel | MPP, AP2, x402 | ai-agent-frameworks/semantic-kernel/ | Available β 76/76 tests, 16 Apr 2026 | | Pydantic AI | AlgoVoiPydanticAI + AlgoVoiPaymentTool | pip install pydantic-ai | MPP, AP2, x402 | ai-agent-frameworks/pydantic-ai/ | Available β 77/77 tests, 16 Apr 2026 | | DSPy | AlgoVoiDSPy + AlgoVoiPaymentTool | pip install dspy | MPP, AP2, x402 | ai-agent-frameworks/dspy/ | Available β 78/78 tests, Phase 1 9/9 PASS 16 Apr 2026, Comet-validated | | Vercel AI SDK | AlgoVoiVercelAI + VercelAIResult | npm i ai zod | MPP, AP2, x402 | ai-agent-frameworks/vercel-ai-sdk/ | Available β 79/79 tests, Phase 1 12/12 PASS 16 Apr 2026, Comet-validated β TypeScript | | Google A2A | AlgoVoiA2A + AlgoVoiPaymentTool | pip install flask | MPP, AP2, x402 | ai-agent-frameworks/a2a/ | Available β 84/84 tests, Phase 1 12/12 PASS 16 Apr 2026, Comet-validated | | LangGraph | AlgoVoiLangGraph + AlgoVoiPaymentTool | pip install langgraph | MPP, AP2, x402 | ai-agent-frameworks/langgraph/ | Available β 77/77 tests, Phase 1 12/12 PASS 16 Apr 2026, Comet-validated | | Agno | AlgoVoiAgno + AlgoVoiPaymentTool | pip install agno | MPP, AP2, x402 | ai-agent-frameworks/agno/ | Available β 88/88 tests, Phase 1 13/13 PASS 16 Apr 2026, Comet-validated |
LangChain β Quick start
from langchain_algovoi import AlgoVoiLangChain
gate = AlgoVoiLangChain(
openai_key = "sk-...", # OpenAI key (or pass llm= to use any ChatModel)
algovoi_key = "algv_...",
tenant_id = "your-tenant-uuid",
payout_address = "YOUR_ALGORAND_ADDRESS",
protocol = "mpp", # "mpp" | "ap2" | "x402"
network = "algorand-mainnet",
amount_microunits = 10000, # 0.01 USDC per call
)
@app.route("/ai/chat", methods=["POST"])
def chat():
body = request.get_json(silent=True) or {}
result = gate.check(dict(request.headers), body)
if result.requires_payment:
return result.as_flask_response()
return jsonify({"content": gate.complete(body["messages"])})
Bring your own model β pass any pre-built LangChain ChatModel instead of an OpenAI key:
from langchain_anthropic import ChatAnthropic
gate = AlgoVoiLangChain(
algovoi_key = "algv_...",
tenant_id = "...",
payout_address = "...",
llm = ChatAnthropic(model="claude-opus-4-7"),
)
Gate any LCEL chain or RAG pipeline:
chain = ChatPromptTemplate.from_template("Answer: {question}") | ChatOpenAI() | StrOutputParser()
result = gate.check(headers, body)
if not result.requires_payment:
output = gate.invoke_chain(chain, {"question": body["question"]})
Drop into a ReAct agent as a BaseTool:
tool = gate.as_tool(resource_fn=lambda q: my_handler(q), tool_name="premium_kb")
from langchain.agents import create_react_agent, AgentExecutor
agent = create_react_agent(llm, tools=[tool], prompt=prompt)
executor = AgentExecutor(agent=agent, tools=[tool])
The tool accepts {"query": "...", "payment_proof": "<base64>"}. Returns a challenge JSON dict if proof is absent or invalid; calls resource_fn(query) and returns the result if verified.
All 7 chains and all 3 protocols supported. Full reference: ai-agent-frameworks/langchain/README.md
LlamaIndex β Quick start
from llamaindex_algovoi import AlgoVoiLlamaIndex
gate = AlgoVoiLlamaIndex(
openai_key = "sk-...",
algovoi_key = "algv_...",
tenant_id = "your-tenant-uuid",
payout_address = "YOUR_ALGORAND_ADDRESS",
protocol = "mpp",
network = "algorand-mainnet",
amount_microunits = 10000,
)
# Gate a LlamaIndex QueryEngine (RAG pipeline)
result = gate.check(headers, body)
if not result.requires_payment:
answer = gate.query_engine_query(query_engine, body["query"])
# Gate a ChatEngine (multi-turn)
if not result.requires_payment:
reply = gate.chat_engine_chat(chat_engine, body["message"])
ReAct agent tool β drop into any LlamaIndex agent:
from llama_index.core.agent import ReActAgent
tool = gate.as_tool(resource_fn=my_handler, tool_name="premium_kb")
agent = ReActAgent.from_tools([tool], llm=llm, verbose=True)
The tool accepts {"query": "...", "payment_proof": "<base64>"}. Returns a ToolOutput with .content (challenge JSON or resource result), .tool_name, .raw_input, .raw_output.
Bring your own LlamaIndex LLM (Anthropic, Google, Cohere, Bedrock, etc.):
from llama_index.llms.anthropic import Anthropic
gate = AlgoVoiLlamaIndex(
algovoi_key = "algv_...",
tenant_id = "...",
payout_address = "...",
llm = Anthropic(model="claude-opus-4-7"),
)
All 7 chains and all 3 protocols supported. Full reference: ai-agent-frameworks/llamaindex/README.md
CrewAI β Quick start
from crewai_algovoi import AlgoVoiCrewAI
from crewai import Agent, Task, Crew, LLM
gate = AlgoVoiCrewAI(
openai_key = "sk-...",
algovoi_key = "algv_...",
tenant_id = "your-tenant-uuid",
payout_address = "YOUR_ALGORAND_ADDRESS",
protocol = "mpp",
network = "algorand-mainnet",
amount_microunits = 10000,
)
# Gate a crew.kickoff() call
result = gate.check(headers, body)
if not result.requires_payment:
output = gate.crew_kickoff(my_crew, inputs={"topic": body["topic"]})
# Or use flask_guard with an inputs extractor
@app.route("/ai/research", methods=["POST"])
def research():
return gate.flask_guard(my_crew, inputs_fn=lambda b: {"topic": b.get("topic", "")})
Add AlgoVoiPaymentTool to any CrewAI agent:
tool = gate.as_tool(resource_fn=my_handler, tool_name="premium_kb")
researcher = Agent(
role = "Research Analyst",
goal = "Use premium_kb to answer questions.",
backstory = "Expert researcher.",
tools = [tool],
llm = LLM(model="openai/gpt-4o"),
)
The tool uses PaymentToolInput (Pydantic args_schema) β the agent generates {"query": "...", "payment_proof": "<base64>"}, CrewAI validates it, and _run(query, payment_proof) is called directly as kwargs. Any crewai.LLM provider (OpenAI, Anthropic, Gemini, Bedrock, Groq, Together AI, β¦) is supported via the LiteLLM router.
All 7 chains and all 3 protocols supported. Full reference: ai-agent-frameworks/crewai/README.md
Hugging Face β Quick start
from huggingface_algovoi import AlgoVoiHuggingFace
gate = AlgoVoiHuggingFace(
hf_token = "hf_...",
algovoi_key = "algv_...",
tenant_id = "your-tenant-uuid",
payout_address = "YOUR_ALGORAND_ADDRESS",
protocol = "mpp",
network = "algorand-mainnet",
amount_microunits = 10000,
model = "meta-llama/Meta-Llama-3-8B-Instruct",
)
# Gate InferenceClient.chat_completion()
result = gate.check(headers, body)
if not result.requires_payment:
reply = gate.complete(body["messages"])
# Gate a transformers pipeline
from transformers import pipeline
pipe = pipeline("text-generation", model="HuggingFaceH4/zephyr-7b-beta", token="hf_...")
if not result.requires_payment:
answer = gate.inference_pipeline(pipe, body["messages"])
Drop into a smolagents ToolCallingAgent:
from smolagents import ToolCallingAgent, InferenceClientModel
tool = gate.as_tool(resource_fn=my_handler, tool_name="premium_kb")
model = InferenceClientModel(model_id="meta-llama/Meta-Llama-3-8B-Instruct")
agent = ToolCallingAgent(tools=[tool], model=model)
agent.run("Use premium_kb to answer my question.")
The tool accepts query and payment_proof (base64) as kwargs. Returns challenge JSON if proof absent/invalid; calls resource_fn(query) and returns the result if verified. Works with any smolagents agent type (ToolCallingAgent, CodeAgent, custom).
All 7 chains and all 3 protocols supported. Full reference: ai-agent-frameworks/huggingface/README.md
AutoGen β Quick start
from autogen_algovoi import AlgoVoiAutoGen
gate = AlgoVoiAutoGen(
openai_key = "sk-...",
algovoi_key = "algv_...",
tenant_id = "your-tenant-uuid",
payout_address = "YOUR_ALGORAND_ADDRESS",
protocol = "mpp",
network = "algorand-mainnet",
amount_microunits = 10000,
)
# Build agents from gate.llm_config
from autogen import AssistantAgent, UserProxyAgent
assistant = AssistantAgent("assistant", llm_config=gate.llm_config)
user_proxy = UserProxyAgent("user_proxy", human_input_mode="NEVER",
max_consecutive_auto_reply=3,
code_execution_config=False)
# Gate a conversation
result = gate.check(headers, body)
if not result.requires_payment:
output = gate.initiate_chat(assistant, user_proxy, body["message"], max_turns=5)
Callable tool β AutoGen 0.2.x:
tool = gate.as_tool(resource_fn=my_handler, tool_name="premium_kb")
@user_proxy.register_for_execution()
@assistant.register_for_llm(description=tool.description, name=tool.name)
def premium_kb(query: str, payment_proof: str = "") -> str:
return tool(query=query, payment_proof=payment_proof)
AutoGen 0.4.x FunctionTool:
from autogen_core.tools import FunctionTool
fn_tool = FunctionTool(tool, description=tool.description, name=tool.name)
All 7 chains and all 3 protocols supported. Full reference: ai-agent-frameworks/autogen/README.md
Semantic Kernel β Quick start
from semantic_kernel_algovoi import AlgoVoiSemanticKernel
gate = AlgoVoiSemanticKernel(
openai_key = "sk-...",
algovoi_key = "algv_...",
tenant_id = "your-tenant-uuid",
payout_address = "YOUR_ALGORAND_ADDRESS",
protocol = "mpp",
network = "algorand-mainnet",
amount_microunits = 10000,
model = "gpt-4o",
)
# Gate SK chat completion (sync wrapper around async SK API)
result = gate.check(headers, body)
if not result.requires_payment:
reply = gate.complete(body["messages"])
# Gate any KernelFunction
output = gate.invoke_function(kernel, summarise_fn, input=body["text"])
Add as a @kernel_function plugin:
plugin = gate.as_plugin(resource_fn=my_handler, plugin_name="premium_kb")
kernel.add_plugin(plugin, plugin_name="premium_kb")
# The LLM can se










