GitHunt
HA

hashkanna/nova-devops-assistant

๐Ÿค– Nova DevOps Assistant

Voice-First AI DevOps Assistant - Your SRE teammate that never sleeps

A hackathon project that transforms DevOps operations with natural voice commands and intelligent AI analysis. Built with Next.js, OpenAI Whisper, and a terminal-inspired UI.
Developed as part of Tech Europe London Hackathon on June 28, 2025. https://lu.ma/london-hack?tk=XOP0D6

Nova DevOps Assistant Next.js TypeScript Voice

โœจ Features

๐ŸŽค Voice-First Interface

  • Real-time voice commands with OpenAI Whisper transcription
  • Natural language queries like "Show me error logs from the past hour"
  • Hands-free operation perfect for incident response

๐Ÿค– AI-Powered Analysis

  • Intelligent incident detection and root cause analysis
  • Contextual responses based on system state
  • Automated fix suggestions with confidence scores
  • Security threat analysis and mitigation recommendations

๐Ÿ“Š Real-Time Monitoring

  • Live system metrics (CPU, Memory, Error rates, Response times)
  • 100+ realistic log entries spanning 8 hours of activity
  • 20+ incident scenarios from critical to resolved
  • Time-based filtering and smart log aggregation

๐ŸŽฏ Demo-Ready Features

  • Line-by-line result animations for impressive presentations
  • Terminal-style UI with authentic DevOps aesthetics
  • Comprehensive mock data simulating enterprise-scale infrastructure
  • Professional incident response workflows

๐Ÿš€ Quick Start

Prerequisites

  • Node.js 18+
  • npm or yarn

Installation

# Clone the repository
git clone <repository-url>
cd nova-devops-assistant

# Install dependencies
npm install

# Start development server
npm run dev

Visit http://localhost:3000 and start using voice commands!

Optional: Real Voice Transcription

For production-quality voice recognition, add your OpenAI API key:

# Create .env.local file
echo "OPENAI_API_KEY=your_openai_api_key_here" > .env.local

Optional: Weaviate Knowledge Base

For semantic search over 50+ DevOps runbooks and procedures:

# Start Weaviate (requires Docker)
./scripts/setup-weaviate.sh

# Or manually:
docker-compose up -d
curl -X POST http://localhost:3000/api/knowledge -H "Content-Type: application/json" -d '{"action": "initialize"}'

Note: The app works great without Weaviate using intelligent fallback search!

๐ŸŽค Voice Commands

System Monitoring

  • "What's the current system status?"
  • "Show me the CPU usage"
  • "Are there any active incidents?"

Log Analysis

  • "Show me error logs from the past hour"
  • "Display recent 10 log entries"
  • "Show warning logs from last 30 minutes"

Security Queries

  • "Were there any SQL injection attacks?"
  • "Show me security incidents"
  • "Check for DDoS attacks"

Incident Management

  • "What's wrong with the payment service?"
  • "Show database connection issues"
  • "Check the API gateway status"

Knowledge Base (with Weaviate)

  • "How do I fix Kubernetes pods?"
  • "Show me database troubleshooting guides"
  • "Help with Docker memory issues"
  • "Guide for SSL certificate renewal"

๐Ÿ—๏ธ Architecture

Tech Stack

  • Frontend: Next.js 14+ with App Router
  • Styling: Tailwind CSS v4
  • Voice: OpenAI Whisper API (optional)
  • Knowledge Base: Weaviate Vector Database (optional)
  • TypeScript: Full type safety
  • Animations: CSS3 + Framer Motion concepts

Key Components

  • VoiceInterface: Real-time voice recording and transcription
  • IncidentDashboard: AI analysis results with line-by-line animations
  • LogViewer: Advanced filtering and real-time log display
  • MockData: 100+ realistic DevOps scenarios

Smart Features

  • Time-based filtering: "past hour", "last 30 minutes"
  • Count-based queries: "recent 10 entries", "top 5 errors"
  • Intelligent parsing: Natural language to structured queries
  • Real-time animations: Professional demo presentation

๐Ÿ“Š Demo Scenarios

Critical Incidents

  • Payment service Stripe API timeouts
  • Database connection pool exhaustion
  • API gateway rate limiting crisis
  • Security threats and intrusions

Resolved Issues

  • Memory leaks in JWT middleware
  • Kafka consumer lag spikes
  • SSL certificate renewals
  • Container security scans

Operational Tasks

  • Deployment monitoring
  • Auto-scaling events
  • Backup verification
  • Performance optimization

๐ŸŽฌ Perfect for Demos

Hackathon Highlights

  • Voice-activated DevOps operations
  • Enterprise-scale mock data (15+ microservices)
  • Real-time animations showing AI "thinking"
  • Professional terminal aesthetics
  • Comprehensive incident response workflows

Impressive Features

  • 100+ log entries with realistic timestamps
  • 20+ incident scenarios with resolutions
  • Security analysis (SQL injection, DDoS, vulnerabilities)
  • Time-aware filtering and smart aggregation
  • Line-by-line result presentation

๐Ÿ› ๏ธ Development

Project Structure

nova-devops-assistant/
โ”œโ”€โ”€ app/                 # Next.js App Router
โ”‚   โ”œโ”€โ”€ api/            # API routes for analysis
โ”‚   โ””โ”€โ”€ page.tsx        # Main dashboard
โ”œโ”€โ”€ components/         # React components
โ”œโ”€โ”€ lib/               # Utilities and mock data
โ”œโ”€โ”€ public/            # Static assets
โ””โ”€โ”€ styles/            # Global styles

Key Files

  • lib/mock-data.ts - 100+ realistic DevOps scenarios
  • components/VoiceInterface.tsx - Voice recording and transcription
  • app/api/analyze/route.ts - AI analysis logic
  • components/LogViewer.tsx - Advanced log filtering

Adding More Data

// Add new log entries in lib/mock-data.ts
{
  id: 'log-new',
  timestamp: generateTimestamp(5),
  level: 'ERROR',
  service: 'your-service',
  message: 'Your error message',
  metadata: { /* additional context */ }
}

๐ŸŒŸ Future Enhancements

Production Features

  • Weaviate integration for semantic search
  • Real monitoring system connections
  • Multi-tenant support
  • Advanced AI models for analysis

Extended Capabilities

  • Slack/Teams integration
  • Runbook automation
  • Incident workflows
  • Custom dashboards

๐Ÿ“ License

MIT License - feel free to use for your own hackathons and projects!

๐Ÿค Contributing

This is a hackathon project, but contributions are welcome! Focus areas:

  • Additional voice command patterns
  • More realistic mock scenarios
  • Enhanced AI analysis logic
  • Better animations and UX

Built with โค๏ธ for the DevOps community

"Because the best SRE is the one who never stops listening" ๐ŸŽง

hashkanna/nova-devops-assistant | GitHunt