AP2
An open protocol for secure AI-driven payments.
A payments protocol for the internet — built on plain HTTP.
x402 is an open-source ai agents project by x402-foundation (x402-foundation/x402 on GitHub). It has 6,688 GitHub stars and 2,144 forks, is released under the Apache-2.0 license, and was last updated on GitHub on 7 October 2026.
Decide what you want the project to do before installing anything.
Grab the source and skim the README for setup requirements.
Install dependencies and add any API keys or settings it needs.
Launch it and follow the example workflow from the docs.
Built on the web's own protocol.
Designed for software paying software.
Pay without signing up anywhere.
A public standard, foundation-governed.
Made for agents that transact.
Neutral stewardship via x402 Foundation.
Download the source and move into the project folder.
git clone https://github.com/x402-foundation/x402.git
cd x402Pull in the Node packages the project needs.
npm installStart it with the project's documented command (often a dev server).
npm run dev # check README for the exact scriptIt is an open-source project at x402-foundation/x402 with 2144 forks. Check the contributors tab and recent commits to judge how active maintenance is.
Yes — Apache 2.0 allows commercial use and modification. Keep the license and notice files, and note it includes a patent grant.
Services return HTTP 402 Payment Required; clients pay programmatically over the protocol's rails — read the spec for the flow.
The protocol is asset-agnostic by design; check the docs for current settlement options.
Clone the repo and follow the README quickstart — the docs at https://x402.org walk through setup.
An open protocol for secure AI-driven payments.
Open-source search infrastructure built for AI workloads.
The open protocol that lets AI agents talk to each other.
The official Python SDK for Model Context Protocol servers and clients.
Infisical's credential vault and HTTP proxy, so AI agents call APIs without ever holding your real secrets.
Tradememory-protocol — decision audit trail + persistent memory for ai trading, open-so...
The most-starred other AI Agents projects in the LibreAI catalogue — the realistic shortlist if x402 is not the right fit.
A personal AI that really does things — on any OS, with your data staying yours.
An agentic skills framework & software development methodology that works.
Agent harness optimization system with skills, memory and security for Claude Code, Codex and more
The agent that grows with you — a Python framework for adaptive AI agents.
DeepSeek's plugin-based agent harness where everything is a plugin.
Free and open — grab the source, star the repo, and start creating.