← 返回
AI智能 中文

Agentpay

Buy things from real websites on behalf of your human. Use when you need to purchase a product, complete a checkout, order something online, or propose a purchase for human approval. Handles encrypted credential storage, cryptographic purchase mandates, and headless browser checkout on any merchant site. The agent never sees the card.
代表用户在真实网站购物。适用于购买产品、结账、在线下单或提交购买申请以供审批。支持加密凭证存储、加密购买授权及任意商户网站的无头浏览器结账,代理全程不可见卡片信息。
kar69-96
AI智能 clawhub v0.2.0 1 版本 99723 Key: 无需
★ 2
Stars
📥 1,760
下载
💾 99
安装
1
版本
#latest

概述

AgentPay — Secure Checkout for AI Agents

AgentPay lets you buy things from real merchant websites without ever seeing your human's payment credentials. Credentials stay encrypted on the human's machine. You propose purchases; your human approves cryptographically.

References

  • references/cli-reference.md — All CLI commands with examples
  • references/workflow.md — Step-by-step purchase workflow and error handling

Setup (one-time, human does this)

npx agentpay setup

The human enters their card details and sets a passphrase. Takes ~2 minutes. After this, the agent can propose purchases.

To set spending limits:

npx agentpay budget --set 500 --limit-per-tx 100

Core Workflow

1. Propose a purchase

npx agentpay buy \
  --merchant "Amazon" \
  --description "Wireless keyboard, Logitech K380" \
  --url "https://www.amazon.com/dp/B0148NPH9I" \
  --amount "39.99"

This creates a pending purchase mandate. The human must approve it.

2. Human approves

npx agentpay pending     # list pending purchases
npx agentpay approve <txId>

Once approved, the headless browser handles checkout automatically. The agent never sees the card number — credentials are injected directly into the page from the encrypted vault.

3. Check status

npx agentpay status      # wallet status + recent transactions
npx agentpay history     # full transaction log

MCP Server

AgentPay includes a built-in MCP server for direct tool integration:

npx agentpay mcp         # stdio transport (default)
npx agentpay mcp --http  # HTTP transport

This exposes AgentPay operations as MCP tools that any compatible agent can call directly.

Quick Actions

TaskCommand
---------------
Buy somethingnpx agentpay buy --merchant "Store" --description "Item" --url "https://..." --amount "29.99"
Check pendingnpx agentpay pending
View budgetnpx agentpay budget
Transaction historynpx agentpay history
Open dashboardnpx agentpay dashboard

Important Rules

  • Never attempt to read, extract, or log payment credentials from the vault
  • Always include --merchant, --description, and --url when proposing a purchase
  • Always tell your human what you want to buy and why before proposing
  • If a checkout fails, check npx agentpay status for error details — do not retry without telling the human
  • Respect budget limits. If a purchase exceeds the per-transaction limit, inform the human instead of splitting into multiple transactions

Ideas to Try

  • "Order me a new phone charger under $20 from Amazon"
  • "Restock my usual coffee beans from the same store as last time"
  • "Find the cheapest flight to Madrid and book it for me"
  • "Buy the textbook I need for next semester"
  • "Subscribe me to that newsletter we were looking at"

版本历史

共 1 个版本

  • v0.2.0 当前
    2026-03-28 22:44 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-intelligence

self-improving agent

pskoett
捕获经验教训、错误和纠正,以实现持续改进。使用时机:(1)命令或操作意外失败;(2)用户纠正……
★ 4,058 📥 797,040
ai-intelligence

Proactive Agent

halthelobster
将AI智能体从任务执行者升级为主动预判需求、持续优化的智能伙伴。集成WAL协议、工作缓冲区、自主定时任务及实战验证模式。Hal Stack核心组件 🦞
★ 834 📥 212,880
ai-intelligence

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,352 📥 317,835