agentpay
bởi kar69-96
Web & Frontend DevelopmentTóm tắt
Buy things from real websites on behalf of your human.
Mô tả
Kỹ năng này làm gì
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.
Khi nào nên dùng
- 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
Quy trình ví dụ
User asks: 'Order me a Logitech K380 keyboard from Amazon'
- 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
Notifies the user that a purchase has been proposed and is awaiting approval
- 3
User runs
npx agentpay approve <txId>to cryptographically authorize the transaction - 4
Headless browser completes checkout, injecting credentials from the encrypted vault without exposing them to the agent
- 5
Agent runs
npx agentpay statusto confirm the transaction completed
Purchase confirmed. Logitech K380 ordered for $39.99 from Amazon.
Yêu cầu
- AgentPay account or vault setup via `npx agentpay setup` (requires entering card details and setting a passphrase)
Cài đặt
clawhub install kar69-96/agentpayChạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.