AI-Powered DevOps Automation Platform
Talk to your infrastructure like you talk to a friend. Deploy, monitor, and manage everything with natural language.
- Install GenieOps from the VS Code Marketplace
- Click the ๐ง icon in the Activity Bar (left sidebar)
- Configure your Gemini API Key:
- Get your free key from Google AI Studio
- Paste it when prompted (or in Settings โ GenieOps โ Google API Key)
- Start chatting! Press
Cmd+Shift+O(Mac) orCtrl+Shift+O(Windows/Linux)
Just type what you want in plain English:
"Deploy my app to AWS"
"Show me all running containers"
"Create a CI/CD pipeline for this Next.js project"
"Scale my Kubernetes deployment to 5 replicas"
"What's using the most CPU in production?"
| Provider | What You Can Do |
|---|---|
| AWS | Deploy Lambda functions, manage S3, EC2, ECS, CloudWatch monitoring |
| Google Cloud | Cloud Run, GKE clusters, Cloud Functions, GCS storage |
| Azure | App Service, AKS, Functions, Blob Storage, Container Registry |
- Docker: Build, run, stop, logs, inspect containers and images
- Kubernetes: Deploy, scale, update pods, services, and deployments
- Helm: Install and manage charts
- GitHub: Repos, PRs, Issues, Actions workflows
- GitLab: Pipelines, Merge Requests
- Jenkins: Jobs and builds
- Slack: Send deployment notifications and alerts
- Jira: Create issues, update tickets, sprint management
GenieOps features a modern chat interface inspired by GitHub Copilot:
- Multiple AI Models: Choose between Gemini Pro, Gemini Flash, Claude, GPT-4, and Perplexity
- Agent Modes: Agent, Assistant, Code, or DevOps specialized modes
- Smart Suggestions: Context-aware command suggestions
- Real-time Typing Indicators: See when GenieOps is thinking
- Visual Message Groups: Clean, organized conversation view
- ๐ฏ Project Auto-Detection: Automatically detects your stack (Next.js, React, Node.js, Python, etc.)
- ๐ Secure Credential Storage: All API keys safely stored in VS Code's secure storage
- ๐ Real-time Monitoring: Live status updates for deployments and infrastructure
- ๐ Workflow Automation: Pre-built templates for common DevOps tasks
- ๐ Command History: Track and replay previous operations
- ๐ Multi-Cloud: Switch between AWS, GCP, and Azure seamlessly
- Open VS Code Settings (
Cmd+,on Mac,Ctrl+,on Windows/Linux) - Search for "GenieOps"
- Enter your Gemini API Key (get one free at Google AI Studio)
Configure additional models for specialized tasks:
- Claude API Key: For complex reasoning tasks
- OpenAI API Key: For GPT-4 support
- Anthropic API Key: For Claude 3.5
Connect your cloud accounts:
- Click the ๐ง icon in the Activity Bar
- Go to "Connections" view
- Click "+" to add AWS, GCP, or Azure credentials
Open Chat (Cmd+Shift+O) and type:
"Deploy my Next.js app to Vercel"
"Show me all running containers"
"Stop the nginx container"
"Build a Docker image from the current directory"
"Scale my web deployment to 5 replicas"
"Show me pods in the production namespace"
"Update the config map with new environment variables"
"Generate a GitHub Actions workflow for this project"
"Create a Dockerfile optimized for production"
| Shortcut | Action |
|---|---|
Cmd+Shift+O (Mac) or Ctrl+Shift+O (Win/Linux) |
Open Chat Panel |
Cmd+Shift+G (Mac) or Ctrl+Shift+G (Win/Linux) |
Run Quick Command |
GenieOps is built with:
- TypeScript for type safety
- VS Code Extension API for native integration
- Gemini AI as the primary intelligence layer
- MCP (Model Context Protocol) for tool orchestration
- Secure credential storage in VS Code's SecretStorage
Want to contribute or customize GenieOps?
# Clone the repository
git clone https://github.com/Kartikvyas1604/GenieOps.git
cd GenieOps
# Install dependencies
npm install
# Compile TypeScript
npm run compile
# Watch mode for development
npm run watchThen press F5 in VS Code to launch the Extension Development Host.
Contributions are welcome! Please:
- Fork the repository
- Create a feature branch
- Commit your changes
- Push to your fork
- Open a Pull Request
MIT License - see LICENSE file for details
Go to Settings โ GenieOps โ Google API Key and enter your Gemini API key
Check your credentials in the Connections panel. Click the service to re-authenticate.
Try reloading VS Code (Cmd+R or Ctrl+R)
Make sure you've clicked the ๐ง genie icon in the Activity Bar (left sidebar)
Q: Is GenieOps free?
A: Yes! GenieOps is open source. You only pay for your cloud/API usage (Gemini has a generous free tier).
Q: What's the difference between Agent and Assistant modes?
A: Agent mode can execute actions automatically, while Assistant mode provides guidance without making changes.
Q: Can I use this in production?
A: Yes, but always review commands before execution and test in staging first.
Q: Which AI model should I use?
A: Gemini Pro is the best balance of speed and capability. Use Gemini Flash for quick queries or Claude/GPT-4 for complex reasoning.
Built with:
- Gemini AI - Primary AI engine
- VS Code Extension API
- Model Context Protocol
Made with ๐ by developers, for developers
Report Bug ยท Request Feature ยท Documentation
โญ Star us on GitHub if GenieOps helps you!
The extension exposes 35+ tools via Model Context Protocol:
docker_list_containers- List all containersdocker_run_container- Run a new containerdocker_stop_container- Stop running containerdocker_build_image- Build Docker imagedocker_push_image- Push image to registry
k8s_get_pods- List pods in namespacek8s_apply_manifest- Apply YAML manifestk8s_scale_deployment- Scale deployment replicask8s_rollout_status- Check rollout statushelm_install- Install Helm chart
aws_lambda_invoke- Invoke Lambda functionaws_s3_list_buckets- List S3 bucketsgcp_run_deploy- Deploy to Cloud Runazure_function_invoke- Invoke Azure Function
git_clone- Clone repositorygit_create_branch- Create new branchgit_create_pr- Create pull requestgithub_trigger_workflow- Trigger GitHub Action
Built-in patterns for production reliability:
import { resilience, CircuitBreaker, RetryManager } from './utils';
// Combined resilience policy
const policy = resilience()
.withCircuitBreaker({ failureThreshold: 5 })
.withRetry({ maxAttempts: 3, backoffMultiplier: 2 })
.withBulkhead({ maxConcurrent: 10 })
.withTimeout(30000);
const result = await policy.execute(() => apiCall());- Circuit Breaker: Prevents cascading failures
- Retry with Backoff: Exponential backoff with jitter
- Bulkhead: Concurrency isolation
- Rate Limiting: Token bucket & sliding window
- Timeout Control: Configurable operation timeouts
Comprehensive metrics collection:
import { metrics, commandMetrics } from './utils';
// Track command execution
commandMetrics.executed.inc();
commandMetrics.duration.time(async () => {
await executeCommand();
});
// Export Prometheus metrics
const prometheusOutput = metrics.exportPrometheus();- Counter: Monotonically increasing values
- Gauge: Values that can go up/down
- Histogram: Distribution of values
- Timer: Duration measurements with percentiles
# Run all tests
npm test
# Run specific test suite
npm test -- --grep "GitHub"
# Run with coverage
npm run test:coverageTest coverage includes:
- Unit tests for all integrations
- AI orchestrator tests
- NLP parsing tests
- Workflow engine tests
- MCP tool tests
We welcome contributions! Please see our Contributing Guide for details.
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'feat: 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.
- Model Context Protocol for the MCP specification
- Anthropic for Claude AI
- VS Code for the extension API
Built with โค๏ธ for the DevOps community