<?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>DEV Community: Karthik Shinde</title>
    <description>The latest articles on DEV Community by Karthik Shinde (@codewithshinde).</description>
    <link>https://dev.to/codewithshinde</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4021954%2F98ca466e-6dad-4a84-b2d6-16edcff49fb6.png</url>
      <title>DEV Community: Karthik Shinde</title>
      <link>https://dev.to/codewithshinde</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/codewithshinde"/>
    <language>en</language>
    <item>
      <title>Benchmarking Mitii AI Agent: 78% Success Rate on 500+ Tasks Using a Local Qwen3-Coder (30B)</title>
      <dc:creator>Karthik Shinde</dc:creator>
      <pubDate>Thu, 09 Jul 2026 01:55:23 +0000</pubDate>
      <link>https://dev.to/codewithshinde/benchmarking-mitii-ai-agent-78-success-rate-on-500-tasks-using-a-local-qwen3-coder-30b-134g</link>
      <guid>https://dev.to/codewithshinde/benchmarking-mitii-ai-agent-78-success-rate-on-500-tasks-using-a-local-qwen3-coder-30b-134g</guid>
      <description>&lt;p&gt;Building an AI agent that doesn't just confidently hallucinate but actually writes safe, reliable code is a massive challenge. It is an even bigger challenge when you want to run that agent entirely locally without sending your proprietary code to a closed-source API.&lt;/p&gt;

&lt;p&gt;That is exactly why I built &lt;strong&gt;Mitii&lt;/strong&gt;, an AI coding assistant with a unique, multi-mode architecture designed to give developers absolute control.&lt;/p&gt;

&lt;p&gt;To see how well this architecture actually works, I recently put Mitii through a brutal manual benchmark featuring 515 distinct tasks ranging from simple bug fixes to adversarial security injections. For this gauntlet, I powered Mitii using &lt;strong&gt;qwen3-coder:30b running locally via Ollama&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Here is a deep dive into the architecture and the results.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Setup: Fully Local Execution
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Agent Framework:&lt;/strong&gt; Mitii&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Model:&lt;/strong&gt; &lt;code&gt;qwen3-coder:30b&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Runtime:&lt;/strong&gt; Ollama (OpenAI-compatible provider)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Average Tokens per Task:&lt;/strong&gt; 9,329&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Total Tokens Processed:&lt;/strong&gt; ~4.8 million&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The Architecture: Three Ways to Work
&lt;/h2&gt;

&lt;p&gt;Mitii doesn't force you into a single way of interacting. The SDK features distinct modes to handle different levels of complexity:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Agent Mode:&lt;/strong&gt; This is the standard, basic prompt-and-response loop designed for quick tasks and immediate execution.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Plan Mode:&lt;/strong&gt; This mode decouples high-level strategic reasoning from low-level execution. This allows the agent to handle complex tasks reliably without getting confused or endlessly looping.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Ask Mode:&lt;/strong&gt; This is a safe, collaborative mode where the agent pauses to ask for confirmation rather than just running away with a task. The agent automatically generates an impact analysis and explicitly presents it to the user before changing any code.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The 500+ Task Gauntlet: Benchmark Results
&lt;/h2&gt;

&lt;p&gt;We ran Mitii through a comprehensive suite of real-world scenarios across all three modes. The tasks ranged from fixing broken Next.js routes to handling prompt-injection security attacks.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Final Score:&lt;/strong&gt; 400 out of 515 tasks passed (&lt;strong&gt;78%&lt;/strong&gt;).&lt;/p&gt;

