<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Kevin Lee</title>
    <description>The latest articles on Forem by Kevin Lee (@kevinlee_aro).</description>
    <link>https://forem.com/kevinlee_aro</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3727298%2F3c36405c-6552-4885-8ac1-27fd1a77b3ae.png</url>
      <title>Forem: Kevin Lee</title>
      <link>https://forem.com/kevinlee_aro</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/kevinlee_aro"/>
    <language>en</language>
    <item>
      <title>Network Diagnostics Terminal</title>
      <dc:creator>Kevin Lee</dc:creator>
      <pubDate>Wed, 04 Feb 2026 04:02:53 +0000</pubDate>
      <link>https://forem.com/kevinlee_aro/network-diagnostics-terminal-559b</link>
      <guid>https://forem.com/kevinlee_aro/network-diagnostics-terminal-559b</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/github-2026-01-21"&gt;GitHub Copilot CLI Challenge&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F953ogodmrkdrdsirbxxj.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F953ogodmrkdrdsirbxxj.png" alt="Cover image: network diagnostics terminal" width="800" height="533"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;p&gt;Key features:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;/run &amp;lt;host&amp;gt; &amp;lt;minutes&amp;gt; &amp;lt;threshold_ms&amp;gt;&lt;/code&gt; starts a background monitoring task.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;/list&lt;/code&gt; shows active or completed background tasks.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;/analysis&lt;/code&gt; summarizes logs and uses GitHub Copilot to produce AI observations.&lt;/li&gt;
&lt;li&gt;JSONL logging for both raw events and alerts.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;Run the assistant:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;code&gt;python .\tnc_interactiveAssistant.py&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Example session:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Start a monitor: &lt;code&gt;/run 8.8.8.8 1 120&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;List tasks: &lt;code&gt;/list&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Analyze logs with AI observations: &lt;code&gt;/analysis&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Demo video/screenshot:&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fn61s56ff6uchyjyhq9tr.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fn61s56ff6uchyjyhq9tr.png" alt=" " width="800" height="310"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  My Experience with GitHub Copilot CLI
&lt;/h2&gt;

&lt;p&gt;I used GitHub Copilot CLI to quickly iterate on command handling, background task orchestration, and the AI analysis flow. It helped me:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Draft the command parsing and task management scaffolding.&lt;/li&gt;
&lt;li&gt;Refactor analysis logic into reusable prompt context builders.&lt;/li&gt;
&lt;li&gt;Embed GitHub Copilot's agentic workflows to perform analysis (especially useful when you have large dataset)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It accelerated development while keeping the solution focused on a clean CLI experience.&lt;/p&gt;

&lt;h2&gt;
  
  
  Technologies
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Python 3.10+&lt;/li&gt;
&lt;li&gt;GitHub Copilot SDK&lt;/li&gt;
&lt;li&gt;Asyncio for Concurrency&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Repository
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://github.com/turbotmy/NetChatAI" rel="noopener noreferrer"&gt;https://github.com/turbotmy/NetChatAI&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Author
&lt;/h2&gt;

&lt;p&gt;GitHub: &lt;a class="mentioned-user" href="https://dev.to/turbotmy"&gt;@turbotmy&lt;/a&gt;&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>githubchallenge</category>
      <category>cli</category>
      <category>githubcopilot</category>
    </item>
  </channel>
</rss>
