Sentinel CLI: A Self-Healing AWS Monitoring Agent Powered by GitHub Copilot

# devchallenge# githubchallenge# cli# githubcopilot
Sentinel CLI: A Self-Healing AWS Monitoring Agent Powered by GitHub CopilotMahesh

What I Built I built Sentinel CLI, a Python-based intelligent agent designed to bridge the gap...

What I Built
I built Sentinel CLI, a Python-based intelligent agent designed to bridge the gap between cloud infrastructure monitoring and automated remediation. It uses boto3 to scan the us-east-1 region for stopped EC2 instances and, rather than just alerting, it utilizes the GitHub Copilot CLI to reason and suggest the exact CLI commands needed to restore the service.

Demo
GitHub Repository: https://github.com/mpawar006/sentinel-cli




My Experience with GitHub Copilot CLI
Building this project on my ThinkPad T490 highlighted the power of "Agentic DevOps."

  • Intelligent Reasoning: I integrated my Python script directly with the Copilot CLI using subprocess. This allowed the script to pass context to the AI and receive sophisticated, production-ready AWS commands in return.

  • Problem Solving: During development, Copilot helped me resolve Windows-specific UTF-8 encoding issues so that my terminal alerts (🚨) and formatting looked professional and clear.

  • Human-in-the-Loop: The CLI's interactive nature allowed me to build a secure approval flow, ensuring that an architect always verifies a "healing" command before execution.