Spaces:
Running
Running
| 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 | |