> ## 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 Documentation

> Commerce that runs itself — the infrastructure layer for AI commerce. Start here.

# Commerce that runs itself

AI agents can reason and write. They **can't transact**. They're trapped in a world built for
humans with credit cards and web browsers — every order, refund, and inventory check goes through
an API designed for a person clicking a button.

StateSet is the infrastructure layer that fixes that. We build the **engine** agents run on and
the **rails** they transact over, so an agent can buy, sell, and operate on its own.

<CardGroup cols={2}>
  <Card title="I'm building an agent" icon="code" href="/stateset-icommerce/stateset-icommerce-quickstart">
    Embed a full commerce engine in your runtime. Orders, inventory, payments, returns — local,
    typed, and agent-callable.
  </Card>

  <Card title="I'm running operations" icon="building" href="/stateset-response/responsecx-platform">
    Deploy agents that resolve customer work end to end. Priced per outcome, not per seat.
  </Card>
</CardGroup>

## What we built

| Layer                                                        | What it is                                          | Why it's unusual                                                          |
| ------------------------------------------------------------ | --------------------------------------------------- | ------------------------------------------------------------------------- |
| **[iCommerce](/icommerce)**                                  | An embedded commerce engine — "SQLite for commerce" | You don't call it over a network. It runs **inside** your agent's process |
| **[ResponseCX](/stateset-response/responsecx-platform)**     | AI agents that resolve customer work                | They act, not just answer — and you pay per resolved outcome              |
| **[NSR](/stateset-nsr)**                                     | Neuro-symbolic decision engine                      | Returns a machine-checkable **proof**, not a confidence score             |
| **[ACP](/stateset-acp/stateset-acp) / [ICP](/stateset-icp)** | Agent commerce protocols                            | "HTTP for money" — signed mandates, offline-verifiable receipts           |
| **[Computer Use](/computer-use-agent)**                      | Agents operating software UIs                       | Automates legacy tools that have no API at all                            |

Plus the operational spine commerce actually needs:
**[EDI](/stateset-edi/overview)** for trading partners,
**[Voice](/stateset-voice/overview)** for phone,
**[Mail](/stateset-mail/overview)** for email,
**[Sync](/stateset-sync-server-api-basics)** across 180+ platforms, and a
**[Temporal engine](/next-temporal/overview)** that makes every automated action durable and
replayable.

## Why it's different

**We're an engine you embed, not an API you call.** Stripe and Shopify hand you endpoints over
the network. iCommerce compiles into your runtime — zero network latency, offline-capable,
type-safe, with the full order and inventory state machine local to the agent.

**Our agents act, they don't suggest.** Copilots draft a reply for a human to send. StateSet
resolves the ticket and closes it. That's what makes per-outcome pricing possible instead of
per-seat.

**Adaptive, not brittle.** RPA breaks when a button moves. Our agents use vision and reasoning to
adapt the way a person would.

**Consequential decisions come with proofs.** Most AI platforms skip this. When an agent issues a
refund or grants access, [NSR](/stateset-nsr-decisions) returns `approved`, `denied`, or
`refused` with the **cited rules** behind it. An approval only executes when its proof is
grounded; if the policy engine is unreachable, the action escalates to a human rather than
proceeding. A confidence number is not an authorization.

<Card title="The full case — differentiation, value, and the hard questions" icon="scale-balanced" href="/why-stateset">
  How we compare to Stripe, RPA, and copilots, what it costs, and honest answers on trust,
  lock-in, and where AI still gets things wrong.
</Card>

## Start building

The engine is open source, dual-licensed **MIT OR Apache-2.0**. Inspect it, fork it, run it
anywhere.

```bash theme={null}
npm install -g @stateset/cli
stateset --version
```

Or embed the engine directly:

```bash theme={null}
npm install @stateset/embedded
```

Give an agent the whole surface — **719 MCP tools across 63 domains**:

```bash theme={null}
curl -s https://docs.stateset.com/stateset-icommerce-skill.md \
  > ~/.claude/skills/stateset-icommerce/SKILL.md
```

<CardGroup cols={3}>
  <Card title="iCommerce Quickstart" icon="rocket" href="/stateset-icommerce/stateset-icommerce-quickstart">
    Run the embedded engine.
  </Card>

  <Card title="MCP Servers" icon="plug" href="/mcp-servers">
    Connect any service to Claude.
  </Card>

  <Card title="API Reference" icon="code" href="/api-reference/overview">
    Every endpoint.
  </Card>
</CardGroup>

## Explore by product

<CardGroup cols={3}>
  <Card title="iCommerce" icon="bolt" href="/icommerce">
    The embedded commerce engine — 11 language bindings.
  </Card>

  <Card title="ResponseCX" icon="headset" href="/stateset-response/responsecx-platform">
    Outcome-priced AI agents for CX and commerce ops.
  </Card>

  <Card title="Temporal Engine" icon="diagram-project" href="/next-temporal/overview">
    Durable, replayable automation in Rust.
  </Card>

  <Card title="NSR" icon="brain" href="/stateset-nsr">
    Verified decisions with cited proofs.
  </Card>

  <Card title="Voice" icon="phone" href="/stateset-voice/overview">
    AI voice agents over Twilio and OpenAI Realtime.
  </Card>

  <Card title="EDI" icon="file-import" href="/stateset-edi/overview">
    X12 and EDIFACT for trading partners.
  </Card>

  <Card title="Sandbox" icon="flask" href="/stateset-sandbox/stateset-sandboxes">
    Isolated execution environments for agents.
  </Card>

  <Card title="Sequencer" icon="layer-group" href="/stateset-sequencer/stateset-sequencer">
    Verifiable event sequencing.
  </Card>

  <Card title="Set L2" icon="cube" href="/set/set">
    On-chain anchoring of commitments and proofs.
  </Card>
</CardGroup>
