> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stateset.com/llms.txt
> Use this file to discover all available pages before exploring further.

# StateSet iCommerce Agent

> Agent patterns for operating the iCommerce engine safely.

# StateSet iCommerce Agent

The iCommerce agent pattern combines the embedded engine, MCP tools, and the CLI safety model so autonomous workflows stay deterministic and auditable.

## Core Capabilities

* Order lookup, fulfillment, and refunds
* Inventory checks and adjustments
* Returns and warranty workflows
* Deterministic write actions with explicit confirmation

## Safety Model

* Read-only by default
* Writes require explicit intent (`--apply`)
* Guardrails and confirmations for sensitive actions

## How Agents Operate

1. Gather context (orders, inventory, customer history)
2. Propose a plan or action
3. Execute with explicit write intent
4. Log and report outcomes

## Related Documentation

* [CLI Safety Model](/stateset-icommerce-cli-safety)
* [CLI Workflows](/stateset-icommerce-cli-workflows)
* [iCommerce Scenarios](/stateset-icommerce-scenarios)
