← all repositories

google-agentic-commerce/AP2

An open payment protocol enabling AI agents to autonomously conduct secure commercial transactions.

3.1k stars Python AgentsDomain Apps
AP2
Not currently ranked — collecting fresh signals.
star history

The Agent Payments Protocol (AP2) provides a specification and SDK for AI agents to negotiate, authorize, and execute payments on behalf of users. The repository includes reference implementations in Python and Go using Google’s Agent Development Kit and Gemini models, along with a web demo client. It defines flows for agent-initiated purchases and payment authorization between agents and merchants.

Frequently asked

What is google-agentic-commerce/AP2?
An open payment protocol enabling AI agents to autonomously conduct secure commercial transactions.
Is AP2 open source?
Yes — google-agentic-commerce/AP2 is open source, released under the Apache-2.0 license.
What language is AP2 written in?
google-agentic-commerce/AP2 is primarily written in Python.
How popular is AP2?
google-agentic-commerce/AP2 has 3.1k stars on GitHub.
Where can I find AP2?
google-agentic-commerce/AP2 is on GitHub at https://github.com/google-agentic-commerce/AP2.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.