An intelligent multi-agent AI system that acts as your virtual DevOps engineer. Monitor GitHub Pull Requests, perform deep security audits, execute code in sandboxes, and auto-generate documentation — all while maintaining full observability through Weights & Biases Weave. Sit back, relax ☕, and let AI handle your DevOps workflows!
- 🔍 Automated PR Audits – AI-powered analysis of every pull request with detailed insights
- 🛡️ Security Scanning – Detect hardcoded secrets, SQL injections, and vulnerable dependencies
- ⚡ Runtime Validation – Execute code in secure sandboxes to verify logic and catch bugs
- 📝 Auto Documentation – Generate comprehensive docs from code changes automatically
- 📊 Real-Time Observability – Full tracing and monitoring via W&B Weave integration
- 🏥 Repository Health Scores – Track code quality and security trends over time
- 🤝 Multi-Agent Collaboration – Parallel agent execution using Google Agent Development Kit
- 🔔 GitHub Webhook Integration – Seamless PR event monitoring and automated responses
- 🎯 Smart Analysis – Powered by Gemini 1.5 Pro for reasoning and Gemini 1.5 Flash for testing
- 💬 Live Agent Terminal – Watch AI agents think and collaborate in real-time
- Next.js – React framework with server-side rendering
- TypeScript – Type-safe development
- TailwindCSS – Modern utility-first styling
- Framer Motion – Smooth animations and transitions
- Radix UI – Accessible component primitives
- Lucide React – Beautiful icon library
- Node.js / Express.js – RESTful API server
- FastAPI – High-performance Python backend for AI agents
- MongoDB – Audit history and status tracking
- Socket.io – Real-time bidirectional communication
- Google Agent Development Kit (ADK) – Multi-agent orchestration framework
- Gemini 1.5 Pro – Advanced reasoning and security analysis
- Gemini 1.5 Flash – Fast testing and linting operations
- Weights & Biases Weave – AI observability and tracing
- GitHub Webhooks – Automated PR event handling
- Docker – Containerized deployment (optional)
- Python 3.10+ – Agent engine runtime
- Node.js 18+ and npm/pnpm
- Python 3.10+
- MongoDB instance (local or cloud)
- GitHub account with webhook access
- Google AI API key (Gemini)
- Weights & Biases account
git clone https://github.com/BikramMondal5/DevOps-Ghostwriter.git
cd DevOps-Ghostwriternpm install
# or
pnpm installcd backend
npm install
cd ..cd agent-engine
pip install -r requirements.txt
cd ..Create a .env file in the root directory (see EXAMPLE_ENV for reference):
# GitHub
GITHUB_TOKEN=your_github_token
GITHUB_WEBHOOK_SECRET=your_webhook_secret
# Google AI
GOOGLE_API_KEY=your_gemini_api_key
# MongoDB
MONGODB_URI=your_mongodb_connection_string
# Weights & Biases
WANDB_API_KEY=your_wandb_api_key
# JWT Secret
JWT_SECRET=your_jwt_secretTerminal 1 - Frontend (Next.js):
npm run devTerminal 2 - Backend (Node.js):
cd backend
node server.jsTerminal 3 - Agent Engine (FastAPI):
cd agent-engine
python main.pyOpen your browser and navigate to http://localhost:3000
Note: Add your application screenshots to showcase the dashboard, audit console, and real-time agent activity!
- 🔐 Sign Up / Log In – Create an account or authenticate with your credentials
- 🔗 Connect GitHub Repository – Link your repositories for automated monitoring
- ⚙️ Configure Webhooks – Set up GitHub webhooks to trigger PR audits automatically
- 📊 View Dashboard – Monitor repository health scores and security trends
- 🔍 Audit Pull Requests – Watch AI agents analyze PRs in real-time
- 🛡️ Review Security Findings – Check detected vulnerabilities and security issues
- 📈 Track Observability – Dive deep into agent reasoning traces via W&B Weave
- 📝 Export Documentation – Download auto-generated docs for your code changes
# Test individual agents
cd Agents
python test_individual_agents.py
# Test caching functionality
python test_cache.py
# Run agent test suite
.\test_agents.ps1Got ideas? Found a bug? 🐞
We welcome contributions from the community! Here's how you can help:
- 🌟 Star this repository to show your support
- 🐛 Report bugs by opening an issue
- 💡 Suggest new features or improvements
- 🔧 Submit pull requests with enhancements
- 📖 Improve documentation
- 🧪 Add test coverage
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
