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.
