This is a submission for the GitHub Copilot CLI Challenge
What I Built
I built a Test-NetConnection interactive assistant that runs continuous network checks to a target host, logs results, and provides both statistical summaries and AI-powered observations. The assistant supports background monitoring tasks, listing active jobs, and on-demand log analysis. It’s designed for quick, repeatable troubleshooting of latency spikes and packet loss without leaving the terminal.
Key features:
-
/run <host> <minutes> <threshold_ms>starts a background monitoring task. -
/listshows active or completed background tasks. -
/analysissummarizes logs and uses GitHub Copilot to produce AI observations. - JSONL logging for both raw events and alerts.
Demo
Run the assistant:
python .\tnc_interactiveAssistant.py
Example session:
- Start a monitor:
/run 8.8.8.8 1 120 - List tasks:
/list - Analyze logs with AI observations:
/analysis
My Experience with GitHub Copilot CLI
I used GitHub Copilot CLI to quickly iterate on command handling, background task orchestration, and the AI analysis flow. It helped me:
- Draft the command parsing and task management scaffolding.
- Refactor analysis logic into reusable prompt context builders.
- Embed GitHub Copilot's agentic workflows to perform analysis (especially useful when you have large dataset)
It accelerated development while keeping the solution focused on a clean CLI experience.
Technologies
- Python 3.10+
- GitHub Copilot SDK
- Asyncio for Concurrency
Repository
https://github.com/turbotmy/NetChatAI
Author
GitHub: @turbotmy


Top comments (0)