Algorand x402 integration project

This topic is to discuss XGOV proposal from GoPlausible for a retroactive grant on finished and delivered work on complete X402 integration, tooling, and preparations for the Algorand ecosystem.

Algorand x402 Protocol — Complete Integration and Developer Toolings for x402 V1 and V2 in TypeScript and Python

Proposer: GoPlausible
Category: Tooling and Infrastructure
Period of Work: 8 months (retroactive)


Summary

GoPlausible has delivered the complete x402 payment protocol integration for Algorand, making Algorand one of only three blockchains (alongside Solana and Base/EVM) with full x402 support. This work positions Algorand as a first-class citizen in the emerging AI agent-to-agent payment rails ecosystem—foundational infrastructure for the agentic future.


Deliverables Completed

1. Core Protocol and Specifications

Deliverable Link
Contribution to Algorand x402 Specification (merged into Coinbase spec) scheme_exact_algo.md
Full Reference Implementation (V2) x402-avm branch-algorand-v2
Reference Implementation (V2) PR x402 PR ready for Coinbase and reviewed by Algorand Foundation engineering team

2. Live Infrastructure

Service Link
Multi-chain Facilitator (Algorand Mainnet + Testnet / Solana / Base) facilitator.goplausible.xyz
Facilitator API Documentation /docs
Supported Networks /supported
Live Demo x402.goplausible.xyz

3. TypeScript SDK (npm) — 9 Packages

Package Purpose Link
@x402-avm/core Framework-agnostic core logic npm
@x402-avm/avm Algorand-specific mechanisms npm
@x402-avm/extensions Bazaar extension npm
@x402-avm/paywall Ready-to-use paywall UI npm
@x402-avm/next Next.js middleware npm
@x402-avm/express Express middleware npm
@x402-avm/hono Hono middleware (edge) npm
@x402-avm/fetch Fetch client npm
@x402-avm/axios Axios client npm

4. Python SDK (PyPI)

Package Link
x402-avm PyPI

Modular installation options:

Extra Purpose
x402-avm[all] Full installation
x402-avm[avm] Algorand mechanism only
x402-avm[fastapi] FastAPI server middleware
x402-avm[flask] Flask server middleware
x402-avm[httpx] HTTPX client
x402-avm[requests] Requests client
x402-avm[evm] / x402-avm[svm] Multi-chain support

5. Documentation Hub

Resource Link
Complete Documentation & Examples algorand-x402-documentation

Includes TypeScript and Python examples for: Core, Mechanism, Extensions, Paywall, Express, Hono, Next.js, FastAPI, Flask, Fetch, Axios, HTTPX, Requests

6. Legacy V1 Packages (Maintained)

Package Link
x402-avm npm
x402-avm-express npm
x402-avm-hono npm
x402-avm-next npm
x402-avm-fetch npm
x402-avm-axios npm

7. Agent Skills Contributed to Algorand DevRel Repository

Contribution Link
Algorand Agent Skills algorand-devrel/algorand-agent-skills

Deliverables Summary

Category Count
Live Infrastructure 2
TypeScript Packages (V2) 9
Python Package (V2) 1 (+6 extras)
Legacy V1 Packages 6
Documentation & Examples 18+

Impact and Strategic Value

Algorand’s Position in Agentic AI

  • One of only 3 chains with complete x402 support (Algorand, Solana, Base)
  • Native support for AI agent payments — critical infrastructure for autonomous systems
  • HTTP 402 standard compliance — seamless web integration without custom protocols
  • Sub-second finality — Algorand’s speed makes it ideal for micropayment use cases

Developer Experience

  • 9 TypeScript packages published on npm with full type support
  • 1 Python package with 6 modular installation options
  • Comprehensive documentation and example code covering all integration patterns
  • Agent skills for x402 covering end-to-end developer scenarios and x402 knowledge
  • Working examples for every major web framework in TypeScript and Python (Express, Hono, Next.js, FastAPI, Flask)
  • Both server middleware and client libraries — complete end-to-end support
  • Dedicated facilitator + Bazaar endpoints

Open Source Commitment

All deliverables are fully open source under permissive licenses, ensuring the Algorand community can build upon this foundation without restrictions.


Operational Fee Abstraction Cost Note

The GoPlausible facilitator abstracts transaction fees for both merchants and payers. For each x402 transaction, GoPlausible sponsors:

Network Fee per Transaction
Algorand ~0.002 ALGO
Solana ~$0.001
Base (ETH) ~$0.001

:warning: This design choice maximizes adoption but means the facilitator operates at a continuous cost with no direct revenue model. The facilitator + Bazaar is a public good for the Algorand ecosystem.


About the team

