Skip to content

About

An intelligent multi-agent customer support system with shared memory, human review, and repeat-issue tracking.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

ย 

History

12 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿค– SupportMind AI

Never Solve It Twice.

An Agentic Customer Support Platform | Multi-Agent AI | Shared Memory | Human-in-the-Loop

SupportMind AI is an intelligent multi-agent customer support platform that coordinates specialized AI agents to understand customer issues, retrieve relevant knowledge, generate resolutions, and improve support consistency through human-supervised review.

SupportMind AI โ€” Project Demo

โ–ถ๏ธ Watch the Complete Project Demo

Python FastAPI React Vite Google ADK LiteLLM OpenRouter SQLite MCP


๐Ÿ“Œ Overview

Traditional customer support systems often struggle with repeated issues, fragmented customer history, inconsistent responses, and limited knowledge reuse.

SupportMind AI addresses these challenges through a coordinated network of four specialized AI agents, persistent customer memory, shared knowledge, and a human-in-the-loop review process.

Rather than treating every support request as an isolated problem, the platform uses available customer context and previously approved knowledge to help generate more consistent resolutions.

๐ŸŽฏ Project Objectives

  • Reduce repetitive support investigation.
  • Reuse previously approved resolutions.
  • Maintain customer-specific support history.
  • Coordinate specialized AI agents.
  • Introduce human oversight into AI-generated responses.
  • Improve visibility into support operations and recurring issues.

๐Ÿšจ Problem Statement

Customer support teams frequently encounter:

  • Repeated customer problems requiring similar investigations.
  • Difficulty discovering and reusing previous solutions.
  • Fragmented customer information and support knowledge.
  • Inconsistent responses across support interactions.
  • Limited visibility into recurring issues.
  • The need to review AI-generated responses before trusting them.

๐Ÿ’ก Our Solution

SupportMind AI combines customer understanding, memory retrieval, resolution generation, and response evaluation into one coordinated workflow.

The platform brings together:

  • Four specialized AI agents.
  • SQLite-based customer history and shared knowledge.
  • OpenRouter and LiteLLM for LLM integration.
  • Meko MCP integration for external knowledge context.
  • Human approval and rejection of proposed resolutions.
  • A React-based dashboard for support operations and analytics.

๐Ÿ—๏ธ System Architecture

The platform follows a multi-agent architecture in which each agent has a specialized responsibility.

flowchart TD
    A["Customer Query"] --> B["Customer Agent"]
    B --> C["Memory Agent"]

    C <--> D[("SQLite Database<br/>Customer History & Shared Knowledge")]
    C <--> M["Meko MCP<br/>External Knowledge Context"]

    C --> E["Resolution Agent"]
    M --> E

    E --> F["Review Agent"]
    F --> G["Support Ticket<br/>Pending Review"]

    G --> H{"Human Review"}

    H -->|Approve| I["Approved Resolution"]
    H -->|Reject| J["Rejected Resolution"]

    I --> K["Local Shared Knowledge"]
    K --> C
Loading

๐Ÿง  The Four AI Agents

Agent Responsibility
Customer Agent Understands customer queries and identifies relevant issue details.
Memory Agent Retrieves customer history, local shared knowledge, and available external context.
Resolution Agent Generates practical support resolutions or requests missing information.
Review Agent Evaluates response accuracy, completeness, safety, clarity, and professionalism.

๐Ÿ”„ How It Works

flowchart TD
    A["1. Customer submits a query"] --> B["2. Customer Agent analyzes the issue"]
    B --> C["3. Memory Agent retrieves context"]
    C --> D["4. Resolution Agent proposes a solution"]
    D --> E["5. Review Agent evaluates the response"]
    E --> F["6. Support ticket is created"]
    F --> G{"7. Human Review"}
    G -->|Approve| H["8. Save approved knowledge"]
    G -->|Reject| I["Rejected ticket"]
    H --> J["9. Reuse knowledge in future requests"]
    J --> C
