<?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: Ajay Singh</title>
    <description>The latest articles on Forem by Ajay Singh (@ajay_singh_7e85e31cb15488).</description>
    <link>https://forem.com/ajay_singh_7e85e31cb15488</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%2F3665288%2F77fc1091-2108-4790-9336-514c530ca0c1.jpg</url>
      <title>Forem: Ajay Singh</title>
      <link>https://forem.com/ajay_singh_7e85e31cb15488</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/ajay_singh_7e85e31cb15488"/>
    <language>en</language>
    <item>
      <title>Why I am building a tool to auto-execute LLM code suggestions.</title>
      <dc:creator>Ajay Singh</dc:creator>
      <pubDate>Tue, 16 Dec 2025 16:12:36 +0000</pubDate>
      <link>https://forem.com/ajay_singh_7e85e31cb15488/why-i-am-building-a-tool-to-auto-execute-llm-code-suggestions-1jk0</link>
      <guid>https://forem.com/ajay_singh_7e85e31cb15488/why-i-am-building-a-tool-to-auto-execute-llm-code-suggestions-1jk0</guid>
      <description>&lt;p&gt;The Problem&lt;br&gt;
I've wasted too many hours this week on the "AI Debug Loop":&lt;br&gt;
Ask ChatGPT for a fix.&lt;br&gt;
Paste code. It crashes.&lt;br&gt;
Ask Claude for a fix.&lt;br&gt;
Paste code. It crashes differently.&lt;br&gt;
Ask Gemini. It invents a library that doesn't exist.&lt;br&gt;
We treat LLMs like Oracles, but for code, they are often just confident liars.&lt;br&gt;
The Idea: A "Truth Engine" for Code&lt;br&gt;
I got tired of being the manual tester for these models. So, I’m working on a script that automates the verification process.&lt;br&gt;
Instead of asking one model, the tool:&lt;br&gt;
Queries the Council: Sends your bug/prompt to GPT-4o, Claude 3.5 Sonnet, and Gemini 1.5 Pro simultaneously.&lt;br&gt;
The Sandbox: It spins up isolated Docker containers for each solution.&lt;br&gt;
The Execution: It actually runs the code to check for runtime errors.&lt;br&gt;
The Verdict: It discards the hallucinations and gives you the code that compiled.&lt;br&gt;
What the output looks like&lt;br&gt;
I'm building the CLI right now, but here is the concept:&lt;br&gt;
Plaintext&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Analyzing bug in 'auth_controller.py'...&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;┌─────────────┬─────────────┬─────────────┐&lt;br&gt;
│    Model    │   Status    │   Result    │&lt;br&gt;
├─────────────┼─────────────┼─────────────┤&lt;br&gt;
│   GPT-4o    │  ✅ PASSED  │  Runtime OK │&lt;br&gt;
│ Claude 3.5  │  ✅ PASSED  │  Runtime OK │&lt;br&gt;
│ Gemini 1.5  │  ❌ FAILED  │ Syntax Err  │&lt;br&gt;
└─────────────┴─────────────┴─────────────┘&lt;/p&gt;

&lt;p&gt;[Recommended Fix]: Claude 3.5 (Fastest execution time)&lt;br&gt;
Why do this?&lt;br&gt;
Because I'd rather wait 30 seconds for a verified answer than spend 10 minutes debugging a hallucination.&lt;br&gt;
Want to test it?&lt;br&gt;
I’m currently running this workflow manually to benchmark how often the models disagree.&lt;br&gt;
If you have a bug or a snippet that AI keeps messing up:&lt;br&gt;
Drop it in the comments (or DM me).&lt;br&gt;
I’ll run it through the "Council" and reply with the comparison results.&lt;br&gt;
I’m trying to figure out if this is worth building into a full CLI tool or SaaS. Let me know what you think!&lt;/p&gt;

</description>
      <category>ai</category>
      <category>webdev</category>
      <category>productivity</category>
    </item>
  </channel>
</rss>