GoPlausible has been a consistent Algorand builder since 2022, with founders contributing to the ecosystem since 2020. We began with the PLAUSIBLE Protocol—bringing W3C DIDs and Verifiable Credentials to Algorand—and have since expanded to lead Algorand’s AI integration story. Our Algorand Remote MCP, operational since 2024, now serves 1,000+ active users. We continue to deliver across the full AI stack: Algorand GPT, Algorand MCP, Algorand Agency, A2A protocol, and AP2 extension integrations.

Additional Info: Fund Allocation

These grant resources will be used for:

Allocation Purpose
:desktop_computer: Hardware Purchase Continuation of contributions and delivering cutting-edge AI tech integrations for Algorand using required hardware
:microscope: R&D & Development Improvement, expansion, and open sourcing of the Algorand Agency platform
:money_with_wings: Operational Costs Fee abstraction costs for Algorand facilitator (public good)
:building_construction: Infrastructure Costs Hosting and maintenance of free and open source services for the Algorand ecosystem
:link: Protocol Integrations Continuity of providing and contributing to the integration of other AI and Agentic payment protocols for Algorand

:light_bulb: Note: All work produced will remain open source and contribute directly to Algorand’s position as the leading blockchain for AI and agentic systems.

Links

Platform Link
:globe_with_meridians: Website goplausible.com
:laptop: GitHub github.com/GoPlausible
:bird: Twitter @GoPlausible

Contact

Mohammad Ghiasi (MG)
GoPlausible’s Co-founder and Technology Architect
Twitter: @emg110

8 Likes

Easy yes for me! The x402 is one of the main talking points for algorand in the wider crypto space recently.

5 Likes

Wonderful integration. Great work MG.

Personally Yes

1 Like

Surprised you managed to do this without funding up to this point.
Great work. Thank you.

1 Like

GoPlausible can move forward only because of help and support from great friends and supporters like you @urtho. Thank you

1 Like

I’m similarly surprised all of this effort was done without Foundation’s funding. Hats off to you!

1 Like

First of all, it will be a very easy “yes” vote, from a technical POV.
Algorand Foundation has excellent marketing, they should embrace this
x402 payment protocol if it is viable economically. They are the ones
who have the expertise to do that.

Big thanks to @emg110, Mohammad Ghiasi, GoPlausible’s Co-founder and
Technology Architect for completing this Algorand x402 integration project.

x402 offers two payment mode (scheme):

  • on-chain (“exact” scheme)
  • off-chain (“channel” scheme)

Operation when “exact” scheme is used, with Solana:

  • a blockchain txn for every request
  • response time: when txn appears on block, 400-800 ms (optimistic confirmation)
  • finality: 12 sec
  • cost: approx. 0.0005 .. 0.001 USD/payment + 0.001 USD/payment for the facilitator
  • use case: for low frequency payments

Operation when “channel” scheme is used:

  • pre-opened payment channel
  • response time: less than 10 ms
  • cost: 0 USD after opening the channel
  • use case: high frequency payments, 100+/hours, like calling AI agents

For Algorand, the corresponding numbers for the “exact” scheme
are the following:

  • response time: when txn appears on block, typically 5..8 sec
  • finality: immediate and fork-free when the block is created
  • average block time: 2.7 sec
  • cost: approx. 0.0001 USD/payment + facilitator fees
  • use case: for low frequency payments

Advantages of Algorand: low cost/payment, “instant” finality.

I was stunned when I saw the AI’s 400 msec answer as response time for
“exact” scheme. This is the optimistic confirmation, when the block
first appears. Full finality on Solana takes 12 sec. There will be a
major protocol upgrade in 2026, Alpenglow, which promises to
decrease this time to 100..150 msec.

Algorand Specs mentions that block propagation time is between
4..17 sec, see Parameters - Algorand Specifications

As for the “channel” scheme, this lowers the txn cost/payment so radically,
that it can be ignored beside the facilitator cost. Algorand is still
having advantages: instant finality and max tps.

Finality time allegedly will be better on Solana than on Algorand, after
the Alpenglow upgrade. Tps is great, but now the daily number of x402 payments
is between 150_000..300_000. So Solana alone can serve these easily.

By the way, Solana introduced x402 in late 2025, and through its hackathon,
has successfully built momentum and awareness. It is a great challenge for
Algorand to find its place in this nascent x402 ecosystem, especially
that Solana’s market cap is 49,5 B USD, and Algorand’s market cap is only
788 M USD. An elephant and a mouse, a Goliath and David…

But as we know from the Bible, David wins not by size, but with the right weapon.
Algorand’s weapon is its superior technology - instant finality, fork-free
security, and now, with x402, a possible place in the AI payment protocol.
The question is whether Algorand can use its current technical edge before
this window of opportunity closes.

1 Like