<?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: tushar shah</title>
    <description>The latest articles on Forem by tushar shah (@tushar_shah).</description>
    <link>https://forem.com/tushar_shah</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%2F2147148%2F2447f70c-8e61-41fe-b1c0-be8d24cd42a7.jpg</url>
      <title>Forem: tushar shah</title>
      <link>https://forem.com/tushar_shah</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/tushar_shah"/>
    <language>en</language>
    <item>
      <title>I Built a $0 AI Code Reviewer Using GitHub Copilot CLI (No Vendor Lock-In)</title>
      <dc:creator>tushar shah</dc:creator>
      <pubDate>Mon, 26 Jan 2026 11:09:03 +0000</pubDate>
      <link>https://forem.com/tushar_shah/i-built-a-0-ai-code-reviewer-using-github-copilot-cli-no-vendor-lock-in-57ja</link>
      <guid>https://forem.com/tushar_shah/i-built-a-0-ai-code-reviewer-using-github-copilot-cli-no-vendor-lock-in-57ja</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;h1&gt;
  
  
  AI Code Reviews for $0.00? I Built a Provider-Agnostic Reviewer with GitHub Copilot CLI
&lt;/h1&gt;

&lt;p&gt;What if AI code reviews didn’t cost $50/month—or lock you into a single model?&lt;br&gt;&lt;br&gt;
I ran into this problem while maintaining side projects, so I built an &lt;strong&gt;AI Code Reviewer&lt;/strong&gt; that works with &lt;em&gt;any&lt;/em&gt; LLM provider and can cost &lt;strong&gt;literally $0 per PR&lt;/strong&gt;.&lt;/p&gt;




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

&lt;p&gt;&lt;strong&gt;AI Code Reviewer&lt;/strong&gt; is an open-source GitHub Action that performs automated, AI-powered code reviews on every pull request.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;🔌 Works with &lt;strong&gt;any OpenAI-compatible API&lt;/strong&gt; (Groq, DeepSeek, Mistral, Gemini, Anthropic, OpenAI, etc.)&lt;/li&gt;
&lt;li&gt;🧠 Uses a custom compression format (&lt;strong&gt;TOON encoding&lt;/strong&gt;) to reduce token usage by &lt;strong&gt;50–70%&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;💸 Supports &lt;strong&gt;free LLM providers&lt;/strong&gt; → $0.00 reviews&lt;/li&gt;
&lt;li&gt;⚡ Setup time: ~30 seconds&lt;/li&gt;
&lt;li&gt;🔓 Fully open source (MIT)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This wasn’t just about building another AI tool—it was about &lt;strong&gt;giving developers back control&lt;/strong&gt; over cost, models, and infrastructure.&lt;/p&gt;




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

&lt;p&gt;📸 &lt;strong&gt;Github PR for sample:&lt;/strong&gt;  &lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;“&lt;a href="https://github.com/tusharshah21/ai-code-reviewer/pull/2%E2%80%9D" rel="noopener noreferrer"&gt;https://github.com/tusharshah21/ai-code-reviewer/pull/2”&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;📸 &lt;strong&gt;Screenshot:&lt;/strong&gt;  &lt;/p&gt;

&lt;blockquote&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%2Fljyn6r9m7zosnfj6vf90.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%2Fljyn6r9m7zosnfj6vf90.png" alt=" " width="800" height="424"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;“AI Code Reviewer leaving structured review comments on a GitHub PR”&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  Why I Built This
&lt;/h2&gt;

&lt;p&gt;Most AI review tools today share the same problems:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Vendor lock-in&lt;/li&gt;
&lt;li&gt;Opaque pricing&lt;/li&gt;
&lt;li&gt;Closed source&lt;/li&gt;
&lt;li&gt;Expensive for students, indie hackers, and OSS maintainers&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I wanted the opposite:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;You choose the model. You control the cost. You own the workflow.&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  My Experience with GitHub Copilot CLI (The Real Game-Changer)
&lt;/h2&gt;

&lt;p&gt;I’m primarily a backend developer.&lt;br&gt;&lt;br&gt;
&lt;strong&gt;GitHub Actions, Octokit, and CI ergonomics were new territory for me.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Instead of tab-hopping between docs, blog posts, and Stack Overflow, I stayed inside my terminal and used &lt;strong&gt;GitHub Copilot CLI as a learning companion&lt;/strong&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  Concrete Examples
&lt;/h3&gt;

&lt;h4&gt;
  
  
  1. Fetching PR diffs with Octokit
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
bash
gh copilot suggest "how do i fetch pr diff using octokit"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

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