Skip to content

7vmzv/openops

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenOps Copilot

AI-powered DevOps assistant that analyzes logs and answers questions about your infrastructure.

Quick Start

# 1. Start services
cd infra
docker-compose up -d

# 2. Generate test data
cd ../producers/log-producer
python producer.py  # Run for 30 seconds, then Ctrl+C

# 3. Process logs
cd ../../services/event-processor
python processor.py  # Run for 20 seconds, then Ctrl+C

# 4. Start API
cd ../api-gateway
python -m app.main

# 5. Use CLI
cd ../../frontend/cli
python openops.py query "What database errors are happening?"

What It Does

  • Ingests logs from your applications
  • Understands context using AI embeddings
  • Answers questions like "What caused the errors?" or "Show me slow queries"
  • Provides insights about system health and issues

Architecture

Logs → Kafka → AI Processing → Vector DB → LLM → Answers

Services

CLI Commands

# Check system health
openops health

# Ask questions
openops query "What errors happened?"
openops query "Show me payment issues" --service payment-service

# Search logs directly
openops search "timeout" --limit 5

# Interactive mode
python chat.py

Status

Working: Log processing, AI analysis, API, CLI
🚧 Next: Metrics, anomaly detection, web UI

Requirements

  • Docker Desktop
  • Python 3.11+
  • 4GB+ RAM

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages