Team Ai
Apppublic

Agents-MCP-Hackathon/OutageOdyssey

sourceHugging Faceapache-2.0updated 1y agoView on Hugging Face
6likes
App README

tags:

  • โ€”mcp-server-track
  • โ€”agent-demo-track
  • โ€”custom-component-track ---

๐Ÿšจ Outage Odyssey ๐Ÿงฉ

Transform boring IT incidents into hilarious learning experiences!

Outage Odyssey is an innovative hackathon project that converts mundane IT incident reports into engaging, educational comic stories. By leveraging AI agents and visual generation, it transforms technical troubleshooting into an entertaining and memorable learning experience.

๐ŸŽฏ What it Does

Outage Odyssey takes your IT incidents through a magical transformation:

  1. 1.๐Ÿ” Analyze - Deep dive into your incident details
  2. 2.๐Ÿงฉ Find - Identify the root cause with precision
  3. 3.๐Ÿ› ๏ธ Solve - Generate actionable solution recommendations
  4. 4.๐Ÿ“š Create - Craft entertaining comic narratives
  5. 5.๐ŸŽจ Generate - Produce comic-style visual panels
  6. 6.๐ŸŽฌ Deliver - Present as an educational comic strip

โœจ Key Features

  • โ€”Smart Incident Analysis - Automatically categorizes and analyzes IT incidents
  • โ€”Root Cause Detection - Uses AI to identify underlying problems
  • โ€”Solution Recommendations - Generates actionable step-by-step resolution guides
  • โ€”Comic Story Generation - Transforms technical details into engaging narratives
  • โ€”Visual Comic Panels - Generates comic-style illustrations
  • โ€”Multi-format Support - Handles text, PDFs, logs, and documentation
  • โ€”Interactive UI - Beautiful Gradio interface with incident templates
  • โ€”Educational Focus - Makes learning from failures fun and memorable

Demo Video Link

Here is the demo video link: https://www.loom.com/share/93182321fd5b40afa5d20696e61e880b?sid=0bf3c689-70ef-4343-ae8f-dd8d492ff49c

๐Ÿš€ Quick Start

Installation

bash
git clone https://huggingface.co/Agents-MCP-Hackathon/OutageOdyssey
cd OutageOdyssey
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt

Running the MCP server

bash
python mcp_server.py

Running the Gradio App locally

bash
python app.py

Example Incident Input

๐Ÿšจ Server Outage Incident
Incident ID: INC-2024-001
Title: Production Server Unresponsive
Severity: Critical
Description: Main application server became unresponsive at 14:30 UTC
Impact: 500+ users affected, business operations halted
Symptoms: High CPU usage, memory exhaustion
Actions taken: Attempted restart, no success

See [image] for more examples.

๐Ÿ› ๏ธ Technical Architecture

The project is built on several key components:

  • โ€”Agent Framework: Uses smolagents for multi-step AI reasoning
  • โ€”UI Framework: Custom Gradio interface with comic-themed styling
  • โ€”Image Processing: PIL integration for comic panel generation
  • โ€”File Handling: Support for various incident report formats
  • โ€”Streaming: Real-time agent response streaming

๐ŸŽจ Supported File Types

Upload your incident documentation in various formats:

  • โ€”.pdf - Incident reports
  • โ€”.docx - Documentation
  • โ€”.txt - Plain text logs
  • โ€”.json - Structured data
  • โ€”.log - System logs
  • โ€”.csv - Data exports
  • โ€”.xlsx - Spreadsheets

๐ŸŽญ How It Works

  1. 1.Input: Describe your incident or upload documentation
  2. 2.Analysis: AI agent analyzes symptoms and context
  3. 3.Root Cause: Identifies underlying technical issues
  4. 4.Solution: Generates step-by-step resolution recommendations
  5. 5.Story: Creates an entertaining comic narrative
  6. 6.Visuals: Generates comic-style illustrations
  7. 7.Output: Delivers complete educational comic strip

๐ŸŽช Example Outputs

The system transforms this:

"Database queries timing out, users reporting slow page loads"

Into this:

๐ŸŽญ Comic Story: "The Tale of the Grumpy Database Dragon who was hoarding all the memory until the brave DevOps Knight optimized the queries!"

Complete with comic panels showing the "Database Dragon" and resolution steps!

The Tale of the Grumpy Database Dragon

[image]

Some More Example Output Images ....

The Database Resource Exhaustion Case

[image]

The Great Banking BlackOut

[image]

The Epic Server Room Flood

[image]

The Mystery of uneven User flow

[image]

Finally, Issue Resolved

[image]

๐ŸŒŸ Hackathon Integration

This project was specifically designed for Gradio Agents & MCP Hackathon featuring:

๐Ÿ† Technologies

  • โ€”HuggingFace - AI model hosting and deployment
  • โ€”Gradio - Interactive web interface framework
  • โ€”MCP - Model Context Protocol integration
  • โ€”Anthropic - Claude AI models for reasoning root cause analysis
  • โ€”OpenAI - GPT models and image generation
  • โ€”smolagents - Multi-step agent framework
  • โ€”Nebius - Cloud infrastructure and compute.
  • โ€”Mistral - Advanced language models and AI reasoning
  • โ€”Hyperbolic - High-performance AI inference platform

๐ŸŽฏ System Features

  • โ€”๐Ÿค– AI/ML Innovation - Novel use of agents for IT education
  • โ€”๐ŸŽจ Creative Tech - Unique combination of technical analysis and storytelling
  • โ€”๐Ÿ“š EdTech - Making technical learning engaging and memorable
  • โ€”๐Ÿ› ๏ธ DevOps Tools - Practical utility for IT professionals

Cloud Deployment

Compatible with major platforms:

  • โ€”Hugging Face Spaces
  • โ€”Google Colab
  • โ€”AWS/Azure/GCP
  • โ€”Nebius Cloud

โž• Enhancements

This project can be extended with:

  • โ€”Additional incident categories
  • โ€”More visual styles
  • โ€”Integration with monitoring tools
  • โ€”Multi-language support
  • โ€”Advanced root cause algorithms
  • โ€”Auto Solution/fix applying tools
  • โ€”Incident to Animated Video generation

๐Ÿ“„ License

Open source hackathon project - see individual component licenses.

๐ŸŽ‰ Acknowledgments

Special thanks to our hackathon sponsors who made this creative fusion of AI, education, and humor possible:

  • โ€”[HuggingFace](https://huggingface.co/) - AI model hosting and deployment
  • โ€”[Gradio](https://gradio.app/) - Interactive web interface framework
  • โ€”[MCP](https://modelcontextprotocol.io/) - Model Context Protocol integration
  • โ€”[Anthropic](https://anthropic.com/) - Claude AI models for reasoning
  • โ€”[OpenAI](https://openai.com/) - GPT models and image generation
  • โ€”[smolagents](https://github.com/huggingface/smolagents) - Multi-step agent framework
  • โ€”[Nebius](https://nebius.com/) - Cloud infrastructure and compute
  • โ€”[Mistral](https://mistral.ai/) - Advanced language models and AI reasoning
  • โ€”[Hyperbolic](https://hyperbolic.xyz/) - High-performance AI inference platform
  • โ€”[Modal](https://modal.com/) - Serverless cloud computing for AI workloads

๐Ÿš€ Built for the Gradio Agents MCP Hackathon

Making IT incidents fun to learn from, one comic at a time! ๐ŸŽญ