Features · AI

Model calls on a budget, agents on read-only keys

GoCommerce calls a model in one place, the AI gateway, which records every call, holds each store to its AI credit or to its own key and cap, and sends only the data its owner lets out. Four tools in the panel run through it: products drafted from a batch of photos, a better listing for a product already in the catalogue, a summary of a product’s reviews, and a summary of the ads report. An AI agent gets a key of its own that only reads, and reaches the store through the MCP server. A store hosted on admin.kitcommerce.store has the gateway and the four tools on the platform’s own Claude key, with a free trial of AI credit; MCP is a module you install when you run GoCommerce yourself.

AI tools in the panel

Buttons a person presses on the store’s own products and reviews. Each is a task on the AI gateway below, so it is recorded, paid from the store’s AI credit or held to its own cap, and sent only the data the owner lets out.

The AI gateway

ext/ai-gateway, installed with -ai-gateway or in your own main(), and brought in by -photo-products, -catalog-ai and -ads. With an Anthropic key for the install in ANTHROPIC_API_KEY, every store has AI with nothing to set up. Without one, it stays idle until a store gives it a key, a monthly cap and a price for each model.

The approval queue

Where something an agent proposes waits for a person. It is part of the AI gateway.

Agent keys

A kind of API key made for an AI agent, on Settings › API keys. Integration keys work as before.

MCP

Not in GoCommerce yet

GoCommerce’s AI-Native B2B specification, in the repository under docs/ai-b2b, describes more than the code does. None of the following is built.

FAQ

Questions about AI

Does a store need its own AI key?

Not on an install that has an Anthropic key of its own in ANTHROPIC_API_KEY: every store with no key runs on it, paid from its AI credit. A store may enter its own Anthropic or OpenAI key instead and is billed by that provider. Without an install key, a store needs its own key, a monthly cap and a price for each model before the gateway makes a call.

What does the AI cost a store?

On the install’s key it is pay-per-use, paid from the store’s AI credit, and each store starts with a free trial allowance. Only a model call draws credit: a cached answer, an answer worked out without a model and every feature that is not AI draw none. A store on its own key pays its provider and draws no credit.

Can an AI agent change my store?

Not with an agent key: it only reads. An agent handed a person’s credential or the admin token can use MCP’s 10 tools that change things, each checked against that credential’s rights and audited. The approval queue, which would let an agent propose a change for a person to approve, has no actions yet.

What customer data does a model see?

Only what the store’s owner allows. The catalogue and order lines may leave by default, and documents too when the install runs AI on its own key; contact details and message bodies stay in until switched on. Review summaries need message bodies on and never send a shopper’s name or email. An agent key sees emails and phone numbers masked whatever the switches say.

What uses the AI gateway today?

Create from photos and Improve with AI on the products screens, Summarize reviews on the Reviews screen, the ads report’s summary, and the Amazon importer’s rewrite of a listing’s copy. Nothing else in the repository calls a model.

How do I run the AI tools?

On a store hosted on admin.kitcommerce.store they are already on, with no key to set up, and every new store gets a free trial of AI credit. Or run GoCommerce yourself and start it with -photo-products, -catalog-ai and -ads, which bring -ai-gateway with them, and -reviews for review summaries. Give the engine an Anthropic key in ANTHROPIC_API_KEY and every store runs on it; without one, each store sets its own key, cap and prices. For MCP, install ext/mcp in your own main().

Read the code behind every tile

Each file named on this page is in the GoCommerce repository, MIT licensed. Run it and check.

Chat on WhatsApp