v2.0 — AI Sales Agent, MCP & Open-Source SDKs
The Complete

E-commerce

Developer Platform

Ecommaps is a unified commerce ecosystem — APIs, SDKs, AI-powered sales agents, logistics integrations, and storefront builder — designed for developers building modern online stores and for merchants who want to manage everything from one platform.


Quick Install
npm install @ecommaps/client @ecommaps/storefront-kit @ecommaps/ai-sales-agent

Explore the Docs


Package Ecosystem

📦

All packages are published on npm under the @ecommaps scope and follow strict semver.

PackageLayerRuntimeDescription
@ecommaps/client (opens in a new tab)API TransportNode / Edge / BrowserTyped HTTP client for the Storefront API
@ecommaps/storefront-kit (opens in a new tab)Business LogicNode / EdgeVariant resolution, normalizers, promotion classification
@ecommaps/ai-sales-agent (opens in a new tab)AI RuntimeNode + ReactSales agent server factories + React chat UI
@ecommaps/mcp (opens in a new tab)Tool BridgeNode CLIMCP protocol bridge for editor/AI integrations

Architecture at a Glance

┌──────────────────────────────────────────────────┐
│         Your Storefront / Agent App               │
├──────────────────────────────────────────────────┤
│   @ecommaps/ai-sales-agent                       │  ← AI runtime + React UI
│   (server tools + ChatPanel component)           │
├──────────────────────────────────────────────────┤
│   @ecommaps/storefront-kit                       │  ← Pure commerce logic
│   (resolveVariant, normalizeProduct, classify)   │
├──────────────────────────────────────────────────┤
│   @ecommaps/client                               │  ← API transport
│   (EcommapsClient → typed HTTP + error handling) │
├──────────────────────────────────────────────────┤
│   Ecommaps Storefront API                        │  ← FastAPI backend
│   POST /api/v1/storefront/*   (x-api-key auth)  │
└──────────────────────────────────────────────────┘

Quick Example

import { EcommapsClient } from '@ecommaps/client'
 
const client = new EcommapsClient({
  apiUrl: process.env.NEXT_PUBLIC_ECOMMAPS_API_URL!,
  apiKey: process.env.ECOMMAPS_API_KEY!,
})
 
// Fetch all products
const { products } = await client.products.list()
 
// Create a cart and add items
const cart = await client.cart.create()
await client.cart.addItem(cart.id, {
  product_id: products[0].id,
  quantity: 1,
})

Documentation Standards

📋 Contract-First

Every endpoint doc is aligned with backend route decorators and Pydantic schemas — no stale examples.

🚀 Production-Oriented

Auth models, payload contracts, error codes, and rate limits — documented per endpoint.

🔗 Ecosystem-Aware

SDK pages include compatibility matrices, package boundaries, and runtime requirements.

🤖 AI-Ready

Dedicated AI development track with tool contracts, prompt strategies, and MCP integrations.