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

# Stella

> Agentic-ready commerce backend for headless storefronts.

Stella is a multi-tenant commerce backend you can build any storefront on
top of. Every API surface is shared across three caller types — your own
storefront, your logged-in customers, and AI agents acting on their
behalf — so you build the buying flow once and the agentic flow comes
along for free.

## What ships today

<CardGroup cols={2}>
  <Card title="Storefront API" icon="store" href="/api-reference">
    Catalog, cart, checkout, search, discounts. Public per-merchant
    endpoints under `/api/storefront/*`.
  </Card>

  <Card title="Customer Account API" icon="user" href="/auth/customer-token">
    Register, log in, manage addresses and order history. Per-customer
    `cust_…` tokens.
  </Card>

  <Card title="Stella-hosted Checkout" icon="credit-card">
    Stripe-powered checkout SPA. Per-merchant theme. Stella stays in
    PCI scope so merchants don't have to.
  </Card>

  <Card title="Agent Capability Tokens" icon="robot" href="/auth/agent-token">
    OAuth Device Authorization (RFC 8628) consent flow. Scoped,
    budget-capped, audit-logged. The differentiator.
  </Card>
</CardGroup>

## Three-tier token model

The thing Shopify doesn't have: every merchant gets agent traffic for
free because `/api/agent/*` is just a different token type on the same
backend.

```
MERCHANT          →  Storefront Access Token (stk_…)
                     header: X-Stella-Token

CUSTOMER (login)  →  Customer Access Token (cust_…)
                     header: Authorization: Bearer cust_…

CUSTOMER delegates →  Agent Capability Token (agt_…)
TO AGENT             header: Authorization: Bearer agt_…
                     scoped, budget-capped, audit-logged
```

See the [authentication overview](/auth/overview) for the full model.

## Get started

<CardGroup cols={2}>
  <Card title="5-minute quickstart" icon="rocket" href="/quickstart">
    Mint a token, list products, create a cart, redirect to checkout.
  </Card>

  <Card title="API reference" icon="code" href="/api-reference">
    Full surface: 130+ endpoints across Storefront, Customer, Agent,
    and Dashboard APIs.
  </Card>
</CardGroup>
