Skip to content
BNC~/projects— Ben Nhila Chebil, home
ESC
↑↓ navigate · ↵ openG + key jumps anywhere

~/projects
Case study 01Deployed

Multi-Agent Customer Support Platform

Stateful agentic AI with LangGraph

Overview

A customer-support agent built as a LangGraph state machine. Clear requests are routed deterministically — no LLM call — while ambiguous ones go through LLM intent classification with structured output. Sensitive cases pause for a human and resume exactly where they left off.

Architecture

flow
  1. 01

    Request

    FastAPI · Streamlit UI

  2. 02

    Hybrid intent router

    rules first, LLM structured output if unclear

  3. 03

    Specialist subgraph

    Billing · Technical · Account · General

  4. 04

    Human-in-the-loop

    interrupt() → Command(resume=…)

  5. 05

    Checkpoint

    PostgreSQL (SQLite locally)

What I built

  • 01Hybrid deterministic + LLM intent routing (structured output), avoiding LLM calls for clear requests.
  • 02Human-in-the-loop escalation with interrupt() and Command(resume=...), persisting checkpoints in PostgreSQL (SQLite for local development) so workflows survive restarts and redeployments.
  • 03FastAPI REST API and Streamlit UI with thread-isolated conversations.
  • 04Pytest unit, workflow and API tests; multi-arch Docker images (amd64/arm64); GitHub Actions CI/CD; public Render deployment.