Loading
  1. A customer submits a support request.
  2. The Customer Agent analyzes the issue.
  3. The Memory Agent retrieves relevant customer history and available knowledge.
  4. The Resolution Agent generates a proposed resolution.
  5. The Review Agent evaluates the response.
  6. A support ticket is created for review.
  7. A human reviewer approves or rejects the proposed resolution.
  8. Approved resolutions can be retained in local shared knowledge.
  9. Relevant stored knowledge can be reused in future support interactions.

โœจ Key Features

1. ๐Ÿง  Multi-Agent AI Collaboration

Four specialized agents collaborate to understand, investigate, resolve, and review customer issues.

2. ๐Ÿ’พ Shared Knowledge Memory

Approved resolutions can be stored in SQLite and retrieved during future support interactions.

3. ๐Ÿ‘ค Customer History

Maintains customer-specific support history to provide additional context when resolving issues.

4. ๐Ÿ›ก๏ธ Human-in-the-Loop Review

Support reviewers can approve or reject AI-generated resolutions before they become trusted local knowledge.

5. ๐ŸŽซ Ticket Management

View support tickets, customer information, issue descriptions, priorities, and review statuses.

6. ๐Ÿ” Repeat-Issue Tracking

Tracks recurring support issues to help identify repeated customer problems.

7. ๐Ÿ“Š Support Analytics

Provides visibility into ticket activity, approved tickets, repeat issues, and response-time metrics.

8. ๐ŸŒ Meko MCP Integration

Connects the Memory Agent to available external knowledge context through Meko MCP.

9. ๐Ÿ”„ Knowledge Synchronization

Provides synchronization status monitoring and retry functionality for supported Meko workflows.

10. โš™๏ธ Support Workspace Settings

Includes profile settings, notification preferences, AI response review preferences, and appearance-related settings.


๐Ÿ–ฅ๏ธ Application Preview

Explore the SupportMind AI workspace and its customer support operations.

01. Overview Dashboard

SupportMind AI Overview Dashboard

The overview dashboard provides a central view of support activity, ticket statistics, recurring issues, response-time metrics, and the four-agent network.

02. AI Support Chat

SupportMind AI Chat and Agent Workflow

Interact with the coordinated AI support system and observe how the four agents contribute to a reviewed response.

03. Ticket Management

SupportMind AI Ticket Management

Review support tickets, monitor their status, and approve or reject pending AI-generated resolutions.

04. Analytics Dashboard

SupportMind AI Analytics Dashboard

Monitor ticket statistics, approved resolutions, recurring issues, response-time metrics, and agent workflow status.

05. Workspace Settings

SupportMind AI Workspace Settings

Manage profile information, notifications, AI response review preferences, and workspace settings.


๐Ÿ› ๏ธ Technology Stack

Category Technologies
Programming Languages Python, JavaScript
Backend Framework FastAPI
Frontend Framework React
Frontend Tooling Vite
Agent Framework Google Agent Development Kit (ADK)
LLM Integration LiteLLM, OpenRouter
Agent Communication Model Context Protocol (MCP)
External Knowledge Meko MCP
Database SQLite
API Architecture REST API

๐Ÿ“ Project Structure

SupportMind-AI/
โ”‚
โ”œโ”€โ”€ backend/
โ”‚   โ”œโ”€โ”€ support_agents/
โ”‚   โ”‚   โ”œโ”€โ”€ customer_agent.py
โ”‚   โ”‚   โ”œโ”€โ”€ memory_agent.py
โ”‚   โ”‚   โ”œโ”€โ”€ resolution_agent.py
โ”‚   โ”‚   โ”œโ”€โ”€ review_agent.py
โ”‚   โ”‚   โ”œโ”€โ”€ coordinator_agent.py
โ”‚   โ”‚   โ”œโ”€โ”€ memory_store.py
โ”‚   โ”‚   โ”œโ”€โ”€ meko_toolset.py
โ”‚   โ”‚   โ””โ”€โ”€ meko_publisher.py
โ”‚   โ”‚
โ”‚   โ”œโ”€โ”€ main.py
โ”‚   โ””โ”€โ”€ requirements.txt
โ”‚
โ”œโ”€โ”€ frontend/
โ”‚   โ”œโ”€โ”€ public/
โ”‚   โ”œโ”€โ”€ src/
โ”‚   โ”‚   โ”œโ”€โ”€ assets/
โ”‚   โ”‚   โ”œโ”€โ”€ App.jsx
โ”‚   โ”‚   โ”œโ”€โ”€ App.css
โ”‚   โ”‚   โ”œโ”€โ”€ index.css
โ”‚   โ”‚   โ””โ”€โ”€ main.jsx
โ”‚   โ”œโ”€โ”€ package.json
โ”‚   โ””โ”€โ”€ vite.config.js
โ”‚
โ”œโ”€โ”€ docs/
โ”‚   โ”œโ”€โ”€ overview.png
โ”‚   โ”œโ”€โ”€ ai-support-chat.png
โ”‚   โ”œโ”€โ”€ tickets.png
โ”‚   โ”œโ”€โ”€ analytics.png
โ”‚   โ””โ”€โ”€ settings.png
โ”‚
โ””โ”€โ”€ .gitignore

