跳到正文
TakoAPI
返回技能列表

agentpay

由 kar69-96 提供

Web & Frontend Development
917下载量由 clawskills.sh 提供
2星标
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Buy things from real websites on behalf of your human.

描述

该技能的功能

AgentPay enables AI agents to propose and complete purchases on real merchant websites without ever accessing payment credentials. The human stores card details in an encrypted local vault and cryptographically approves each transaction. A headless browser handles checkout automatically after approval.

Unlike giving an agent direct card access or using a shared credential, AgentPay keeps payment details fully encrypted on the user's machine and requires explicit per-transaction approval before any money moves.

何时使用

  • Ordering office supplies from Amazon on behalf of a user
  • Restocking recurring purchases like coffee or household items
  • Booking flights or travel after finding the best price
  • Buying a required textbook or course material
  • Proposing a product purchase for human review before committing

示例工作流

输入

User asks: 'Order me a Logitech K380 keyboard from Amazon'

智能体
  1. 1

    Runs npx agentpay buy --merchant "Amazon" --description "Wireless keyboard, Logitech K380" --url "https://www.amazon.com/dp/B0148NPH9I" --amount "39.99" to create a pending mandate

  2. 2

    Notifies the user that a purchase has been proposed and is awaiting approval

  3. 3

    User runs npx agentpay approve <txId> to cryptographically authorize the transaction

  4. 4

    Headless browser completes checkout, injecting credentials from the encrypted vault without exposing them to the agent

  5. 5

    Agent runs npx agentpay status to confirm the transaction completed

输出

Purchase confirmed. Logitech K380 ordered for $39.99 from Amazon.

前置要求

  • AgentPay account or vault setup via `npx agentpay setup` (requires entering card details and setting a passphrase)

安装

clawhub install kar69-96/agentpay

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接