<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Dirk Bangel on Medium]]></title>
        <description><![CDATA[Stories by Dirk Bangel on Medium]]></description>
        <link>https://medium.com/@dirk.bangel?source=rss-7ffef74e4075------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Stories by Dirk Bangel on Medium</title>
            <link>https://medium.com/@dirk.bangel?source=rss-7ffef74e4075------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 16:14:19 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@dirk.bangel/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Just-In-Time App afterthought]]></title>
            <link>https://medium.com/@dirk.bangel/just-in-time-app-afterthought-d6b7a402ff91?source=rss-7ffef74e4075------2</link>
            <guid isPermaLink="false">https://medium.com/p/d6b7a402ff91</guid>
            <category><![CDATA[logic-apps]]></category>
            <category><![CDATA[agentic-ai]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[sap]]></category>
            <dc:creator><![CDATA[Dirk Bangel]]></dc:creator>
            <pubDate>Mon, 19 Oct 2026 18:56:45 GMT</pubDate>
            <atom:updated>2026-10-19T18:56:45.326Z</atom:updated>
            <content:encoded><![CDATA[<p>For years, I spent hundreds of euros on MindManager licenses just to plan road trips, track goals and sketch ideas visually. Flat notes in Apple Notes or sprawling Notion boards never gave me the spatial clarity I needed, so I endured enterprise bloat, unnecessary Gantt ribbons and clunky sync dialogs as the price of visual thinking.</p><p>That mindset ended while planning a major backyard overhaul. Faced with contractor quotes, planting zones and budget estimates, I skipped MindManager and prompted my coding agent instead:</p><p><em>“Build a clean, responsive mind-mapping canvas in one HTML file. Click to add sibling and child nodes, drag to reorder, color-code by priority and export to clean Markdown”.</em></p><p>Thirty seconds later, I opened a standalone .html file in Chrome. No license keys, loading screens or corporate toolbars, just a fast, distraction-free canvas.</p><p>This shift marks the arrival of <strong>Just-In-Time (JIT) Software</strong>. For decades, software mirrored industrial overproduction: we stockpiled heavy, generic SaaS suites just in case we needed a fraction of their capabilities. JIT software reverses this dynamic. Instead of warping your workflow to fit commercial tools, software is synthesized on demand for a specific task and discarded when the job is done.</p><p>The secret weapon behind the UI was using cloud logic apps as a headless Model Context Protocol (MCP) backbone:</p><ul><li><strong>Decoupled Security:</strong> The single-page HTML file stored no API keys, tokens or credentials.</li><li><strong>Governed Pipelines:</strong> Managed cloud integration workflows securely ingested quotes from tagged emails and synchronized with personal calendar and storage endpoints.</li><li><strong>Agentic Orchestration:</strong> When I asked the agent to fetch the latest paving quotes and attach them to the <em>Hardscaping</em> branch, the agent called the logic app via MCP, parsed the message data and rendered vendor figures directly onto the canvas.</li></ul><p>Iterating was frictionless. When I needed node-level costs to roll up into an automated total budget, I didn’t switch to Excel or wait for a feature update. I simply prompted: <em>“Add a currency field (€) to every node and calculate the live total at the top”.</em> Ten seconds later, the canvas was updated.</p><p>Once the garden plan was complete, I exported the Markdown outline to my drive and closed the tab. No recurring subscription, no desktop bloat, no obsolete templates. Software is no longer a rigid, permanent asset, it is an ephemeral afterthought synthesized to solve an afternoon’s problem and retired the moment it succeeds.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/920/1*CfezCNv7bLwWBR5HxteOMA.png" /></figure><p>Check out the Just-In-Time Agentic Desktop Apps: <a href="https://github.com/BDUG/jitapps">https://github.com/BDUG/jitapps</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d6b7a402ff91" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Code Agent the third iteration]]></title>
            <link>https://medium.com/@dirk.bangel/code-agent-the-third-iteration-6637c6497f48?source=rss-7ffef74e4075------2</link>
            <guid isPermaLink="false">https://medium.com/p/6637c6497f48</guid>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[coding]]></category>
            <dc:creator><![CDATA[Dirk Bangel]]></dc:creator>
            <pubDate>Tue, 07 Jul 2026 17:47:50 GMT</pubDate>
            <atom:updated>2026-07-07T17:47:50.390Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8ORV726dZi83S4flOQb6hw.png" /><figcaption>Image Generated with ChatGPT Plus</figcaption></figure><p>Yet another chapter with my own coding agent.</p><p>The harmless five-letter word <strong>“check”</strong> has become one of the scariest terms in my work with autonomous AI engineering agents. Asking an agent “to check the logs,” “check the code,” or “check whether the pull request follows the task” sounds like a small request. For a human engineer, “check” usually means restraint: skim the latest entries, inspect the most relevant files, look for obvious anomalies, and stop when the signal is clear.</p><p>For my LLM agent, “check” meant something very different.</p><p>It may execute commands, retrieve thousands of log lines, read entire files, traverse directories, open every pull request, re-read its own instructions, compare them against generated work, and keep asking for more context because it is never fully sure that it has “checked enough.” A vague human verb becomes an unbounded machine operation.</p><p>This is why “check” can become expensive for me. Not because the word is complex, but because the operational boundary was missing.</p><h3>How “Check” Failed in the Wild</h3><p>As I gave my coding agent more freedom, the failures were rarely about raw intelligence. They were about data collection without proper controls.</p><p>One example was asking the agent to “check each pull request for compliance with the task”.</p><p>In my mind, that meant: sample the relevant diff, compare it against the task, flag anything suspicious, and stop.</p><p>In the agent’s mind, it could mean: read the written policy, inspect every file touched by the pull request, reason about every instruction, compare all implementation details, re-open previous context, and then repeat the process if the answer felt uncertain.</p><p>In some situations, this also produced an infinite loop. The agent checked its own policy, then checked its own interpretation of the policy, then checked whether that check was sufficient. The task was no longer engineering. It was a recursion with a token meter attached.</p><p>This is not just my experience. Others faced the same pattern. A paper describes <strong>Infinite Agentic Loops</strong>, where LLM agents repeatedly execute model calls, tools, workflow transitions or handoffs when the feedback path is not effectively bounded. That is the engineering version of “just one more check”.</p><h3>The Agent Loop Is the Real Product</h3><p>Coding agents are not just chatbots. They are loops around tools. OpenAI’s Agents SDK documentation describes the runner loop as calling the model, inspecting the output, executing tool calls, continuing through handoffs and stopping only when a final answer is produced or a limit is reached. That detail on “limit” matters. The expensive part of an agent is not the first answer. It is the continuation policy.</p><p>When a human says “check,” we rely on social context and professional judgment. When an agent hears “check,” it may enter a loop:</p><ol><li>gather data</li><li>reason about the data</li><li>notice uncertainty</li><li>gather more data</li><li>re-run the comparison</li><li>repeat until a hidden limit, timeout, or human interruption stops it.</li></ol><p>The problem is that we asked in a way that only a human would naturally bound.</p><h3>Logs Are Not Just Big</h3><p>“Check” is especially dangerous not because of the text length. A human naturally filters — we do not usually paste the entire last 10K code lines into our head. My agent might. A paper called <strong>LogJack</strong> studied indirect prompt injection through LLM debugging. The paper described it for security reasons I faced because its own logs matched my stated intent, resulting in re-looping its own intermediate results. That changes the meaning of “check” even worse. Agents — also mine — do not only read. He acts.</p><p>What I learned. The best protection is not a better synonym. Replacing “check” with “inspect” or “review” does not solve the problem. These verbs are vague in the same way. The protection has to be “operational” e.g.,</p><ol><li>All retrieval should be paginated by default. An agent should not be allowed to fetch unlimited logs, unlimited search results, unlimited file contents, or unlimited pull requests. The first response should return only the most relevant slice: for example, the five newest errors, the five largest diffs, or the five most suspicious findings. The agent can request the next page, but that request should be visible and justified.</li><li>File-reading agent-tools should enforce character limits before content reaches the model. The tool should return a summary, a truncation notice, and a continuation handle. It should never silently dump an entire repository, log stream, or generated artifact into the main context.</li><li>Repeated tool calls should be detected. If the agent calls the same tool with the same arguments and receives the same result, the system should treat that as a loop candidate. After two or three repetitions, the agent should be forced to either explain what new information it expects or stop.</li><li>“check” should default to read-only mode. A check may collect evidence and produce findings. It may not write files, delete data, run migrations, install packages, push commits, or alter infrastructure unless the user explicitly authorizes a second action.</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6637c6497f48" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[When I look at my Eden usage-monitor curve flattening, I realize I’ve stumbled upon a phenomenon I…]]></title>
            <link>https://medium.com/@dirk.bangel/when-i-look-at-my-eden-usage-monitor-curve-flattening-i-realize-ive-stumbled-upon-a-phenomenon-i-fe8d5f60aadf?source=rss-7ffef74e4075------2</link>
            <guid isPermaLink="false">https://medium.com/p/fe8d5f60aadf</guid>
            <dc:creator><![CDATA[Dirk Bangel]]></dc:creator>
            <pubDate>Thu, 25 Jun 2026 18:50:17 GMT</pubDate>
            <atom:updated>2026-06-25T18:50:17.474Z</atom:updated>
            <content:encoded><![CDATA[<p>When I look at my Eden usage-monitor curve flattening, I realize I’ve stumbled upon a phenomenon I call <strong>The Amortization of Agency</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kWKFE-iK0MTaVrSU0sQwtw.jpeg" /><figcaption>Image generated with Gemini Pro</figcaption></figure><p>In traditional development, I was stuck in a linear trap: every new feature demanded a direct increase in human hours or prompt-engineering effort. My “Dark Software Factory” model, however, follows an <strong>Inverse-Efficiency Curve</strong>. As my agent library matures, the “Agentic Overhead”, the raw token count required to execute a task, naturally drops. The library effectively evolves from a collection of “instructions” into a suite of domain-specific, highly optimized source code structure. Instead of asking a frontier model to “reason” through a complex API interaction for the hundredth time, the agent simply calls the hardened, deterministic function it wrote and optimized during a previous cycle.</p><h3>The Dynamics of Self-Compiling Systems</h3><p>I see this progression unfold in three distinct stages:</p><ul><li><strong>Phase 1: High Entropy (The “Vibe” Era):</strong> I rely on massive context windows and frequent, expensive calls to frontier models. My cost is high, and my stability is prone to “hallucination drift.”</li><li><strong>Phase 2: Consolidation:</strong> My agent identifies recurring patterns in its ReAct loops. It realizes, “I keep solving this JSON-parsing edge case with the same logic.” It then promotes this logic into the “Agent Library” as a permanent, hard-coded module.</li><li><strong>Phase 3: Deterministic Execution (The Dark Factory):</strong> This is where I am now. My agent performs 90% of routine tasks using its local SLM Assembler. It only summons the “Frontier Model” for high-level strategic shifts. The cost curve flattens because the agent is no longer “thinking” about how to code; it is merely executing sub-routines it has already perfected.</li></ul><p><strong>Concrete Example:</strong> Initially my agent used 5000 tokens to “reason” my given task. After three cycles of self-improvement, the agent wrote a dedicated Python program in my library. Now, the task consumes only 150 tokens, a factor 33 efficiency gain achieved purely through its own iterative optimization.</p><h3>“DNA” vs. “Kernel” Architecture</h3><p>I’ve managed to solve the “Safety vs. Autonomy” trade-off by strictly decoupling my <strong>Agentic DNA</strong> (the mutable library) from the <strong>Execution Kernel</strong> (the read-only supervisor).</p><p><strong>Execution Kernel</strong></p><ul><li><strong>Mutability:</strong> Read-Only</li><li><strong>Role:</strong> Enforces TTL, Benchmarks, and Rollbacks.</li></ul><p><strong>Agentic DNA</strong></p><ul><li><strong>Mutability:</strong> Read-Write</li><li><strong>Role:</strong> Self-extending library of MCP tools and logic.</li></ul><p><strong>Spec Layer</strong></p><ul><li><strong>Mutability:</strong> Human-Defined</li><li><strong>Role:</strong> The Gherkin “North Star” that guides mutation.</li></ul><p>By restricting the agent to modifying only its “DNA,” I’ve turned self-sandboxing into a competitive advantage. I am not just writing code; I am conducting <strong>Directed Evolution</strong>. Lucky punch.</p><p>When the agent generates a more efficient way to handle tasks, it commits that logic to the library. The Kernel then validates that this change hasn’t broken the core “heartbeat” of the system.</p><h3>From Maintenance to Synthesis</h3><p>My “Skynet Moment”, where the agent becomes so efficient that token consumption plateaus even as complexity grows, confirms that I have moved from a Coding Agent to an <strong>Architectural Synthesis Engine</strong>.</p><p>The primary challenge isn’t debugging syntax; it’s <strong>Managing the Spec-Drift</strong>. If my Agent Library evolves too far, it might solve the problem in a way that is hyper-efficient but violates my original Gherkin intent. To stay in control, I have adopted two specific guardrails:</p><ul><li><strong>Semantic Versioning for DNA:</strong> Every time the agent updates its library, it triggers a “Semantic Compliance Check.” It must map the new library function back to the original Gherkin requirement to ensure no “feature creep” has occurred.</li><li><strong>Inverse-Testing:</strong> I force the agent to write “negative tests.” For example, if I define a tool that retrieves user data, the agent must write a test proving it <em>cannot</em> access unauthorized fields, effectively ensuring that in its quest for efficiency, it doesn’t accidentally bypass security constraints.</li></ul><p>As my Agent Library continues to optimize itself, do you envision a point where the <strong>Frontier Model</strong> becomes a bottleneck, and if so, how would my “Strategy Compiler” become as powerful as my “SLM Assembler”.</p><p>Stay tuned.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fe8d5f60aadf" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Vacation Spent Exploring LLM Cost Efficiency]]></title>
            <link>https://medium.com/@dirk.bangel/a-vacation-spent-exploring-llm-cost-efficiency-6ec2eaf02167?source=rss-7ffef74e4075------2</link>
            <guid isPermaLink="false">https://medium.com/p/6ec2eaf02167</guid>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[cost-optimization]]></category>
            <category><![CDATA[agentic-ai]]></category>
            <dc:creator><![CDATA[Dirk Bangel]]></dc:creator>
            <pubDate>Sat, 13 Jun 2026 05:34:22 GMT</pubDate>
            <atom:updated>2026-06-13T05:34:22.586Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LJt4FSeOBMVocJbj3M8MFw.png" /><figcaption>Image generated with ChatGPT Plus</figcaption></figure><p>The software engineering landscape is experiencing its “Deep Blue Moment”. I have crossed an inflection point where structured agentic workflows vastly surpass the utility and raw speed of my manual code and unstructured “Vibe Coding”.</p><p>When cloud LLM providers overhauled their enterprise subscription and API pricing tiers, my casual vibe coding phase came to a hard stop. To achieve deterministic outcomes within sophisticated agentic architectures, engineers often adopt rigid prompting frameworks like R-A-I-N or C-L-A-R. However, I encountered a significant friction point: while these schemas provide necessary guardrails, they also trigger massive <strong>token consumption overhead</strong>, effectively taxing every API call in exchange for structural reliability.</p><h3>The Token Trap of Prompting Frameworks</h3><p>Standard industry prompting frameworks replace vague instructions with highly constrained schemas. While they ensure accountability and deterministic outputs, they also heavily tax the API wallet.</p><ul><li>The <strong>R-A-I-N</strong> framework stands for <em>Role, Aim, Input, Numeric Target, and Format</em>, and it requires a <strong>high</strong> token overhead of about three times the baseline.</li><li>The <strong>C-L-A-R</strong> framework stands for <em>Context, Limits, Action, and Result</em>, demanding a <strong>moderate</strong> token overhead of more than two times the baseline.</li><li>The <strong>F-L-O-W</strong> framework stands for <em>Function, Level, Output, and Win Metric</em>, and it is <strong>efficient</strong>, keeping token consumption under two times the baseline.</li><li>The <strong>S-E-E-D</strong> framework stands for <em>Situation, End Goal, Examples, and Deliverables</em>, and it is also <strong>efficient</strong>, using less than two times the baseline tokens.</li></ul><blockquote>Note: In all cases, the baseline is measured against a standard, zero-shot — my head to console — raw instruction.</blockquote><p>Determined to stop bleeding money, I rebuilt my AI development stack from the ground up. By moving away from bloated prompts and toward <strong>Spec-Driven Development (SDD)</strong>, I slashed my API token expenditure by half.</p><h3>Combating “Context Rot” with Spec-Driven Development</h3><p>When analyzing my initial token logs, the primary culprit was obvious: <strong>Context Window Bloat</strong>. In controlled test runs, I watched an AI agent work blindly without clear architectural guardrails. It frantically scanned the repository, logging 250 individual file views and 20 glob searches, just trying to guess the underlying business logic. The agent filled over 50% of its context window with raw source files simply to orient itself, eventually spitting out a bloated, inefficient 18 KB code patch.</p><p>By contrast, when I provided the agent with explicit SDD Markdown files outlining strict architectural constraints, the guessing game ended. It delivered a surgical, clean 5 KB patch in just 84 seconds with perfect accuracy. The machine-readable, behavior-oriented specification, not the legacy source code, is the primary engineering artifact and absolute source of truth.</p><p>Without an explicit spec, models inevitably hit undocumented design microscopic nuances, guess the implementation details, and introduce severe codebase drift - causing subjective accuracy to plummet from 100% down to roughly 80%.</p><p>To implement SDD properly without writing micro-detailed, token-heavy specifications, I categorized my approach into three distinct levels of rigor:</p><p><strong>Level 1: Spec-First — the standard user prompt</strong></p><p>The specification acts as the initial system prompt guiding the agent, but it resides primarily within the ephemeral feature-branch lifecycle and disappears post-merge e.g., standard system prompts or transient PR issue descriptions.</p><p><strong>Level 2: Spec-Anchored — the usual Skills</strong></p><p>The specification becomes a living document. Any behavioral modifications to the codebase mandate a strict addendum to the spec, ensuring flawless bidirectional traceability. Represented by MUSUBI and OpenSpec.</p><p><strong>Level 3: Spec-as-Source — like my RLM approach</strong></p><p>Source code is treated exactly like a compiled binary. The specification is the <em>exclusive</em> artifact edited by human engineers. Represented by emerging platforms like Tessl and CSDD.</p><h3>Merging the ICE Framework with Recursive RLM Coding</h3><p>To operationalize Level 3 rigor, I adopted Kapil Viren Ahuja’s <strong>ICE Framework</strong> to keep my context payloads ultra-lean:</p><ul><li><strong>I — Intent (The Goal):</strong> The definitive, immutable business outcome. This gives the agent a fixed North Star to calculate its own execution path.</li><li><strong>C — Context (The Reality):</strong> The relevant boundaries of the existing system state (schemas, guardrails, and architectural patterns).</li><li><strong>E — Expectations (The Validation Criteria):</strong> Strict, deterministic performance envelopes used by an autonomous evaluation harness to judge success before code is ever merged.</li></ul><p>This structured engineering approach revitalizes Behavior-Driven Development (BDD) via <strong>Gherkin syntax</strong> (Given/When/Then). A single Gherkin artifact can automatically unfold into five separate layers of comprehensive verification: unit, integration, end-to-end, acceptance, and regression testing. To make the Gherkin syntax even better machine consumable, I applied <strong>Graphify</strong>, which converts unstructured documentation into an interactive, queryable knowledge graph. I successfully maintained a hyper-focused <strong>2 KB context window</strong> while achieving near-perfect code execution accuracy.</p><h3>Bypassing Context Rot via Recursive Language Models (RLM)</h3><p>Premium cloud agents typically read an entire codebase sequentially, eating through thousands of tokens just processing metadata. Inspired by recent Recursive Language Model research, I decoupled this process.</p><p>Instead of feeding raw code to a massive frontier model, a lightweight root model writes brief, targeted e.g., Python snippets to explore and partition text within an isolated sandbox. Once the code locates the precise file segment required, it extracts that single excerpt and passes a hyper-focused question to a recursive sub-LLM call.</p><p>By synthesizing this algorithmic approach with Microsoft Research’s <strong>SkillOpt</strong> framework, I bypassed context rot almost entirely. I prompted a frontier model <em>once</em> to generate a local compliance automation script.</p><p><strong>Simple 4 steps:</strong></p><ol><li>Search Google or ask one of the heavy cloud LLMs.</li><li>Ask one of the cloud models to “phrase it as SDD or ICE for a multi iterations realization considering a compliance matrix with tests for assessing the coverage”.</li><li>Ask one of the cloud models to summarize it, with the intention to reduce the token amount.</li><li>Give it to my local LLM and with a prefix like “implement in multiple iterations:”</li></ol><p>From here, the local LLM evaluates the repository, drastically reducing my API reliance and dropping commercial cloud compute costs to near zero.</p><h3>The Next Evolution: Crafting a Custom CDLC</h3><p>I ultimately replaced traditional single-chat interfaces with a home-grown <strong>Context Development Life Cycle (CDLC)</strong> pipeline. Similar to a robust CI/CD pipeline, a CDLC wraps agent context in isolated, programmatic stages:</p><p>[Requirements] ➔ [Architecture] ➔ [Generation] ➔ [Automated QA] ➔ [Security] ➔ [Local Deploy]</p><p>To entirely eliminate monthly cloud LLM subscriptions, I engineered a self-hosted agent stack utilizing four pillars:</p><ul><li><strong>Skills:</strong> Atomic, versioned procedural instructions loaded strictly on demand.</li><li><strong>Tools:</strong> Explicit function schemas loaded selectively based on the active SDLC phase to prevent token overload.</li><li><strong>Subagents:</strong> Highly isolated mechanisms running independent prompts and fresh, clean context windows.</li><li><strong>MCP Servers:</strong> Model Context Protocol systems exposing a Language Server Protocol (LSP), allowing local agents to query structural code graphs rather than pasting whole files.</li></ul><h3>The Local Hardware Stack</h3><p>Lightweight, repetitive parsing and code-writing tasks are automatically routed to local Small Language Models (SLMs) running safely behind my firewall.</p><ol><li><strong>Deploy Dedicated Hardware:</strong>Local Infrastructure.</li></ol><p>I utilize a <strong>MINISFORUM UM790 Pro Mini PC</strong> packed with high-speed DDR5 RAM (a hardware investment of roughly EUR 1200).</p><p><strong>2. Serve Local Models via llama.cpp:</strong>Model Optimization.</p><p>Using llama.cpp, I run quantized local open-source models. While I easily achieve <strong>16+ tokens per second on a 35B model</strong>,I routinely leverage highly optimized, hardware-accelerated 7B/8B models (such as Qwen-2.5-Coder and Llama-3.1) quantized down to Q4_K_M or Q8_0 formats for sub-second ReAct loop reasoning.</p><p><strong>3. Execute the ReAct Loop:</strong>Cognitive Automation.</p><p>The foundational execution pattern remains a strict <strong>Reason + Act (ReAct)</strong> loop. The local SLM acts as the central brain, evaluating the system state, formulating a thought, invoking a specialized local tool, and observing the output to determine its next action.</p><h3>Welcome to the Dark Software Factory</h3><p>Transitioning to a localized, spec-driven CDLC was my true “Dark Software Factory” moment.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6ec2eaf02167" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>