Illustration of a person in a red shirt and red hat with a hammer symbol on each, with the text 'MTR Magic Key Assistant' in bold on a gold background

Magic Key Assistant

Secure, locally fine-tuned Language Model deployed as an operations-facilitating assistant in the Magic Key offices.


Utilizing seven distinct personalities to host meetings, run background web searches, find new opportunities, and suggest business enhancements.

Actively learning and self-healing its understanding of business operations via interviews, meeting notes, and observation.

Autonomous Platform

Magic Key
Assistant

Institutional Operating System with 7 Autonomous Personas & Sprint Logic

Project Summary

Magic Key Assistant is a comprehensive Business Operations Platform for Discord. It transcends simple chatbots by integrating seven autonomous AI personas (Manager, Chief, Coordinator, Scout, Dreamer, Rainmaker, Steward) that act as virtual staff. The system enforces weekly sprint cycles, manages action items with intelligent escalation, and maintains institutional knowledge through a self-healing RAG architecture that proactively interviews partners to fill knowledge gaps.

Core Capabilities

πŸ€– 7-Persona Workforce Specialized agents for Management, Strategy (Chief), Ops (Coordinator), Research (Scout), Creative (Dreamer), Sales (Rainmaker), and Health (Steward).
πŸ”„ Sprint Cycles Automated weekly sprints (Mon-Sun) with built-in retrospectives, completion metrics, and "End-of-Week" reflection summaries in Discord.
🚨 Intelligent Escalation The bot proactively nags partners about blocked action items (2+ weeks) and unresponsive knowledge gap questions to ensure accountability.
🧠 RAG & Active Learning Retrieval Augmented Generation with a "Closed Loop" system: User feedback (πŸ‘/πŸ‘Ž) and targeted interviews directly adopt into the permanent vector database.
⚑ Auto-Action Extraction Answers provided during knowledge gap interviews are parsed by AI to automatically generate and assign action items with priorities.
🌐 Admin Control Center FastAPI-based web dashboard for monitoring system health, managing API keys, swapping LLM backends (OpenAI/Anthropic), and viewing logs.

Technical Implementation

Python 3.12+ Discord.py 2.0+ SQLite 3 FastAPI LangChain ChromaDB Tavily API

Built with a modular "Cogs" architecture allowing hot-swapping of features. Uses asynchronous persona mixins for shared behaviors and a robust migration system for database schema evolution.

Impact & Outcomes

  • Reduced Operational Drag: Weekly sprints and auto-generated action items remove the friction of project management.
  • Institutional Memory: The "Chief" and "Steward" personas ensure that strategic decisions and wins are recorded and recalled, preventing knowledge decay.
  • 24/7 Opportunity Scanning: "Scout" and "Rainmaker" operate continuously to identify web opportunities and manage pipelines without human prompting.
  • Accountability Culture: Automated escalations for blocked items create a culture of follow-through without personal confrontation.
Screenshot of a message from Magic Key Assistant app indicating memory has been stored and added to the memos folder, with a preview of strategic and operational focus for MTR Magic Key.
Graphic of a wizard with a red hat and robe, labeled 'MTR Magic Key Assistant' on a gray background.
Screenshot of a weekly self-assessment report titled 'Weekly Self-Assessment Report' with various sections including engagement this week, learning loop health, feature health, and recommendations. The report displays statistics on questions asked, responses, commands used, gaps closed, and loop closure rate, along with suggested actions for improvement.
Screenshot of a Discord chat conversation discussing the technical features and functionalities of an AI assistant called Magic Key Assistant, with multiple users and messages.