Academy › Projects › Project 2

Project 2: Multi-Agent Support System

AdvancedWeek 3LangGraphPydanticPostgresFastAPI

Problem: a support team handles order status, refunds and FAQs. Build an agent that resolves L1 tickets and escalates risky ones to a human.

Architecture:

Customer (Web/WhatsApp) → API → Supervisor Agent (LangGraph router)
   ├─ FAQ Agent → RAG tool
   ├─ Order Agent → get_order_status(), track_shipment() [DB/API tools]
   ├─ Refund Agent → create_refund() → HUMAN APPROVAL node (if amount > ₹2,000)
   └─ Escalation → ticket in CRM
State: LangGraph checkpointer (Postgres) · Memory: conversation summary
Guardrails: tool allow-list, argument validation (Pydantic), max 8 steps, PII masking

Step by step:

  1. Create a mock orders database (SQLite or Postgres) with 50 orders.
  2. Write 3–4 tools as Python functions with Pydantic input schemas.
  3. Build the LangGraph: supervisor node → specialist nodes → END.

Checking your access…