Spaces:
Running
Running
File size: 9,426 Bytes
a3d5221 c3bc172 a3d5221 c3bc172 a3d5221 c3bc172 f359666 c3bc172 268d6a2 c3bc172 268d6a2 c3bc172 f359666 c3bc172 f359666 c3bc172 a3d5221 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 |
---
title: LifeAdmin AI - Autonomous Life Management Agent
emoji: π€
colorFrom: purple
colorTo: blue
sdk: gradio
sdk_version: 6.0.1
app_file: app.py
pinned: true
license: mit
tags:
- mcp-in-action-track-enterprise
- mcp-in-action-track-consumer
- mcp-in-action-track-creative
---
# π€ LifeAdmin AI - Your Autonomous Life Management Agent
> **π Hugging Face MCP Birthday Hackathon Submission**
> **Track 2:** MCP in Action
> **Tags:**
- mcp-in-action-track-enterprise
- mcp-in-action-track-consumer
- mcp-in-action-track-creative
## πΊ Demo Video
**βΆοΈ Watch Demo Video** https://drive.google.com/file/d/1Hdo_hHE-tohYYDmbmX5NJuZY1hrBKcW-/view?usp=sharing
## π± Social Media
**LinkedIn Post:** https://www.linkedin.com/posts/maheen-touqeer-3b5b03289_mcp1stbirthday-aiagents-mcp-activity-7400925160662405121-4n97?utm_source=share&utm_medium=member_desktop&rcm=ACoAAEYb6nkB0latOGw2UbEtSUJfOzMNGaP4OPs
## π― Overview
**LifeAdmin AI** is an autonomous AI agent that revolutionizes how professionals manage life administration tasks. Built with Gradio 6 and powered by the Model Context Protocol (MCP), it demonstrates advanced autonomous reasoning, planning, and execution capabilities.
### The Problem
Professionals waste **4-6 hours weekly** on repetitive admin tasks:
- Manual form filling
- Document organization
- Calendar management
- Email composition
- Deadline tracking
- File searching
### Our Solution
An **autonomous AI agent** that:
β
Understands complex requests through natural language
β
Plans multi-step workflows autonomously
β
Executes tasks using 7+ MCP tools
β
Learns from past interactions via persistent memory
β
Provides real-time feedback on reasoning process
## β¨ Key Features
### π€ **Autonomous Agent Capabilities**
#### 1. **Intelligent Planning**
- Analyzes user requests and breaks them into actionable tasks
- Selects appropriate MCP tools for each subtask
- Handles dependencies and sequential execution
#### 2. **Contextual Reasoning**
- Uses RAG (Retrieval-Augmented Generation) to search uploaded documents
- Leverages conversation history from persistent memory
- Makes intelligent decisions based on available context
#### 3. **Multi-Step Execution**
- Executes complex workflows autonomously
- Provides real-time thought traces showing reasoning
- Handles errors gracefully with fallback strategies
### π§ **MCP Tool Suite (7 Tools)**
1. **π OCR Text Extraction** - Extract text from images and scanned documents
2. **π PDF Analysis** - Summarize PDFs and extract metadata (dates, amounts, entities)
3. **π Smart Form Filler** - Auto-fill DOCX/XLSX forms with intelligent field matching
4. **βοΈ Email Drafter** - Generate context-aware professional emails
5. **π
Calendar Generator** - Create ICS calendar events from natural language
6. **ποΈ File Organizer** - Organize files by type, date, or size
7. **π RAG Search** - Semantic document search with vector embeddings
### π¬ **Three Interaction Modes**
#### 1. **Manual Dashboard** - Granular Control
Direct access to each MCP tool with visual interface for precise control.
#### 2. **LifeAdmin Coach** - Conversational AI
Chat with an AI assistant that:
- Answers questions about uploaded documents
- Automatically calls appropriate tools
- Provides summarization and insights
- Tracks conversation history
#### 3. **Voice Agent** - Hands-Free Operation
Speak commands naturally and watch the agent:
- Transcribe speech (Groq Whisper)
- Plan and execute tasks
- Respond with synthesized speech (ElevenLabs)
## ποΈ Architecture
### **Tech Stack**
```
Frontend: Gradio 6.0
Agent: Custom autonomous agent with planning & reflection
MCP: 7 custom MCP tool servers (local fallback mode)
RAG: ChromaDB + Sentence Transformers (all-MiniLM-L6-v2)
Memory: SQLite persistent storage
LLMs: OpenAI GPT-4, Hyperbolic, Groq Llama 3.3 (fallback chain)
Voice: Groq Whisper (STT), ElevenLabs (TTS)
```
### **Agent Architecture**
```
User Request
β
βββββββββββββββββββ
β Agent Core β
β - Planning β ββ [Memory Store]
β - Reasoning β ββ [RAG Engine]
β - Execution β
ββββββββββ¬βββββββββ
β
ββββββββββββββββββββββ
β MCP Client β
β Tool Router β
ββββββββββ¬ββββββββββββ
β
βββββββββββββββββββββββββββββββββββ
β MCP Tool Servers (7) β
β β’ OCR β’ PDF β’ Forms β
β β’ Email β’ Calendar β’ Files β
β β’ RAG β
βββββββββββββββββββββββββββββββββββ
```
### **Key Technical Decisions**
1. **Local MCP Execution** - All tools run locally with async fallback for reliability
2. **Multi-Provider LLM** - Graceful degradation across OpenAI β Hyperbolic β Groq
3. **RAG Integration** - Document context enhances agent decision-making
4. **Persistent Memory** - SQLite stores conversations and user preferences
5. **Async-First Design** - Non-blocking I/O for responsive UX
## π¬ Real-World Use Cases
### **Use Case 1: Automated Form Filling**
```
User uploads membership form + provides data
Agent: Plans extraction β Fills form β Returns completed document
Time saved: 15 minutes β 30 seconds
```
### **Use Case 2: Document Analysis**
```
User: "What are the key deadlines in my PDF?"
Agent: Searches RAG β Extracts dates β Summarizes deadlines
Output: Structured deadline list with context
```
### **Use Case 3: Email Workflow**
```
User: "Draft a follow-up email for my membership application"
Agent: Retrieves application context β Generates professional email β Offers editing
Result: Publication-ready email in seconds
```
### **Use Case 4: Calendar Management**
```
User: "Create a meeting next Tuesday at 2pm"
Agent: Parses natural language β Generates ICS file β Ready for import
Integration: Works with Google Calendar, Outlook, Apple Calendar
```
## π How to Use
### **1. Manual Dashboard**
1. Upload files (PDF, images, documents)
2. Select a tool (OCR, PDF, Forms, etc.)
3. Configure parameters
4. Execute and download results
### **2. LifeAdmin Coach**
1. Upload documents in Manual Dashboard first
2. Switch to Coach tab
3. Ask questions like:
- "What documents have I uploaded?"
- "Summarize my PDF"
- "What's on my calendar?"
- "Draft an email about X"
### **3. Voice Agent**
1. Upload files (optional)
2. Click microphone or type command
3. Click "Execute Command"
4. Watch agent reasoning in real-time
5. Receive voice + text response
## π Why LifeAdmin AI?
### **Judging Criteria Alignment**
#### β
**Design/Polished UI-UX**
- Clean, modern interface with Gradio 6
- Responsive mobile design
- Intuitive tab-based navigation
- Real-time feedback and progress indicators
- Professional gradient theming
#### β
**Functionality**
- **Autonomous agents:** Full planning-reasoning-execution cycle
- **MCP integration:** 7 custom MCP tools
- **Advanced features:** RAG, persistent memory, multi-modal I/O
- **Gradio 6 features:** SSR, mobile support, async operations
#### β
**Creativity**
- Novel combination of voice + chat + manual control
- Intelligent form-filling with fuzzy matching
- Thought trace visualization for transparency
- Context-aware tool selection
#### β
**Documentation**
- Comprehensive README with architecture diagrams
- Demo video showing all features
- Clear setup instructions
- Code comments and docstrings
#### β
**Real-World Impact**
- **Target users:** 100M+ professionals worldwide
- **Time savings:** 4-6 hours/week per user
- **Pain points addressed:** Forms, emails, documents, scheduling
- **Scalability:** Cloud-ready architecture
###π **Quick Start**
Try it Online
π Open LifeAdmin AI on Hugging Face
https://huggingface.co/spaces/MCP-1st-Birthday/LifeAdmin-AI
Run Locally
bash# Clone repository
git clone https://github.com/MCP-1st-Birthday/LifeAdmin-AI.git
cd LifeAdmin-AI
# Install dependencies
pip install -r requirements.txt
# Set up API keys (at least one required)
export OPENAI_API_KEY="your_key"
export GROQ_API_KEY="your_key"
export ELEVENLABS_API_KEY="your_key"
export HYPERBOLIC_API_KEY="your_key"
# Launch app
python app.py
Visit http://localhost:7860
## π€ Team
**Solo Developer:** Maheen Touqeer
**HuggingFace:** https://huggingface.co/Maheentouqeer1
**LinkedIn:** https://www.linkedin.com/in/maheen-touqeer-3b5b03289/
## π Acknowledgments
Built for **MCP's 1st Birthday Hackathon** hosted by:
- **Anthropic** - For the amazing Claude API and MCP protocol
- **Gradio Team** - For Gradio 6 and excellent documentation
- **Hugging Face** - For hosting infrastructure and community
- **Sponsor APIs** - OpenAI, Groq, ElevenLabs, Hyperbolic
Special thanks to the MCP community for inspiration and support! π
## π Contact & Feedback
**Questions?** Reach out on Hugging Face Space Community
**Found it useful?** β Star this Space and share with your network!
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|