Multi-Agent Customer Support System for E-commerce
minimal · E-commerce · 2025 · source Agentic: yes · promotional bias: high · source-backed · extracted with prompt 0.5.6 (schema v2)
Generated from extraction.json — do not edit by hand. Every claim cites verbatim source evidence; stated means the quote directly asserts the claim, implied means it supports it indirectly.
Problem
Domain: E-commerce customer support
Minimal needed to automate both simple and complex e-commerce support tickets while still executing real business actions such as cancellations, refunds, and address updates.
Constraints:
- T2 and T3 support issues require deeper policy knowledge and business-system integration than simple FAQs.
- A single monolithic prompt conflated tasks and made the system harder to maintain.
- Autonomous actions such as refunds and order cancellations require auditability.
- The source is promotional and its efficiency claims are not independently verified.
Architecture
Minimal built a LangGraph and LangSmith multi-agent support system with a Planner Agent, Research Agents, and a Tool-Calling Agent. The planner decomposes customer queries into sub-problems, research agents retrieve and re-rank relevant policy knowledge from a training center, and the tool-calling agent executes business operations such as Shopify refunds or shipping-address updates before the system drafts a customer reply.
Diagram confidence: reconstructed (reconstructed from prose).
flowchart LR planner-agent["Planner Agent"] --> research-agents["Research Agents"] research-agents --> training-center-knowledge-base["Training Center Knowledge Base"] planner-agent --> tool-calling-agent["Tool Calling Agent"] tool-calling-agent --> ecommerce-integrations["Ecommerce Integrations"]
Components
| Component | Role | Interacts with |
|---|---|---|
Planner Agent |
Breaks incoming tickets into sub-problems and coordinates the workflow. | Research Agents, Tool Calling Agent |
Research Agents |
Retrieve and re-rank policy, shipping, return, and support documentation. | Training Center Knowledge Base, Planner Agent |
Training Center Knowledge Base |
Stores company documentation, return rules, shipping policies, and protocols. | Research Agents |
Tool Calling Agent |
Executes business operations and consolidates logs for post-processing. | Planner Agent, Ecommerce Integrations |
Ecommerce Integrations |
Helpdesk and commerce systems such as Zendesk, Front, Gorgias, and Shopify. | — |
Data flow
A customer ticket enters the Planner Agent, which splits it into support sub-problems. Research Agents retrieve policy and documentation context for each sub-problem, the Planner consolidates a tool plan, the Tool-Calling Agent executes approved business actions, and the final response references the right protocols and data.
Why this architecture
Minimal used multiple agents because support tickets combine planning, retrieval, and tool execution. Splitting those responsibilities reduced prompt complexity, made each agent easier to extend, and avoided a single prompt trying to answer, retrieve, and act at once.
Models used: unspecified LLMs through LangGraph
Scale
- Minimal reports 80%+ efficiency gains.“The company reports 80%+ efficiency gains and expects 90% of tickets to be handled autonomously with only 10% escalated to humans”summary, stated
- The target autonomous resolution rate is 90% with 10% human escalation.“expects 90% of tickets to be handled autonomously with only 10% escalated to humans”summary, stated
Alternatives considered (roads not taken)
Use one monolithic LLM prompt for customer support
Rejected because: It conflated responsibilities, increased error rates, and was hard to maintain.
Answer questions without executing business actions
Rejected because: Complex support tickets need real operations such as refunds and address updates.
Patterns
multi-agent-orchestration (architecture)
Planner, research, and tool-calling agents divide ticket analysis, retrieval, and action execution.
rag-retrieval (knowledge)
Research agents retrieve and re-rank policy knowledge from Minimal's training center.
tool-use-orchestration (execution)
The tool-calling agent executes refunds, cancellations, and address updates through commerce integrations.
Tradeoffs
Decompose customer support into specialized agents
Chose Planner, research, and tool-calling agents over A monolithic LLM prompt.
Rationale: Separation reduced prompt complexity and improved reliability.
Allow autonomous tool execution
Chose Tool-calling agent connected to commerce systems over Draft-only customer support responses.
Rationale: Resolving T2/T3 tickets often requires actual operations, not just replies.
Gotchas (what bit them)
Monolithic support prompts mixed too many responsibilities.
Root cause: One prompt had to plan, retrieve policy, reason, and execute actions.
Resolution: Minimal split the workflow across planner, research, and tool-calling agents.
Promotional metrics require caution.
Root cause: The published source is a LangChain customer story without independent verification.
Resolution: Treat claimed efficiency and autonomous-resolution numbers as reported claims, not proven benchmarks.
Evaluation
The case reports efficiency and target automation metrics but does not provide an independent evaluation design.
Metrics: 80%+ efficiency gains · 90% autonomous ticket resolution target · 10% human escalation target
Outcomes
- Minimal deployed a multi-agent support architecture using LangGraph and LangSmith.
- The system supports autonomous replies plus business actions for e-commerce tickets.
- Reported metrics are promising but promotional.
Reported targets are 80%+ efficiency gains and 90% autonomous ticket handling.