<?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: Hanzzel Corp</title>
    <description>The latest articles on DEV Community by Hanzzel Corp (@hanzzel_corp_0003).</description>
    <link>https://dev.to/hanzzel_corp_0003</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%2F3906875%2Fc7008147-2b82-4305-81a3-4e0ad317d3cc.png</url>
      <title>DEV Community: Hanzzel Corp</title>
      <link>https://dev.to/hanzzel_corp_0003</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/hanzzel_corp_0003"/>
    <language>en</language>
    <item>
      <title>I built a self-hosted PC automation system with local LLaMA — it verifies actions actually worked</title>
      <dc:creator>Hanzzel Corp</dc:creator>
      <pubDate>Fri, 01 May 2026 02:01:01 +0000</pubDate>
      <link>https://dev.to/hanzzel_corp_0003/i-built-a-self-hosted-pc-automation-system-with-local-llama-it-verifies-actions-actually-worked-1135</link>
      <guid>https://dev.to/hanzzel_corp_0003/i-built-a-self-hosted-pc-automation-system-with-local-llama-it-verifies-actions-actually-worked-1135</guid>
      <description>&lt;h2&gt;
  
  
  The problem I wanted to solve
&lt;/h2&gt;

&lt;p&gt;Every automation tool I tried had the same issue: fire and forget. It sends the command and hopes for the best. I wanted something that &lt;em&gt;verifies&lt;/em&gt; the action actually worked.&lt;/p&gt;

&lt;p&gt;So I built &lt;strong&gt;Blue Arrow&lt;/strong&gt; — a modular PC automation system that runs entirely local, no cloud, no subscriptions.&lt;/p&gt;

&lt;h2&gt;
  
  
  How it works
&lt;/h2&gt;

&lt;p&gt;You send a command via Telegram:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"open Chrome" / "search report.pdf" / "write a letter in LibreOffice"&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The system processes it through a state machine:&lt;/p&gt;

&lt;p&gt;IDLE → INTENT → PLANNING → EXECUTING → VERIFYING → COMPLETED&lt;/p&gt;

&lt;p&gt;After every action, a &lt;strong&gt;Python Verifier Engine&lt;/strong&gt; checks if it actually worked:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Detects the process PID&lt;/li&gt;
&lt;li&gt;Detects the window ID via wmctrl/xdotool&lt;/li&gt;
&lt;li&gt;Checks focus state&lt;/li&gt;
&lt;li&gt;Returns a confidence score (0.0–1.0)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If confidence &amp;lt; 0.5, it retries or reports failure.&lt;/p&gt;

&lt;h2&gt;
  
  
  The AI layer
&lt;/h2&gt;

&lt;p&gt;Local LLaMA via Ollama handles everything:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Intent parsing&lt;/strong&gt; — interprets what you actually meant&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Text generation&lt;/strong&gt; — drafts letters, explains errors, generates code&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Semantic memory&lt;/strong&gt; — vector embeddings, remembers context across sessions&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Adaptive learning&lt;/strong&gt; — learns your patterns over time&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;No external API calls. Everything runs on your machine. Tested with LLaMA 3.1 8B and 3.2 3B.&lt;/p&gt;

&lt;h2&gt;
  
  
  Architecture
&lt;/h2&gt;

&lt;p&gt;30 specialized modules connected via a JSON Lines message bus, orchestrated by a Node.js 20 runtime. Each module declares its ports in a manifest — no cross-imports allowed.&lt;/p&gt;

&lt;p&gt;Modules are classified as &lt;strong&gt;Core&lt;/strong&gt; or &lt;strong&gt;Satellite&lt;/strong&gt;. Satellites fail gracefully without taking down the system.&lt;/p&gt;

&lt;p&gt;Three execution profiles:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;minimal&lt;/code&gt; — headless, core only&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;standard&lt;/code&gt; — daily use with Telegram UI&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;full&lt;/code&gt; — everything including AI, verifier, gamification&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The part I didn't plan
&lt;/h2&gt;

&lt;p&gt;The Telegram interface became an RPG. XP, levels, achievements, themed scenes. It started as a joke during development and now I can't bring myself to remove it.&lt;/p&gt;

&lt;p&gt;╔══════════════════════════════════════╗&lt;br&gt;
║  🎮 JARVIS RPG v1.0                 ║&lt;br&gt;
╠══════════════════════════════════════╣&lt;br&gt;
║ ⭐ Level 5                           ║&lt;br&gt;
║ XP: [██████░░░░] 60%                ║&lt;br&gt;
╚══════════════════════════════════════╝&lt;/p&gt;

&lt;h2&gt;
  
  
  Stack
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Node.js 20 + Python 3.11&lt;/li&gt;
&lt;li&gt;Ollama (any LLaMA-compatible model)&lt;/li&gt;
&lt;li&gt;Linux (xdotool, wmctrl)&lt;/li&gt;
&lt;li&gt;MIT License&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Quick start
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone https://github.com/Hanzzel-corp/blue-arrow.git
&lt;span class="nb"&gt;cd &lt;/span&gt;blue-arrow
npm &lt;span class="nb"&gt;install&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; pip &lt;span class="nb"&gt;install&lt;/span&gt; &lt;span class="nt"&gt;-r&lt;/span&gt; requirements.txt
npm start
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;GitHub:&lt;/strong&gt; &lt;a href="https://github.com/Hanzzel-corp/blue-arrow" rel="noopener noreferrer"&gt;https://github.com/Hanzzel-corp/blue-arrow&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;v0.1.0 just released. Feedback and contributions welcome.&lt;/p&gt;

</description>
      <category>python</category>
      <category>node</category>
      <category>ai</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
