{"id":29174859,"url":"https://github.com/sidgureja7803/100agents_hack","last_synced_at":"2026-04-14T10:32:06.632Z","repository":{"id":302059299,"uuid":"1010386185","full_name":"sidgureja7803/100Agents_Hack","owner":"sidgureja7803","description":"AI-powered DevOps assistant that generates production-grade Dockerfiles, CI/CD workflows, environment files, and deployment instructions from any GitHub repository.","archived":false,"fork":false,"pushed_at":"2025-07-08T23:02:34.000Z","size":1672,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-09T00:22:40.587Z","etag":null,"topics":["appwrite-database","clerk-auth","docker","express","github-actions","llama3","mem0","nodejs","reactjs","tailwind-css","tavly"],"latest_commit_sha":null,"homepage":"https://dev-pilot.vercel.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sidgureja7803.png","metadata":{"files":{"readme":"README-AI-AGENTS.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-29T00:39:48.000Z","updated_at":"2025-07-08T23:02:38.000Z","dependencies_parsed_at":"2025-06-30T11:33:35.540Z","dependency_job_id":null,"html_url":"https://github.com/sidgureja7803/100Agents_Hack","commit_stats":null,"previous_names":["sidgureja7803/100agents_hack"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sidgureja7803/100Agents_Hack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sidgureja7803%2F100Agents_Hack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sidgureja7803%2F100Agents_Hack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sidgureja7803%2F100Agents_Hack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sidgureja7803%2F100Agents_Hack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sidgureja7803","download_url":"https://codeload.github.com/sidgureja7803/100Agents_Hack/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sidgureja7803%2F100Agents_Hack/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265246220,"owners_count":23734109,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["appwrite-database","clerk-auth","docker","express","github-actions","llama3","mem0","nodejs","reactjs","tailwind-css","tavly"],"created_at":"2025-07-01T15:13:32.165Z","updated_at":"2026-04-14T10:32:06.627Z","avatar_url":"https://github.com/sidgureja7803.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🤖 AI Agent-Based DevOps Automation System\n\nA true AI agent-based DevOps automation system that uses LangGraph and multi-agent architecture to analyze codebases and generate production-ready CI/CD configurations.\n\n## 🎯 Features\n\n### ✨ Multi-Agent Architecture\n- **🤔 Planner Agent**: Analyzes repository structure and creates comprehensive analysis plan\n- **🔍 Analyzer Agent**: Detects tech stack, dependencies, and project patterns\n- **⚡ Generator Agent**: Creates optimized Dockerfile, GitHub Actions, and .env files\n- **✅ Verifier Agent**: Validates configurations for security and best practices\n\n### 🔄 Real-Time Processing\n- **📂 GitHub Repository Cloning**: Supports both public and private repositories\n- **📡 WebSocket Communication**: Live progress updates from each agent\n- **⏱️ Step-by-Step Progress**: Visual progress tracking with detailed agent logs\n- **🚨 Error Handling**: Comprehensive error reporting and recovery\n\n### 📊 Intelligent Analysis\n- **🔬 Tech Stack Detection**: Automatic detection of frameworks, languages, and tools\n- **📋 Dependency Analysis**: Analysis of package files and dependencies\n- **🏗️ Project Structure**: Deep analysis of codebase organization\n- **📈 Best Practices**: Security and performance optimization recommendations\n\n## 🚀 Quick Start\n\n### Prerequisites\n\n1. **Node.js 18+**\n2. **OpenAI API Key** (for GPT-4)\n3. **Git** (for repository cloning)\n\n### 1. Server Setup\n\n```bash\n# Navigate to server directory\ncd server\n\n# Install dependencies\nnpm install\n\n# Create environment file\ncp env.example .env\n\n# Add your OpenAI API key to .env\nOPENAI_API_KEY=your_openai_api_key_here\nPORT=3001\nCLIENT_URL=http://localhost:5173\n\n# Start the AI agent server\nnpm run dev\n```\n\n### 2. Client Setup\n\n```bash\n# Navigate to client directory\ncd client\n\n# Install dependencies\nnpm install\n\n# Add server URL to environment\necho \"VITE_SERVER_URL=http://localhost:3001\" \u003e .env.local\n\n# Start the React client\nnpm run dev\n```\n\n### 3. Access the Application\n\nOpen your browser and navigate to `http://localhost:5173`\n\n## 🔧 API Endpoints\n\n### Repository Management\n- `POST /api/clone-repo` - Clone GitHub repository\n- `POST /api/analyze` - Trigger AI agent analysis\n- `GET /api/files/:sessionId` - Get generated files\n- `GET /api/status/:sessionId` - Get session status\n- `GET /api/sessions` - List active sessions\n\n### Enhanced Generation\n- `POST /api/devpilot` - Enhanced generation with agents\n- `GET /health` - Health check\n\n### WebSocket Events\n- `progress` - Real-time progress updates from agents\n\n## 🤖 Agent Workflow\n\n### 1. Repository Cloning (10-30s)\n```\n📂 Cloning repository from GitHub\n├── Validates repository URL\n├── Handles authentication (if needed)\n└── Downloads to temporary directory\n```\n\n### 2. Planning Phase (15-45s)\n```\n🤔 Planner Agent\n├── Analyzes project structure\n├── Identifies key files and directories\n├── Creates analysis strategy\n└── Plans optimization approach\n```\n\n### 3. Analysis Phase (30-60s)\n```\n🔍 Analyzer Agent\n├── Detects programming languages\n├── Identifies frameworks and libraries\n├── Analyzes dependencies\n├── Determines deployment patterns\n└── Assesses project complexity\n```\n\n### 4. Generation Phase (45-90s)\n```\n⚡ Generator Agent\n├── Creates optimized Dockerfile\n├── Generates GitHub Actions workflow\n├── Produces .env.example template\n├── Applies best practices\n└── Optimizes for performance\n```\n\n### 5. Verification Phase (15-30s)\n```\n✅ Verifier Agent\n├── Validates syntax correctness\n├── Checks security practices\n├── Reviews performance optimizations\n├── Ensures compliance standards\n└── Provides improvement recommendations\n```\n\n## 📁 Project Structure\n\n```\n├── server/\n│   ├── agents/\n│   │   └── index.js          # Multi-agent system (LangGraph)\n│   ├── server.js             # Express server with WebSocket\n│   ├── index.js              # Legacy function (fallback)\n│   ├── package.json          # Server dependencies\n│   └── env.example           # Environment template\n├── client/\n│   ├── src/\n│   │   ├── components/\n│   │   │   ├── AgentProgress.tsx      # Real-time progress UI\n│   │   │   └── AgentGenerationForm.tsx # Enhanced form\n│   │   ├── lib/\n│   │   │   └── agentApi.ts            # WebSocket API client\n│   │   └── pages/\n│   │       └── EnhancedDashboard.tsx  # Updated dashboard\n│   └── package.json          # Client dependencies\n└── README-AI-AGENTS.md       # This documentation\n```\n\n## 🔧 Configuration\n\n### Environment Variables\n\n```bash\n# Required\nOPENAI_API_KEY=your_openai_api_key_here\nPORT=3001\nCLIENT_URL=http://localhost:5173\n\n# Optional (for observability)\nMEM0_API_KEY=your_mem0_api_key_here\nKEYWORDS_AI_API_KEY=your_keywords_ai_api_key_here\n\n# Optional (for private repos)\nGITHUB_TOKEN=your_github_token_here\n```\n\n### Tech Stack Support\n\nThe system automatically detects and supports:\n\n- **Frontend**: React, Vue.js, Angular, Next.js, Nuxt.js\n- **Backend**: Node.js, Python, Go, Java, .NET, PHP\n- **Databases**: PostgreSQL, MySQL, MongoDB, Redis\n- **Languages**: JavaScript, TypeScript, Python, Go, Java, C#, PHP, Rust\n- **Frameworks**: Express, FastAPI, Django, Spring, Laravel\n\n## 📊 Real-Time Features\n\n### Progress Tracking\n```\n[1/5] 📂 Cloning repository... (25%)\n[2/5] 🤔 Planner Agent analyzing... (35%)\n[3/5] 🔍 Analyzer detecting tech stack... (55%)\n[4/5] ⚡ Generator creating CI/CD... (80%)\n[5/5] ✅ Verifier validating... (100%)\n```\n\n### Live Agent Logs\n- Real-time messages from each agent\n- Timestamped activity log\n- Error reporting and recovery\n- Tech stack detection results\n\n### Generated Outputs\n- **Dockerfile**: Multi-stage, optimized, secure\n- **GitHub Actions**: Complete CI/CD with testing\n- **.env.example**: Environment variable template\n- **Verification Report**: Security and best practices\n\n## 🛠️ Advanced Usage\n\n### Custom Agent Configuration\n\n```javascript\n// Extend the agent system\nimport { createAgentWorkflow } from './agents/index.js';\n\nconst customWorkflow = createAgentWorkflow({\n  additionalAgents: ['security', 'performance'],\n  customPrompts: { ... },\n  advancedFeatures: true\n});\n```\n\n### WebSocket Integration\n\n```javascript\n// Frontend WebSocket usage\nimport { AgentAPI } from '@/lib/agentApi';\n\nconst socket = AgentAPI.initializeSocket((progress) =\u003e {\n  console.log(`Step: ${progress.step}, Progress: ${progress.progress}%`);\n});\n\nconst result = await AgentAPI.runCompleteWorkflow(repoUrl);\n```\n\n## 🔍 Troubleshooting\n\n### Common Issues\n\n1. **OpenAI API Key Issues**\n   ```bash\n   Error: OpenAI API key not configured\n   Solution: Add OPENAI_API_KEY to your .env file\n   ```\n\n2. **Repository Access Issues**\n   ```bash\n   Error: Repository not accessible\n   Solution: Add GITHUB_TOKEN for private repos\n   ```\n\n3. **WebSocket Connection Issues**\n   ```bash\n   Error: Cannot connect to server\n   Solution: Ensure server is running on correct port\n   ```\n\n### Performance Optimization\n\n- **Concurrent Processing**: Agents run in parallel where possible\n- **Caching**: Repository analysis results are cached\n- **Cleanup**: Automatic cleanup of temporary files\n- **Error Recovery**: Graceful handling of agent failures\n\n## 🤝 Contributing\n\n1. Fork the repository\n2. Create a feature branch: `git checkout -b feature/new-agent`\n3. Add your changes\n4. Test the agent system: `npm test`\n5. Submit a pull request\n\n## 📄 License\n\nMIT License - see LICENSE file for details\n\n## 🆘 Support\n\n- **Documentation**: Check this README and inline comments\n- **Issues**: Create GitHub issues for bugs or feature requests\n- **Discussions**: Use GitHub Discussions for questions\n\n---\n\n**Built with ❤️ using LangGraph, OpenAI GPT-4, and modern web technologies** ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsidgureja7803%2F100agents_hack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsidgureja7803%2F100agents_hack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsidgureja7803%2F100agents_hack/lists"}