Skip to main content
Glama
Thebeardedambivert

Shopify AI Ops Agent

🛍️ Shopify AI 运营代理

Python 3.11+ FastAPI LangGraph License: MIT

一个基于 LangGraph v1Model Context Protocol (MCP 2026-07-28)FastAPIPostgreSQL + pgvectorRedisOpenTelemetry 以及严格的 Human-in-the-Loop (HITL) 风险治理构建的生产级自主电商运营代理。


📖 完整技术文档

有关深入架构、术语以及以 ASD-STE100(简化技术英语) 编写的架构决策记录 (ADR),请参阅: 👉 DOCUMENTATION.md

下载可视化演示 PDF: 👉 architecture_diagram.pdf (或访问 http://localhost:8000/architecture.pdf


🏗️ 核心架构不变量

  1. 执行前风险与策略门控:破坏性删除、财务预算和对外通信会触发 LangGraph 中断(interrupt),要求人工批准。

  2. 解耦的 MCP 工具层:所有业务能力均打包为 5 个无状态 MCP 工具服务器(ShopifyAnalyticsMeta AdsCommunicationsTrend Intelligence)。

  3. 确定性业务分析:财务指标使用确定性 SQL 例程计算,消除 LLM 算术幻觉。

  4. 防过早胜利传感器:代理会重新查询实时状态,以数学方式验证变更确实发生后才报告完成。

  5. 左移评估与追踪:28 个自动化 pytest 测试套件、17 个案例的黄金评估基准,以及独立的 Critic Agent 审计(得分:98.5/100,等级:A+)。


📁 仓库结构

shopify-ai-ops-agent/
├── DOCUMENTATION.md           # Full technical documentation (ASD-STE100)
├── architecture_diagram.pdf   # 2-slide landscape architecture diagram
├── docker-compose.yml         # Postgres (pgvector) + Redis + Jaeger + API
├── pyproject.toml             # Dependencies & packaging
├── app/
│   ├── api/                   # FastAPI routes (agent, approvals, health)
│   ├── agent/                 # LangGraph state machine & specialized nodes
│   ├── mcp_servers/           # 5 Stateless MCP tool servers
│   ├── core/                  # Security (HMAC-SHA256), Idempotency, Database
│   ├── rag/                   # Hybrid Vector + BM25 search & brand guidelines
│   ├── static/                # Executive SaaS Cockpit UI & Command Palette
│   └── evals/                 # Golden datasets & Critic Agent audit
└── tests/                     # 28 automated unit, safety, and integration tests

🚀 快速入门与设置

1. 本地开发

# Install dependencies
pip install -r requirements.txt

# Start the application server & dashboard
python -m uvicorn app.api.main:app --reload --port 8000
  • 仪表盘 UIhttp://localhost:8000/ (按 Ctrl + K 打开命令面板)

  • 交互式 API 文档http://localhost:8000/docs

  • 架构 PDFhttp://localhost:8000/architecture.pdf


🧪 验证与评估

# Run full automated test suite (28 tests)
python -m pytest tests/ -v

# Run independent Critic Agent technical audit
python -m app.evals.judge_agent
-
license - not tested
Not graded
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

  • Get recommended by Amazon's AI. Hosted MCP server for Amazon listing compliance & generation.

  • Hosted Amazon Seller and Vendor MCP server for Claude, ChatGPT, Cursor, Codex, Gemini, Copilot.

  • Connect e-commerce and marketing data to AI assistants via MCP.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Thebeardedambivert/shopify-ai-ops-agent'

If you have feedback or need assistance with the MCP directory API, please join our Discord server