The iCommerce Engine

StateSet iCommerce Engine

One AI-native, self-improving engine that automates and orchestrates commerce operations end to end—with unmatched speed, simplicity, and measurable impact.

57
MCP Tools
6
Platforms
10
Languages
Rust
Core Engine

From ops firefighting to commerce that runs itself

Legacy SaaS, iPaaS, and BPO add handoffs without removing the work. The StateSet iCommerce Engine unifies data, agents, and durable execution so teams can hand off outcomes—not manage another layer of scripts.

Natural language commands: "ship order #123 with tracking FEDEX456"
Local-first with SQLite (no cloud dependency)
Native Rust engine for maximum performance
Same API across CLI, Node.js, Browser, and Python

Architecture

Your Application
Any platform
StateSet SDK
CLI / Node.js / WASM / Python
Rust Commerce Engine
57 MCP tools
SQLite / Memory
Local-first storage
Claude Agent SDK

Specialized AI Agents

Six specialized agents powered by Claude for different commerce domains

stateset

General commerce operations

stateset-orders

Order lifecycle management

stateset-inventory

Stock & inventory management

stateset-returns

RMA & refund processing

stateset-checkout

Cart & checkout flows

stateset-analytics

Business intelligence

Example: Processing a Return

U

"Customer wants to return order ORD-12345, the item is defective"

I'll create a return request for that order.

create_return(order_id: "ORD-12345", reason: "defective")

Created RMA-67890 with status "requested"

U

"Approve it"

Done. The return has been approved.

approve_return(id: "RMA-67890")

One Engine, Four Platforms

Same Rust core compiled for every environment you need

CLI + AI Agents

Natural language commerce operations powered by Claude

Install
npm install -g @stateset/cli
Natural language commands
Specialized agents (orders, inventory, returns, checkout, analytics)
Multi-turn conversations with --resume
Preview mode by default (safe)
SQLite persistence
Example CodeCLI + AI Agents
# Create a customer
stateset --apply "create a customer named Alice Smith with email alice@example.com"

# Create a product with inventory
stateset --apply "create a product called Premium Widget SKU WIDGET-001 at $29.99"
stateset-inventory --apply "create inventory for WIDGET-001 with 100 units"

# Process an order
stateset-orders --apply "create an order for alice@example.com with 2 widgets"
stateset-orders --apply "ship order ORD-12345 with tracking FEDEX123456"

# Handle a return
stateset-returns --apply "create return for order ORD-12345 - item defective"
stateset-returns --apply "approve the pending return"

# Get analytics
stateset-analytics "what's my total revenue this month?"

Complete Commerce API

Everything you need to build commerce applications

Customers

Customer profiles and management

Methods

create()
get()
getByEmail()
list()
count()

Fields

id
email
firstName
lastName
phone
status
acceptsMarketing

Why iCommerce Engine?

A new approach to commerce infrastructure

FeatureStateSet iCommerceTraditional APIs
Natural language commands
AI agent integration
Local-first / offline
Browser support (WASM)
Python SDKVaries
No cloud dependency
Sub-50ms response
Preview mode (safe)

Get Started in 30 Seconds

Choose your platform and start building

CLI

Install
npm install -g @stateset/cli
Use
stateset "show me all customers"

Node.js

Install
npm install @stateset/embedded
Use
import { Commerce } from "@stateset/embedded"

Browser

Install
npm install @stateset/embedded-wasm
Use
import init, { Commerce } from "@stateset/embedded-wasm"

Python

Install
pip install stateset-embedded
Use
from stateset_embedded import Commerce
10 Language Bindings

Available in Every Language

One Rust core with native bindings for Node.js, Python, Go, Java, Kotlin, Ruby, PHP, Swift, .NET, and WebAssembly

Node.js

N-API Bindings

npm i @stateset/embedded

Python

PyO3 Bindings

pip install stateset-embedded

Go

CGO Bindings

go get stateset.com/embedded

Java

JNI Bindings

com.stateset:embedded

Kotlin

JNI + Coroutines

com.stateset:embedded-kt

Ruby

rb-sys Bindings

gem install stateset_embedded

PHP

FFI Extension

composer require stateset/embedded

Swift

SPM Package

.package(url: "stateset/swift")

.NET

P/Invoke Bindings

dotnet add StateSet.Embedded

WASM

Browser Runtime

npm i @stateset/embedded-wasm

All Bindings Include

Customers, Orders, Products, Inventory APIs
Shopping Carts & Checkout
Returns & Refunds Management
Analytics & Reporting
Multi-Currency Support
SQLite Persistence (local-first)

Platform Support

Linuxx86_64, ARM64
macOSx86_64, Apple Silicon
Windowsx86_64
iOSARM64 (Swift)
AndroidARM64 (Kotlin)
BrowserWebAssembly

Ready to Build AI-Powered Commerce?

The commerce engine that speaks your language—literally.