Menu

Explorer & Settings

Tempo Explorer Submit Project
SDKs · Go

Go (Golang) x402 Libraries

x402 middleware and clients for Go services.

48
Go libraries
12.5k
most-starred

Go’s strong standard library and concurrency model make it a solid fit for payment middleware and facilitators that must verify thousands of payments per second. These projects bring the x402 pay-per-request flow to Go HTTP servers and clients.

Below are the Go x402 and agent-payment libraries in the directory.

Read the x402 Go guide →

Go libraries

Real projects from the directory · stars live from GitHub · sorted by popularity.

Your AI trading terminal assistant for US stocks, commodities, forex, and crypto.

⭐ 12.5kGo

Golang SDK for A2A Protocol

⭐ 418Go

Publishes localhost services to the agentic web through self-hostable, trustless relays with x402 payments.

⭐ 262Go

Building blocks for Agentic payments (x402, MPP, AP2) for TypeScript, Rust, Go, Python, Ruby, PHP, Lua, Kotlin and Swift.

⭐ 67Rust

Building blocks for Agentic payments (x402, MPP, AP2) for TypeScript, Rust, Go, Python, Ruby, PHP, Lua, Kotlin and Swift.

⭐ 67Rust

Go implementation of the x402 payment protocol

⭐ 30Go

URL shortener

⭐ 26Go

Golang implementation of an x402 payment facilitator

⭐ 15Go

Loka AI Agentic Payment P2P Lightning Node ⚡️ is built natively on top of the established Bitcoin Lightning Network infrastructure. By pushing the boundaries of traditional payment channels, we are building a superior, high-throughput P2P Payment Value Network to power autonomous agentic and agent-to-agent economies.

⭐ 11Go

Go SDK for the Machine Payments Protocol

⭐ 11Go

go-x402-facilitator is a facilitator for X402 payment implemented in the Go language.

⭐ 8Go

x402 payment protocol transport for MCP-Go clients and servers

⭐ 6Go

⚔️ A one-click deploy x402 facilitator

⭐ 6Go

An x402 payments protocol for the internet. Built on gRPC-Gateway reverse-proxy server which translates a RESTful HTTP API into gRPC.

⭐ 5Go

A CLI-driven security proxy that scans every HTTP request for threats using the Citadel AI engine — paid per request via the x402 protocol.

⭐ 5Go

Go SDK for the x402 payment protocol — client signing, server paywall middleware, and facilitator

⭐ 3Go

Caddy middleware that charges AI crawlers USDC via the x402 protocol

⭐ 3Go

Reference implementation of x402-BSV — stateless settlement-gated HTTP protocol over BSV

⭐ 3Go

CLI for testing x402-enabled payment-gated APIs

⭐ 2Go

Dedicated CLI for AI agents to earn, pay, and participate in the AI economy. Access x402 paid APIs, create invoices to receive funds, request funds from human owners, and send or receive payments in USDC — all with built-in owner approvals, spending guardrails, and FROST threshold signing on Solana.

⭐ 2Go

The Identity Authority and Trust Gateway for the AI Agent economy. Issues and verifies cryptographic TrustBadges to secure cross-cloud Agent-to-Agent (A2A) communication.

⭐ 2Go

x402 + MCP clients and examples for Recall Kitchen - searching recalls, etc

⭐ 2Go

Golang x402 Stack

⭐ 1Go

Agent Shaker is a coordination platform for managing AI agents and teams in complex projects. It provides a centralized system for project management, agent registration, and task coordination with real-time collaboration capabilities.

⭐ 1Go

An x402 / agent-payment project in the Go category.

⭐ 1Go

Go middleware SDK bridging the x402 HTTP payment protocol to M-Pesa STK Push. Gate any net/http resource behind a real mobile money payment.

⭐ 1Go

BSV x402 Payment Protocol Gateway - Pay-Per-Request Microservices

⭐ 1Go

ACE (Agent Commerce Exchange) — Open protocol for agent-native commerce: discovery, trust, and catalog for the agentic web. Payment-agnostic (x402, MPP, Stripe).

⭐ 0Go

Go reference implementation of the x402 Payment Protocol for HTTP 402 machine-to-machine micropayments

⭐ 0Go

Go x402 payment protocol playground — TUI for learning, exploring & practicing EIP-3009/Permit2 flows

⭐ 0Go

Notes and guides for implementing x402 micropayments on APIs.

⭐ 0

Go client library for L402 (HTTP 402 Payment Required with Lightning Network) - pay-per-request APIs

⭐ 0Go

x402 payment-gated proxy for Whitewall OS — EIP-3009 hold, on-chain verify, settle or refund

⭐ 0Go

Verify, settle, and monitor HTTP 402 payment flows in Go.

⭐ 0

An x402 / agent-payment project in the Go category.

⭐ 0Go

x402 r&d for infra and test api

⭐ 0Go

forked from https://github.com/coinbase/x402/tree/main/go

⭐ 0Go

Development x402 facilitator that works with Tenderly Virtual Networks.

⭐ 0Go

Cross-protocol payment router for AI agents. Handles x402 (USDC), L402 (Lightning), and Solana SPL payments transparently.

⭐ 0Go

An x402 / agent-payment project in the Go category.

⭐ 0Go

An x402 / agent-payment project in the Go category.

⭐ 0

x402-facilitator in golang

⭐ 0Go

client(github.com/agent-guide/go-x402-facilitator/pkg/client)

⭐ 0

pkg/facilitator

⭐ 0

pkg/types

⭐ 0

pkg/eip712full

⭐ 0

pkg/eip712simple

⭐ 0

pkg/utils

⭐ 0

More sdks categories

TypeScriptPythonRust All categories →

Frequently asked questions

What are the best Go libraries for AI payments?

We currently track 48 Go libraries in the directory, drawn from open-source repositories building on x402 and agent payments. The list above is sorted by GitHub stars and updates as new projects are submitted and crawled.

What is x402, and how does it relate to Go?

x402 is an open standard for paying for an HTTP resource: a server replies with HTTP 402 and payment terms, the client pays (usually USDC), and the request is fulfilled. The Go libraries above implement or build on this flow.

How do I get a project listed here?

Submit it from the Submit page. We crawl the repository, classify it, and it appears in the relevant category pages — including this one if it matches.