AP2 reference code · Open Source
Reference SDK and scenarios for agent payment authorization.
Documentation reviewed; not hands-on tested. Published evidence does not guarantee outcomes.
Uses and conditions
- Primary task
- Agent authorization & execution
- Runtime
- Python 3.11+/uv;另有 Go/Android 示例
- Inputs and outputs
- 购物/支付 mandate 与身份材料 → 可验证授权示例
- Deployment
- 本地参考实现/示例服务
- External dependencies / costs
- 示例使用 Google API key 或 Vertex AI;真实支付须接入支付服务与授权体系
- Paid API required
- true
- Account required
- true
- Supported scope
- agent 支付授权协议的参考 SDK 与场景示例。
- Strengths
- 适合支付与电商工程师研究可验证同意及收据
- Limitations
- 参考示例不等于可直接处理生产支付;协议不替代目录与结账业务
- License
- Apache-2.0
- License scope
- repository_core; dependencies and separately licensed editions require separate review
- License revision checked
- e1ea56db72a6385bce3e5c1112b3a56ce60acb43
- Additional terms
- Unknown / not researched
Repository and installation documentation
Source repository · Documentation按 README 配置 Python 3.11+、uv 和示例凭证;选择具体 scenario 阅读运行说明
Instructions are supplied for reference and have not been executed. Stars and downloads do not measure quality, security or users.
Independent observations
- github_stars
- 3225 · exact_api_integer · 2026-10-13T15:49:05.297691+00:00
—
GitHub repository stargazers_count; observation snapshot · 仓库关注/分支指标,不证明质量、安全、实际效果或使用人数。
Observation source - github_forks
- 510 · exact_api_integer · 2026-10-13T15:49:05.297691+00:00
—
GitHub repository forks_count; observation snapshot · 仓库关注/分支指标,不证明质量、安全、实际效果或使用人数。
Observation source - github_archived
- false · boolean · 2026-10-13T15:49:05.297691+00:00
—
GitHub repository archived; observation snapshot · 仓库关注/分支指标,不证明质量、安全、实际效果或使用人数。
Observation source
Domain-specific research
AAO
Reference SDK and scenarios for agent payment authorization.
Verified: 2026-10-13 · Snapshot: 527dc78a-acdc-4076-8144-45d4dbd4cec6
Research cutoff: 2026-10-13
Sources
Related directories
Published: 2026-10-13T19:19:25.755Z · release_id: 4a188c28-bf2e-4b26-8035-6b5857bd0b9b