๐Ÿš€ Getting Started

Prerequisites

  • Python 3.10+
  • Node.js and npm
  • OpenRouter API key
  • Meko API key, if enabling Meko integration

1. Clone the Repository

git clone https://github.com/arish096/SupportMind-AI.git
cd SupportMind-AI

2. Backend Setup

cd backend
python -m venv .venv

Activate the virtual environment.

Windows PowerShell:

.\.venv\Scripts\Activate.ps1

Install dependencies:

pip install -r requirements.txt

Create a .env file in the backend directory:

OPENROUTER_API_KEY=your_openrouter_api_key

# Optional: required when Meko integration is enabled
MEKO_API_KEY=your_meko_api_key

Start the backend:

uvicorn main:app --reload

Backend: http://127.0.0.1:8000

API documentation: http://127.0.0.1:8000/docs

3. Frontend Setup

Open another terminal:

cd frontend
npm install
npm run dev

Frontend: http://localhost:5173

4. Try the Application

  1. Open the frontend application.
  2. Submit a customer support query.
  3. Observe the AI-generated response.
  4. Navigate to the Tickets section.
  5. Review and approve or reject a pending resolution.
  6. Explore customer history and analytics.
  7. If Meko is configured, check the synchronization status.

๐Ÿงช Testing & Validation

Key workflows to validate include:

  • Multi-agent support request processing.
  • Customer history retrieval.
  • Local shared knowledge retrieval.
  • AI-generated response evaluation.
  • Support ticket creation.
  • Human approval and rejection.
  • Approved resolution storage.
  • Repeat-issue tracking.
  • Analytics API and dashboard integration.
  • Meko MCP connection and context retrieval.
  • Knowledge synchronization status and retry workflows.

โš™๏ธ Engineering Considerations & Limitations

SupportMind AI is an evolving prototype. Current implementation limitations include:

  • Local shared knowledge retrieval uses basic lexical matching rather than advanced semantic search.
  • Repeat-issue detection uses a simplified matching approach.
  • Token usage in analytics is estimated rather than sourced from actual provider billing records.
  • The weekly support activity chart is illustrative because daily historical data is not yet provided by the API.
  • Meko MCP functionality depends on external service availability and configuration.
  • External knowledge publishing needs stronger sanitization to exclude internal review notes and unsuitable content.

These limitations represent opportunities for future engineering improvements.


๐Ÿ”ฎ Future Roadmap

  • Semantic knowledge retrieval using vector embeddings.
  • More robust duplicate and similar-issue detection.
  • Advanced analytics using actual provider usage data.
  • Improved knowledge management and review workflows.
  • Stronger sanitization and validation for external knowledge publishing.
  • Expanded MCP integrations.
  • Additional customer support platform integrations.
  • Production-ready authentication, monitoring, and deployment.

๐Ÿ‘จโ€๐Ÿ’ป About the Developer

Arish Islam

Student Developer | Web Development | AI & Multi-Agent Systems

Interested in building practical AI applications, intelligent automation systems, and software products that solve real-world problems.


SupportMind AI โ€” Never Solve It Twice.
Built with curiosity, experimentation, and a passion for practical AI.

โญ If you find this project interesting, consider starring the repository!

About

An intelligent multi-agent customer support system with shared memory, human review, and repeat-issue tracking.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages