nothingworry commited on
Commit
9a99098
Β·
1 Parent(s): ba6735b

first commit

Browse files
Files changed (1) hide show
  1. README.md +226 -159
README.md CHANGED
@@ -1,163 +1,188 @@
1
- # **IntegraChat β€” Multi-Tenant Autonomous MCP Platform**
2
 
3
- ### **Enterprise-grade AI with autonomous agents, secure multi-tenant RAG, real-time web search, red-flag governance, and analytics.**
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
 
5
  ---
6
 
7
- ## **πŸ“Œ Overview**
8
 
9
  **IntegraChat** is an enterprise-ready, multi-tenant AI platform built to demonstrate the full capabilities of the **Model Context Protocol (MCP)** in a real production-style environment.
10
 
11
  It combines **autonomous tool-using agents**, **RAG retrieval**, **live web search**, and **admin governance** under strict **tenant isolation**, powered by Groq's **Llama-3.1-8B**.
12
 
13
- IntegraChat is a complete "**MCP in Action**" ecosystem β€” ideal for enterprise demos, research, production scaffolds, and governance-focused AI deployments.
14
 
15
  ---
16
 
17
- # **🎯 Purpose**
18
 
19
  IntegraChat showcases how MCP can power **intelligent, governed, multi-tenant AI systems** with real-world requirements:
20
 
21
- * Isolation & access control
22
- * Compliance & red-flag detection
23
- * Tool-aware autonomous reasoning
24
- * RAG + web search hybrid AI
25
- * Analytics & observability
26
- * Admin governance workflows
27
 
28
  ---
29
 
30
- # **🧩 Key Features**
31
 
32
- ## **1. Autonomous MCP Agents**
33
 
34
- Agents can:
35
 
36
- * Analyze user intent
37
- * Detect sensitive or unsafe content
38
- * Dynamically select tools (RAG, Web, Admin, etc.)
39
- * Retrieve tenant-private knowledge
40
- * Pull real-time data from the internet
41
- * Trigger admin alerts
42
- * Respond using Groq's **Llama-3.1-8B**
43
 
44
- ## **2. Enterprise RAG System**
45
 
46
- * MiniLM embeddings
47
- * Supabase + pgvector
48
- * Strict multi-tenant RLS enforcement
49
- * PDF / DOCX / TXT / URL ingestion
50
- * Chunking + semantic search
51
 
52
- ## **3. Live Web Search Tool**
53
 
54
- * Real-time news
55
- * General web search
56
- * Fact-checking & fresh data retrieval
 
57
 
58
- ## **4. Red-Flag Governance Engine**
59
 
60
  Admins configure rules to:
61
 
62
- * Block unsafe queries
63
- * Log violations
64
- * Trigger admin alerts
65
 
66
- Examples: `salary`, `delete all data`, `confidential client info`.
67
 
68
- ## **5. Analytics Dashboard**
69
 
70
- Includes insights for:
71
 
72
- * Query volume
73
- * Tool usage
74
- * RAG performance
75
- * Red-flag violations
76
- * Agent reasoning traces
77
- * Tenant activity
78
 
79
- ## **6. Multi-Tenant Isolation**
80
 
81
  Each tenant gets:
82
 
83
- * Private agents
84
- * Private knowledge base
85
- * Private admin rules
86
- * Private analytics
87
 
88
- Isolation is guaranteed via **Supabase RLS**.
89
 
90
  ---
91
 
92
- # **πŸ›  Technology Stack**
93
 
94
- ## **Backend**
95
 
96
- * FastAPI
97
- * MCP Client + MCP Servers
98
- * Supabase (Auth + Storage + pgvector)
99
- * MiniLM Embeddings
100
- * Groq Llama-3.1-8B
101
- * DuckDuckGo Search
102
- * Slack / Email alerting
 
 
103
 
104
- ## **Frontend**
105
 
106
- * React 18
107
- * TailwindCSS
108
- * Zustand
109
- * WebSocket streaming
110
- * Admin dashboard + analytics
 
 
111
 
112
  ---
113
 
114
- # **🧱 System Architecture**
115
 
116
  ```
117
- Frontend (React)
118
-
119
- - Chat UI
120
-
121
- - Admin Panel
122
-
123
- - Analytics / Insights
124
-
125
- - WebSocket streaming
126
-
127
-
128
-
129
- MCP Client (FastAPI)
130
-
131
- - Intent handling
132
-
133
- - Red-flag scanning
134
-
135
- - Tool selection logic
136
-
137
- - Calls Groq Llama-3.1
138
-
139
- - Event logging
140
-
141
-
142
-
143
- MCP Servers:
144
-
145
- - RAG Server (private knowledge)
146
-
147
- - Web Search Server (live data)
148
-
149
- - Admin Server (alerts / governance)
150
-
151
-
152
-
153
- Database:
154
-
155
- - Supabase (Auth + Storage + pgvector + RLS)
156
  ```
157
 
158
  ---
159
 
160
- # **πŸ“ Project Structure**
161
 
162
  ```
163
  IntegraChat/
@@ -244,14 +269,17 @@ IntegraChat/
244
  β”œβ”€β”€ frontend/
245
  β”‚ β”œβ”€β”€ src/
246
  β”‚ β”‚ β”œβ”€β”€ components/
247
- β”‚ β”‚ β”‚ β”œβ”€β”€ chat/ChatWindow.jsx
248
- β”‚ β”‚ β”‚ β”œβ”€β”€ chat/MessageBubble.jsx
249
- β”‚ β”‚ β”‚ β”œβ”€β”€ chat/ToolTraces.jsx
250
- β”‚ β”‚ β”‚ β”œβ”€β”€ admin/RedFlagEditor.jsx
251
- β”‚ β”‚ β”‚ β”œβ”€β”€ admin/TenantManager.jsx
252
- β”‚ β”‚ β”‚ β”œβ”€β”€ analytics/QueryStats.jsx
253
- β”‚ β”‚ β”‚ β”œβ”€β”€ analytics/ToolUsageChart.jsx
254
- β”‚ β”‚ β”‚ └── analytics/RagEffectiveness.jsx
 
 
 
255
  β”‚ β”‚ β”œβ”€β”€ pages/
256
  β”‚ β”‚ β”‚ β”œβ”€β”€ ChatPage.jsx
257
  β”‚ β”‚ β”‚ β”œβ”€β”€ AdminPage.jsx
@@ -306,80 +334,119 @@ IntegraChat/
306
 
307
  ---
308
 
309
- # **πŸš€ Getting Started**
310
 
311
- ## **Prerequisites**
312
 
313
- * Python 3.10+
314
- * Node.js 18+
315
- * Supabase project
316
- * Groq API key
317
- * DuckDuckGo Search key (if configured)
318
- * Slack/Email webhook for alerts (optional)
319
 
320
- ---
 
 
 
 
 
321
 
322
- ## **Backend Setup**
323
 
324
- ```sh
325
- cd backend
326
- pip install -r requirements.txt
327
- cp .env.example .env # Fill in Supabase + Groq keys
328
- uvicorn app:app --reload
329
- ```
330
 
331
- ## **Frontend Setup**
 
 
 
332
 
333
- ```sh
334
- cd frontend
335
- npm install
336
- npm run dev
337
- ```
338
 
339
- ---
 
 
 
 
 
340
 
341
- # **✨ Why IntegraChat Stands Out**
 
 
 
342
 
343
- * **True MCP-native autonomous agents** (not static prompts)
344
- * **Enterprise governance system** with regex-based red-flag rules
345
- * **Hybrid RAG + web search** reasoning
346
- * **Production-grade multi-tenant design** with strict Supabase RLS
347
- * **Full observability**: logs, analytics, tool events, violations
348
- * **Demo-ready**: perfect for enterprise presentations
 
 
 
 
 
 
 
 
 
349
 
350
  ---
351
 
352
- # **🏷 Submission Metadata**
353
 
354
- **Track:** MCP in Action
 
 
 
 
 
 
 
355
 
356
- **Category:** Enterprise
357
 
358
- **Tag:** `mcp-in-action-track-enterprise`
359
 
360
- **Project Name:** **IntegraChat**
 
 
 
 
 
361
 
362
- ### **Short Summary**
363
 
364
  > IntegraChat is a multi-tenant AI platform where autonomous MCP-powered agents retrieve private knowledge using RAG, access live web information, and enforce admin-defined safety rules via a red-flag compliance system. It includes an analytics dashboard, tool-selection engine, and strict tenant isolation.
365
 
366
  ---
367
 
368
- # **πŸ“„ License**
369
 
370
- Add your license here (MIT recommended).
371
 
372
  ---
373
 
374
- # **πŸ“¬ Contact**
375
 
376
- If you'd like, I can generate:
377
 
378
- * βœ” Pitch deck
379
- * βœ” Notion documentation
380
- * βœ” Demo video script
381
- * βœ” Architecture diagram SVG
382
- * βœ” Full API reference
 
 
383
 
384
  ---
385
 
 
 
 
 
 
 
 
 
1
+ <div align="center">
2
 
3
+ # πŸš€ IntegraChat
4
+
5
+ ### Multi-Tenant Autonomous MCP Platform
6
+
7
+ **Enterprise-grade AI with autonomous agents, secure multi-tenant RAG, real-time web search, red-flag governance, and analytics.**
8
+
9
+ [![Python](https://img.shields.io/badge/Python-3.10+-blue.svg)](https://www.python.org/)
10
+ [![React](https://img.shields.io/badge/React-18-blue.svg)](https://reactjs.org/)
11
+ [![FastAPI](https://img.shields.io/badge/FastAPI-Latest-green.svg)](https://fastapi.tiangolo.com/)
12
+ [![License](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)
13
+ [![MCP](https://img.shields.io/badge/MCP-In%20Action-purple.svg)](https://modelcontextprotocol.io/)
14
+
15
+ </div>
16
+
17
+ ---
18
+
19
+ ## πŸ“‘ Table of Contents
20
+
21
+ - [Overview](#-overview)
22
+ - [Purpose](#-purpose)
23
+ - [Key Features](#-key-features)
24
+ - [Technology Stack](#-technology-stack)
25
+ - [System Architecture](#-system-architecture)
26
+ - [Project Structure](#-project-structure)
27
+ - [Getting Started](#-getting-started)
28
+ - [Why IntegraChat Stands Out](#-why-integrachat-stands-out)
29
+ - [Submission Metadata](#-submission-metadata)
30
+ - [License](#-license)
31
 
32
  ---
33
 
34
+ ## πŸ“Œ Overview
35
 
36
  **IntegraChat** is an enterprise-ready, multi-tenant AI platform built to demonstrate the full capabilities of the **Model Context Protocol (MCP)** in a real production-style environment.
37
 
38
  It combines **autonomous tool-using agents**, **RAG retrieval**, **live web search**, and **admin governance** under strict **tenant isolation**, powered by Groq's **Llama-3.1-8B**.
39
 
40
+ IntegraChat is a complete **"MCP in Action"** ecosystem β€” ideal for enterprise demos, research, production scaffolds, and governance-focused AI deployments.
41
 
42
  ---
43
 
44
+ ## 🎯 Purpose
45
 
46
  IntegraChat showcases how MCP can power **intelligent, governed, multi-tenant AI systems** with real-world requirements:
47
 
48
+ - πŸ”’ **Isolation & Access Control** - Strict tenant separation
49
+ - πŸ›‘οΈ **Compliance & Red-Flag Detection** - Automated safety monitoring
50
+ - πŸ€– **Tool-Aware Autonomous Reasoning** - Dynamic tool selection
51
+ - πŸ” **RAG + Web Search Hybrid AI** - Best of both worlds
52
+ - πŸ“Š **Analytics & Observability** - Full system insights
53
+ - βš™οΈ **Admin Governance Workflows** - Enterprise-ready controls
54
 
55
  ---
56
 
57
+ ## 🧩 Key Features
58
 
59
+ ### 1. πŸ€– Autonomous MCP Agents
60
 
61
+ Agents can intelligently:
62
 
63
+ - βœ… Analyze user intent and context
64
+ - βœ… Detect sensitive or unsafe content
65
+ - βœ… Dynamically select tools (RAG, Web, Admin, etc.)
66
+ - βœ… Retrieve tenant-private knowledge
67
+ - βœ… Pull real-time data from the internet
68
+ - βœ… Trigger admin alerts when needed
69
+ - βœ… Respond using Groq's **Llama-3.1-8B**
70
 
71
+ ### 2. πŸ“š Enterprise RAG System
72
 
73
+ - **MiniLM embeddings** for semantic search
74
+ - **Supabase + pgvector** for vector storage
75
+ - **Strict multi-tenant RLS enforcement** for security
76
+ - **Multiple format support**: PDF / DOCX / TXT / URL ingestion
77
+ - **Intelligent chunking** + semantic search
78
 
79
+ ### 3. 🌐 Live Web Search Tool
80
 
81
+ - Real-time news and information
82
+ - General web search capabilities
83
+ - Fact-checking & fresh data retrieval
84
+ - Multiple provider support (DuckDuckGo, SerpAPI, Bing)
85
 
86
+ ### 4. 🚨 Red-Flag Governance Engine
87
 
88
  Admins configure rules to:
89
 
90
+ - β›” Block unsafe queries automatically
91
+ - πŸ“ Log violations for audit trails
92
+ - πŸ”” Trigger admin alerts in real-time
93
 
94
+ **Example rules**: `salary`, `delete all data`, `confidential client info`
95
 
96
+ ### 5. πŸ“Š Analytics Dashboard
97
 
98
+ Comprehensive insights for:
99
 
100
+ - πŸ“ˆ Query volume and trends
101
+ - πŸ”§ Tool usage statistics
102
+ - 🎯 RAG performance metrics
103
+ - 🚨 Red-flag violation tracking
104
+ - 🧠 Agent reasoning traces
105
+ - πŸ‘₯ Tenant activity monitoring
106
 
107
+ ### 6. 🏒 Multi-Tenant Isolation
108
 
109
  Each tenant gets:
110
 
111
+ - πŸ” Private agents
112
+ - πŸ“¦ Private knowledge base
113
+ - βš™οΈ Private admin rules
114
+ - πŸ“Š Private analytics
115
 
116
+ Isolation is guaranteed via **Supabase Row-Level Security (RLS)**.
117
 
118
  ---
119
 
120
+ ## πŸ›  Technology Stack
121
 
122
+ ### Backend
123
 
124
+ | Technology | Purpose |
125
+ |------------|---------|
126
+ | **FastAPI** | High-performance API framework |
127
+ | **MCP Client + Servers** | Model Context Protocol implementation |
128
+ | **Supabase** | Auth + Storage + pgvector database |
129
+ | **MiniLM Embeddings** | Semantic search embeddings |
130
+ | **Groq Llama-3.1-8B** | LLM inference engine |
131
+ | **DuckDuckGo Search** | Web search provider |
132
+ | **Slack / Email** | Alerting system |
133
 
134
+ ### Frontend
135
 
136
+ | Technology | Purpose |
137
+ |------------|---------|
138
+ | **React 18** | Modern UI framework |
139
+ | **TailwindCSS** | Utility-first styling |
140
+ | **Zustand** | State management |
141
+ | **WebSocket** | Real-time streaming |
142
+ | **Admin Dashboard** | Analytics & governance UI |
143
 
144
  ---
145
 
146
+ ## 🧱 System Architecture
147
 
148
  ```
149
+ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
150
+ β”‚ Frontend (React) β”‚
151
+ β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚
152
+ β”‚ β”‚ Chat UI β”‚ β”‚ Admin β”‚ β”‚Analytics β”‚ β”‚WebSocket β”‚ β”‚
153
+ β”‚ β”‚ β”‚ β”‚ Panel β”‚ β”‚ Dashboardβ”‚ β”‚Streaming β”‚ β”‚
154
+ β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚
155
+ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
156
+ ↕ HTTP/WebSocket
157
+ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
158
+ β”‚ MCP Client (FastAPI) β”‚
159
+ β”‚ β€’ Intent handling β”‚
160
+ β”‚ β€’ Red-flag scanning β”‚
161
+ β”‚ β€’ Tool selection logic β”‚
162
+ β”‚ β€’ Groq Llama-3.1 integration β”‚
163
+ β”‚ β€’ Event logging β”‚
164
+ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
165
+ ↕ MCP Protocol
166
+ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
167
+ β”‚ MCP Servers β”‚
168
+ β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚
169
+ β”‚ β”‚ RAG Server β”‚ β”‚ Web Search β”‚ β”‚ Admin Server β”‚ β”‚
170
+ β”‚ β”‚ (Knowledge) β”‚ β”‚ (Live) β”‚ β”‚ (Governance) β”‚ β”‚
171
+ β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚
172
+ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
173
+ ↕
174
+ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€οΏ½οΏ½οΏ½β”€β”€β”€β”€β”€β”€β”€β”€β”
175
+ β”‚ Supabase Database β”‚
176
+ β”‚ β€’ Authentication β”‚
177
+ β”‚ β€’ pgvector (embeddings) β”‚
178
+ β”‚ β€’ Row-Level Security (RLS) β”‚
179
+ β”‚ β€’ Storage β”‚
180
+ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
 
 
 
 
 
 
 
181
  ```
182
 
183
  ---
184
 
185
+ ## πŸ“ Project Structure
186
 
187
  ```
188
  IntegraChat/
 
269
  β”œβ”€β”€ frontend/
270
  β”‚ β”œβ”€β”€ src/
271
  β”‚ β”‚ β”œβ”€β”€ components/
272
+ β”‚ β”‚ β”‚ β”œβ”€β”€ chat/
273
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ ChatWindow.jsx
274
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ MessageBubble.jsx
275
+ β”‚ β”‚ β”‚ β”‚ └── ToolTraces.jsx
276
+ β”‚ β”‚ β”‚ β”œβ”€β”€ admin/
277
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ RedFlagEditor.jsx
278
+ β”‚ β”‚ β”‚ β”‚ └── TenantManager.jsx
279
+ β”‚ β”‚ β”‚ └── analytics/
280
+ β”‚ β”‚ β”‚ β”œβ”€β”€ QueryStats.jsx
281
+ β”‚ β”‚ β”‚ β”œβ”€β”€ ToolUsageChart.jsx
282
+ β”‚ β”‚ β”‚ └── RagEffectiveness.jsx
283
  β”‚ β”‚ β”œβ”€β”€ pages/
284
  β”‚ β”‚ β”‚ β”œβ”€β”€ ChatPage.jsx
