HowDidi
HowDidi
Agent Architecture

Meet Didi, your AI
store manager

Didi isn't a chatbot. It's a multi-agent system that wakes up every morning, diagnoses your store, and prepares specific owner-approved fixes — powered by Gemini 2.0 and Fivetran MCP.

How a mission works

01Trigger

You tap "Run Didi Diagnosis" or the scheduler fires at 7am.

📡
02Data pull

Fivetran MCP fetches fresh data from Shopify, Meta, GA4, inventory, support, and reviews.

🧠
03Multi-agent analysis

7 specialized agents run in sequence, each contributing evidence to a shared context window.

04Gemini reasoning

Gemini 2.0 Flash synthesizes all evidence and returns a structured JSON diagnosis with ranked leaks.

✍️
05Action drafting

5 specific fixes are drafted — emails, ad pauses, supplier messages, copy edits, support replies.

🛡️
06Owner approval

Nothing happens until you tap Approve. Every action is risk-leveled and shows confidence %.

The agent team

🔍
StorePulseAgent
Data freshness & revenue trend
fivetran.check_sync_statusfivetran.bigquery.query
🕵️
RevenueDetectiveAgent
Per-SKU funnel analysis
fivetran.shopifyfivetran.ga4
🥷
CartNinjaAgent
Abandoned cart clustering & recovery
fivetran.shopifygemini.reasoning
📦
InventorySenseiAgent
Stockout risk by velocity + lead time
fivetran.inventory_csvfivetran.shopify
📊
CampaignStrategistAgent
ROAS analysis, ad waste detection
fivetran.meta_adsfivetran.google_ads
🎧
SupportGhostwriterAgent
Ticket theme clustering + reply drafts
fivetran.help_scoutgemini.reasoning
🛡️
ApprovalGuardAgent
Safety check + action drafting
adk.action_planneradk.approval_gate

Built with

Google Gemini 2.0 Flash
AI Core

Structured diagnosis output via responseSchema. Function calling for evidence ranking.

Fivetran MCP Server
Data Foundation

Data freshness checks, connector status, schema inspection across 8 ecommerce sources.

TanStack Start
Framework

SSR-first React framework with server functions. Zero-latency navigation, edge-compatible.

Approval Gate
Safety

Every action requires explicit owner approval. Risk-leveled (low/medium/high). Full audit log.

Fivetran MCP Integration

One trusted data layer

Didi queries all data sources through Fivetran's MCP server — providing standardized, fresh, trusted data from Shopify, Meta Ads, Google Ads, GA4, Stripe, Help Scout, inventory files, and review platforms.

fivetran.mcp list_connectors()
fivetran.mcp get_sync_status(shopify)
fivetran.bigquery SELECT * FROM orders WHERE…
fivetran.meta_ads campaign performance
fivetran.shopify abandoned_checkouts
fivetran.ga4 session + funnel events
See Didi in action

Free demo · No signup required