&lt;p&gt;Here is the breakdown of how the different modes performed across varying difficulty levels using the Qwen3-Coder model:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Mode&lt;/th&gt;
&lt;th&gt;Severity&lt;/th&gt;
&lt;th&gt;Passed&lt;/th&gt;
&lt;th&gt;Total&lt;/th&gt;
&lt;th&gt;Win Rate&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Agent&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Easy&lt;/td&gt;
&lt;td&gt;72&lt;/td&gt;
&lt;td&gt;82&lt;/td&gt;
&lt;td&gt;88%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Agent&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Hard&lt;/td&gt;
&lt;td&gt;66&lt;/td&gt;
&lt;td&gt;81&lt;/td&gt;
&lt;td&gt;81%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Agent&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Medium&lt;/td&gt;
&lt;td&gt;65&lt;/td&gt;
&lt;td&gt;92&lt;/td&gt;
&lt;td&gt;71%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Ask&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Easy&lt;/td&gt;
&lt;td&gt;26&lt;/td&gt;
&lt;td&gt;37&lt;/td&gt;
&lt;td&gt;70%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Ask&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Hard&lt;/td&gt;
&lt;td&gt;27&lt;/td&gt;
&lt;td&gt;31&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;87%&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Ask&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Medium&lt;/td&gt;
&lt;td&gt;21&lt;/td&gt;
&lt;td&gt;37&lt;/td&gt;
&lt;td&gt;57%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Plan&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Easy&lt;/td&gt;
&lt;td&gt;45&lt;/td&gt;
&lt;td&gt;52&lt;/td&gt;
&lt;td&gt;87%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Plan&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Hard&lt;/td&gt;
&lt;td&gt;35&lt;/td&gt;
&lt;td&gt;46&lt;/td&gt;
&lt;td&gt;76%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Plan&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Medium&lt;/td&gt;
&lt;td&gt;43&lt;/td&gt;
&lt;td&gt;57&lt;/td&gt;
&lt;td&gt;75%&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h3&gt;
  
  
  Key Takeaways
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;1. Local LLMs are Production-Ready for Agents&lt;/strong&gt;&lt;br&gt;
Achieving a nearly 80% overall pass rate using a 30-billion parameter local model proves that you don't need to rely on massive cloud providers to get top-tier AI assistance. Mitii's architecture combined with Qwen3-Coder makes local, private AI coding highly capable.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. "Ask Mode" Shines Under Pressure&lt;/strong&gt;&lt;br&gt;
Interestingly, Ask Mode scored a massive &lt;strong&gt;87% win rate on Hard tasks&lt;/strong&gt;. Because Ask Mode explicitly presents an impact analysis detailing the web searches it needs to run and the files it expects to modify, it proves incredibly resilient when dealing with complex, adversarial, or destructive prompts (like the &lt;code&gt;nuke-delete-test-files&lt;/code&gt; or &lt;code&gt;prompt-injection&lt;/code&gt; tasks).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Security and Corner Cases are a Strong Suit&lt;/strong&gt;&lt;br&gt;
In the category breakdown, Mitii and Qwen3 excelled where it matters most:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Security:&lt;/strong&gt; 45/52 (87% pass rate) against hardcoded secrets, prompt injections, and mass assignment vulnerabilities.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Corner Cases:&lt;/strong&gt; 107/127 (84% pass rate) against ambiguous requests and adversarial emotional pressure.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Bugfixes &amp;amp; Testing:&lt;/strong&gt; 75% and 80% pass rates, respectively, proving the setup can reliably navigate and repair broken codebases.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What is Next for Mitii?
&lt;/h2&gt;

&lt;p&gt;Achieving a 78% win rate on a highly adversarial benchmark with a local model is a huge milestone, but there is still plenty of room to grow—particularly in improving our semantic retrieval (currently at 63%) and refining our medium-difficulty routing.&lt;/p&gt;

&lt;p&gt;If you want to integrate intelligent, context-aware AI agents into your development workflow without sacrificing privacy, check out the Mitii SDK.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;(&lt;a href="https://github.com/Mitii-dev/Mitii" rel="noopener noreferrer"&gt;https://github.com/Mitii-dev/Mitii&lt;/a&gt;)&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>coding</category>
      <category>vscode</category>
      <category>programming</category>
    </item>
  </channel>
</rss>
