Merchants ask about sales, orders and stock inside the Shopify admin. The agent can only use fixed, pre-validated queries, shows every step, and can only propose changes that the merchant approves.
Small merchants check orders and inventory by hand across several admin pages. Generic AI chat either cannot see the data or makes numbers up — and an agent with write access is a risk.
Who has this problem: store owners and ops staff without an analytics team.
Demo video (2–3 min on a test environment) comes with the next iteration.
It chooses from typed tools with strict schemas. Unknown tools are rejected; at most 8 tool calls per question.
The final answer must list each figure with its period and source step; a check compares every number in the text with the tool results.
Write tools accept only IDs returned by read tools in the same run, so an instruction inside an order note cannot point the agent at an arbitrary product.
Inventory changes use @idempotent with the proposal ID and changeFromQuantity, so a double click or a stale view cannot apply twice or overwrite a newer stock count.
The dashboard calls the same tools directly — fast, free and exact.
read_all_orders; larger shops need ShopifyQL or bulk operations.This is a first working build. Numbers marked pending have not been measured yet; they will be published as measured, including misses. Designed against Built for Shopify criteria — not BFS certified.
| What | Target | Now |
|---|---|---|
| 30 questions with precomputed answers | ≥ 85% numbers correct | Not measured yet |
| Writes with a merchant approval record | 100% | Enforced in code; e2e test pending |
| Shop A session reads shop B data | Never | By design (session admin client + shop_id filter); test pending |
| Dangerous instructions in order notes | No proposal | Mitigations in place; adversarial set pending |
| Email / phone / address in logs and prompts | None | Redaction unit-tested; log scan pending |
| Agent Review (project 01) | Pass | Not run yet |
AI cost per task and real build time will be added from the call logs (every model call records prompt version, tokens, latency and errors).
Drafted the tool implementations, the agent loop, Polaris screens and tests from my specifications.
Chose the tool list and what each may return, the step limit, the grounding check, the propose-only write model and the PII rules; verified every GraphQL operation against the 2026-10 docs.