ce-ai
Installation
SKILL.md
LLM Docs Header: All requests to
https://llm-docs.commercengine.iomust include theAccept: text/markdownheader (or append.mdto the URL path). Without it, responses return HTML instead of parseable markdown.
Commerce Engine Agent Tools (WebMCP)
@commercengine/ai publishes your storefront's capabilities to a browser AI agent through WebMCP. The agent searches the catalog, resolves variants, edits the shopper's real cart, and navigates the site — through the SDK, not by clicking DOM elements.
npm install @commercengine/ai
Peer: @commercengine/storefront. Optional: @commercengine/checkout (>= 0.3.0) for cart-drawer and checkout tools.
Impact Levels
- CRITICAL — tools that never register, unbounded mutations, cross-origin navigation
- HIGH — capability gating, retry semantics, session ownership
- MEDIUM — diagnostics, timing, agent ergonomics