285
  β”‚ β”‚ β”‚ β”œβ”€β”€ AdminPage.jsx
 
334
 
335
  ---
336
 
337
+ ## πŸš€ Getting Started
338
 
339
+ ### Prerequisites
340
 
341
+ Before you begin, ensure you have the following installed:
 
 
 
 
 
342
 
343
+ - βœ… **Python 3.10+**
344
+ - βœ… **Node.js 18+**
345
+ - βœ… **Supabase project** (with pgvector extension)
346
+ - βœ… **Groq API key**
347
+ - βœ… **DuckDuckGo Search key** (optional, if configured)
348
+ - βœ… **Slack/Email webhook** for alerts (optional)
349
 
350
+ ### Backend Setup
351
 
352
+ 1. **Navigate to backend directory**
353
+ ```bash
354
+ cd backend
355
+ ```
 
 
356
 
357
+ 2. **Install dependencies**
358
+ ```bash
359
+ pip install -r requirements.txt
360
+ ```
361
 
362
+ 3. **Configure environment variables**
363
+ ```bash
364
+ cp .env.example .env
365
+ # Edit .env and fill in your Supabase + Groq keys
366
+ ```
367
 
368
+ 4. **Run the development server**
369
+ ```bash
370
+ uvicorn api.main:app --reload
371
+ ```
372
+
373
+ ### Frontend Setup
374
 
375
+ 1. **Navigate to frontend directory**
376
+ ```bash
377
+ cd frontend
378
+ ```
379
 
380
+ 2. **Install dependencies**
381
+ ```bash
382
+ npm install
383
+ ```
384
+
385
+ 3. **Start the development server**
386
+ ```bash
387
+ npm run dev
388
+ ```
389
+
390
+ ### Quick Start with Docker
391
+
392
+ ```bash
393
+ docker-compose up -d
394
+ ```
395
 
396
  ---
397
 
398
+ ## ✨ Why IntegraChat Stands Out
399
 
400
+ | Feature | Description |
401
+ |---------|-------------|
402
+ | πŸ€– **True MCP-Native** | Autonomous agents (not static prompts) |
403
+ | πŸ›‘οΈ **Enterprise Governance** | Regex-based red-flag rules system |
404
+ | πŸ” **Hybrid Intelligence** | RAG + web search reasoning |
405
+ | 🏒 **Production-Grade** | Multi-tenant design with strict Supabase RLS |
406
+ | πŸ“Š **Full Observability** | Logs, analytics, tool events, violations |
407
+ | 🎯 **Demo-Ready** | Perfect for enterprise presentations |
408
 
409
+ ---
410
 
411
+ ## 🏷 Submission Metadata
412
 
413
+ | Field | Value |
414
+ |-------|-------|
415
+ | **Track** | MCP in Action |
416
+ | **Category** | Enterprise |
417
+ | **Tag** | `mcp-in-action-track-enterprise` |
418
+ | **Project Name** | **IntegraChat** |
419
 
420
+ ### Short Summary
421
 
422
  > IntegraChat is a multi-tenant AI platform where autonomous MCP-powered agents retrieve private knowledge using RAG, access live web information, and enforce admin-defined safety rules via a red-flag compliance system. It includes an analytics dashboard, tool-selection engine, and strict tenant isolation.
423
 
424
  ---
425
 
426
+ ## οΏ½οΏ½ License
427
 
428
+ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
429
 
430
  ---
431
 
432
+ ## πŸ“¬ Contributing
433
 
434
+ Contributions are welcome! Please feel free to submit a Pull Request.
435
 
436
+ ---
437
+
438
+ ## πŸ™ Acknowledgments
439
+
440
+ - Built with [Model Context Protocol (MCP)](https://modelcontextprotocol.io/)
441
+ - Powered by [Groq](https://groq.com/) for LLM inference
442
+ - Database powered by [Supabase](https://supabase.com/)
443
 
444
  ---
445
 
446
+ <div align="center">
447
+
448
+ **Made with ❀️ for the MCP community**
449
+
450
+ [⬆ Back to Top](#-integrachat)
451
+
452
+ </div>