About Storecraft
Storecraft helps developers build headless e-commerce backends in TypeScript and JavaScript, with AI features built in. Its chat endpoint hosts an agent that can serve customers with carts and checkout, and similarity search works with popular large language models and vector stores. It is aimed at developers who want a programmable store back end they can run on serverless or conventional infrastructure.
The backend manages products, collections, orders, customers, authentication and emails through a programmable API, a REST API with generated reference documentation, and a query language called VQL for queries and similarity search. Payments are supported through PayPal, Stripe and Razorpay. It runs on Deno, Bun, Node, Cloudflare Workers, AWS Lambda and Google Cloud Functions, connects to databases such as MongoDB, libSQL, SQLite, PostgreSQL, MySQL, Neon, Turso, D1 and PlanetScale, and can store files locally or in R2, S3-compatible or Google storage.
A new app is created with a CLI command, and the generated server exposes a chat page, an official dashboard and an API reference. The architecture is modular, extensible and event based, and the repository is an npm workspace monorepo. The repository metadata lists the license as Other, so review the license file.
Key features
- Built-in AI shopping agent chat endpoint
- Similarity search with vector stores
- REST API and VQL query language
- PayPal, Stripe and Razorpay support
- Runs on Node, Deno, Bun and edge runtimes
- Many database and storage options
- Official admin dashboard
Good fit for
- →Building a custom headless storefront backend
- →Adding an AI shopping assistant to an online store
- Built with
- JavaScript
- Tags
- ecommerce
- headless
- typescript
- ai-agent
- serverless
- rest-api
- cloudflare-workers
- stripe
Storecraft: questions and answers
- What is Storecraft used for?
- Storecraft is a TypeScript headless e-commerce backend framework with a built-in AI shopping agent, REST API, dashboard and support for many databases and runtimes. It is a good fit for building a custom headless storefront backend and adding an AI shopping assistant to an online store.
- Is Storecraft open source?
- Yes. Storecraft is open source under a custom licence. Its source code is on GitHub at store-craft/storecraft and is written mainly in JavaScript.
- Is Storecraft free?
- Yes. Storecraft is open source, so the software itself is free to use under the terms of its own licence.
- Can I self-host Storecraft?
- Yes. Storecraft can be self-hosted on your own server or infrastructure.
- What is Storecraft an alternative to?
- Storecraft is an open-source alternative to commercetools, Swell, Elastic Path and Commerce Layer. Other open-source alternatives to commercetools include Sylius, Medusa and Spree Commerce.
- Is Storecraft actively maintained?
- The most recent commit to Storecraft was on 2 May 2026. The project has 860 stars on GitHub.
Open-source alternatives to Storecraft
See all
Sylius
E-commerce
Headless open-source eCommerce platform on top of PHP/Symfony/API Platform
MITvs commercetools★ 8.5k
Medusa
E-commerce
The world's most flexible commerce platform for agents and developers
OSSvs BigCommerce★ 37k
Spree Commerce
E-commerce
Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScr
BSD-3-Clausevs BigCommerce★ 16k
Vendure
E-commerce
Open-source headless commerce platform built with TypeScript, NestJS, React, and GraphQL
OSSvs commercetools★ 8.5k
AvoRed
E-commerce
AvoRed an Open Source Laravel Shopping Cart
OSSvs BigCommerce★ 1.5k
Saleor
E-commerce
Saleor Core: the high performance, composable, headless commerce API.
BSD-3-Clausevs commercetools★ 23k
SaaS alternatives to Storecraft
See all
commercetools
E-commerce
API-first headless commerce platform for enterprise retailers
SaaS
Swell
E-commerce
Headless commerce platform for subscriptions, physical and digital products
SaaS
Elastic Path
E-commerce
Composable commerce platform with APIs for catalogs, carts and orders
SaaS
Commerce Layer
E-commerce
Headless commerce API for carts, orders, pricing and inventory across markets
SaaS
Crystallize
E-commerce
Headless commerce and product information platform with a GraphQL API
SaaS
Better Store
E-commerce
AI-first headless e-commerce platform for building online stores
SaaS

