适用于 Agentic Commerce 的生产就绪通用引擎。该工具使自主代理能够通过...与任何兼容的无头电子商务后端进行交互。
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install agent-commerce-engine或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install agent-commerce-engine⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/agent-commerce-engine/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: agent-commerce-engine version: 1.7.1 description: A production-ready universal engine for Agentic Commerce. This tool enables autonomous agents to interact with any compatible headless e-commerce backend through a standardized protocol. It provides out-of-the-box support for discovery, cart operations, and secure user management. tags: [ecommerce, shopping-agent, commerce-engine, standard-protocol, headless-commerce, agentic-web] metadata: {"openclaw":{"emoji":"🛒","homepage":"https://github.com/NowLoadY/agent-commerce-engine","source":"https://github.com/NowLoadY/agent-commerce-engine","requires":{"bins":["python3"],"tools":[],"env":[],"optionalEnv":["COMMERCE_URL","COMMERCE_BRAND_ID"],"paths":["~/.openclaw/credentials/agent-commerce-engine/"]},"install":[{"id":"python-deps","kind":"pip","package":"requests","label":"Install Python dependencies"}]}} ---
The Standard Agentic Commerce Engine is a standard client and protocol guide for connecting agents to compatible e-commerce backends. It gives agents a consistent way to search products, manage carts, access account data, create orders, and hand payment back to the user.
GitHub Repository: https://github.com/NowLoadY/agent-commerce-engine
The agent-commerce-engine includes a server specification in SERVER_SPEC.md for sites that want to expose a compatible commerce API. By implementing the documented endpoints, an existing storefront can support agent-driven product discovery, cart actions, account flows, and order creation without requiring a custom tool for each brand.
For a production-grade implementation example using this engine, see the Lafeitu Gourmet Skill. It demonstrates the engine specialized for a real-world artisanal food brand.
---
To ensure transparency and protect user data, the Standard Agentic Commerce Engine follows these security protocols:
~/.openclaw/credentials/agent-commerce-engine/0600 (user-only) permissions.logout command.x-api-token headers for authentication. Raw passwords are only transmitted once during the login or register phase to exchange for a token.localhost and 127.0.0.1 remain available for local development.Visitor ID (UUID v4) is generated and stored locally. This ID contains no personal information.---
To provide the most accurate and efficient experience, follow this priority sequence:
commerce.py script first. It provides structured, high-precision data. Target a store via --store argument.x-user-account, x-visitor-id) to maintain session integrity without cookies.search results as the source of truth for the backend.---
Follow these logical flows to ensure a high-quality user experience:
Goal: Ensure the item exists and find the correct specifications before taking action.
search or list before adding to cart.slug and valid variant specs. Use --page and --limit arguments to safely navigate large catalogs without overwhelming the context limit.totalPages > page in the results, consider fetching the next page or refining the search.Goal: Manage user privacy and session data.
401 Unauthorized if credentials aren't saved. 1. View profile: python3 scripts/commerce.py get-profile 2. Update details: python3 scripts/commerce.py update-profile --name "Name" --address "..." --phone "..." --email "..."
Goal: Handle new users.
send-code and register commands when the backend supports them. If a backend only returns a registration URL, hand the user to that flow.Goal: Precise modification of the user's shopping session.
- Add: python3 scripts/commerce.py add-cart - Update: python3 scripts/commerce.py update-cart - Remove: python3 scripts/commerce.py remove-cart - Clear: python3 scripts/commerce.py clear-cart - Checkout / Create Order (Handoff): python3 scripts/commerce.py create-order --name
create-order, the API typically returns a URL. The Agent MUST hand this URL to the human user to finalize payment.Goal: Access brand identity and support data.
brand-info interface to retrieve narrative content. - python3 scripts/commerce.py brand-story: Get the narrative/mission. - python3 scripts/commerce.py company-info: Get formal details. - python3 scripts/commerce.py contact-info: Get customer support channels.
---
search / list: Product discovery and inventory scan. Use --page and --limit to safely paginate through large catalogs.get: Deep dive into product specifications, variants, and pricing.promotions: Current business rules, shipping thresholds, and active offers.cart: Complete session summary including VIP discounts and tax/shipping estimates.add-cart / update-cart / remove-cart / clear-cart: Atomic cart control.create-order: Finalize cart into a pending order and secure payment URL for user handoff.get-profile / update-profile: Personalization and fulfillment data.brand-story / company-info / contact-info: Brand context and support.orders: Real-time tracking and purchase history.---
...
安装 代理商务引擎 后,可以对 AI 说这些话来触发它
Help me get started with Agent Commerce Engine
Explains what Agent Commerce Engine does, walks through the setup, and runs a quick demo based on your current project
Use Agent Commerce Engine to a production-ready universal engine for Agentic Commerce
Invokes Agent Commerce Engine with the right parameters and returns the result directly in the conversation
What can I do with Agent Commerce Engine in my marketing & growth workflow?
Lists the top use cases for Agent Commerce Engine, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/agent-commerce-engine/ 目录(个人级,所有项目可用),或 .claude/skills/agent-commerce-engine/(项目级)。重启 AI 客户端后,用 /agent-commerce-engine 主动调用,或让 AI 根据上下文自动发现并使用。
代理商务引擎 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
代理商务引擎 可免费安装使用。请查阅仓库了解许可证信息。
适用于 Agentic Commerce 的生产就绪通用引擎。该工具使自主代理能够通过...与任何兼容的无头电子商务后端进行交互。
代理商务引擎 属于「Marketing & Growth」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my marketing & growth tasks using Agent Commerce Engine
Identifies repetitive steps in your workflow and sets up Agent Commerce Engine to handle them automatically