Shopi Pulse
Shopify store optimization platform embedded directly in the Shopify admin: an AI agent reads live store data through the Admin API, reasons over multi-step tool calls, and executes changes (pricing, inventory, product content) behind tier-gated human-in-the-loop approvals. No login screen — the store itself is the identity.
// Context
Shopify merchants sit on data they don't act on — pricing gaps, thin product descriptions, stale inventory. Shopi Pulse connects to a store via the Shopify Admin API and gives an AI agent a tool belt to inspect that data and propose concrete edits, instead of another static analytics dashboard.
// What I Built
// Architecture
// Key Engineering Decisions
// War Story
A production conversation looked frozen mid-task: the agent correctly diagnosed a conversion-optimization request, then went silent — no streaming, no tool calls, no error. Root cause turned out to be layered: SSE responses were buffered by the proxy chain (fixed with anti-buffering headers), and separately the tool-use loop could hit a turn with no tool call and no content, which the code was treating as a normal completion. Fixing both surfaced a further issue — a free-tier model truncating a response mid-table at 528 characters, invisible without knowing which model produced it. Model tracking closed that loop: every assistant message now carries the model that wrote it, so future failures are diagnosable from the chat itself.

[01/04] — Store Analytics — Product performance, inventory pricing gaps, and action recommendations