<?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:media="http://search.yahoo.com/mrss/"><channel><title><![CDATA[GXCafe Publishing]]></title><description><![CDATA[Thoughts, stories and ideas.]]></description><link>https://gxcafe.github.io/tech-blog/</link><image><url>https://gxcafe.github.io/tech-blog/favicon.png</url><title>GXCafe Publishing</title><link>https://gxcafe.github.io/tech-blog/</link></image><generator>Ghost 6.44</generator><lastBuildDate>Sat, 05 Sep 2026 12:40:11 GMT</lastBuildDate><atom:link href="https://gxcafe.github.io/tech-blog/rss/" rel="self" type="application/rss+xml"/><ttl>60</ttl><item><title><![CDATA[Optimizing Context Management for Stable Autonomous Business Operations on Local LLMs]]></title><description><![CDATA[Context management in local Large Language Model (LLM) environments is a critical aspect of maintaining seamless and stable autonomous business operations. By efficiently tuning system prompts and models, businesses can ensure that their operations are both effective and cost-eff]]></description><link>https://gxcafe.github.io/tech-blog/optimizing-context-management-for-stable-autonomous-business-operations-on-local-llms-2/</link><guid isPermaLink="false">6a98cceb9b7f5900010f7715</guid><category><![CDATA[local-llm]]></category><category><![CDATA[ai-agents]]></category><category><![CDATA[ollama]]></category><category><![CDATA[build-in-public]]></category><category><![CDATA[cost-zero-automation]]></category><dc:creator><![CDATA[Kengo Seki]]></dc:creator><pubDate>Thu, 03 Sep 2026 01:27:08 GMT</pubDate><content:encoded><![CDATA[<h2 id="introduction-to-context-management-in-local-llm-environments">Introduction to Context Management in Local LLM Environments</h2><p>Context management in local Large Language Model (LLM) environments is a critical aspect of maintaining seamless and stable autonomous business operations. By efficiently tuning system prompts and models, businesses can ensure that their operations are both effective and cost-efficient, especially when operating under a zero-API-cost strategy. Effective context management involves careful consideration of the model&apos;s context window, prompt design, and overall system architecture to prevent issues like context overflow and maintain operational integrity.</p><p>Local LLM environments offer unique advantages, such as reduced latency and enhanced data security, but they also present challenges related to resource allocation and context management. This article explores the nuances of optimizing context management for autonomous business agents running on a single Ryzen AI MAX+ 395 mini PC, focusing on the experiences and lessons learned from an 88-agent business operating system (OS) registered on OpenClaw.</p><h2 id="case-study-optimizing-88-agent-business-os-on-local-llm">Case Study: Optimizing 88-Agent Business OS on Local LLM</h2><p>An 88-agent business OS, encompassing sales, finance, HR, marketing, and security divisions, was successfully registered on OpenClaw and runs entirely on a Ryzen AI MAX+ 395 Strix Halo mini PC equipped with approximately 48GB of unified memory. This setup leverages the full power of the Ollama software, which operates at 100% GPU capacity. The initial model selection process was a critical step in ensuring that the business OS could handle the diverse tasks required for effective autonomous operations. Early tests with the llama3.1:8b model revealed that it failed to meet the required quality standards for Japanese writing tasks. In contrast, the qwen2.5:14b-instruct model successfully passed these tests, demonstrating its suitability for the role.</p><p>To further optimize the system, the team adjusted the <code>tools.profile</code> to a minimal setting, which drastically reduced the system prompt size from approximately 100,000 tokens to around 9,600 tokens. This adjustment not only resolved transcript-compaction failures but also improved the overall efficiency of the system. However, a significant challenge emerged when the agent execution path inadvertently injected approximately 18,000 characters of workspace files (AGENTS.md/MEMORY.md) into every call, leading to context overflow issues. The solution involved switching to raw inference with the role embedded directly in the prompt, effectively mitigating the overflow problem.</p><h2 id="troubleshooting-context-overflow-and-system-prompt-efficiency">Troubleshooting Context Overflow and System Prompt Efficiency</h2><p>Context overflow is a common issue in local LLM environments, especially when dealing with complex, multi-agent systems. In the case of the 88-agent business OS, context overflow occurred when the system attempted to include extensive workspace files in each call, surpassing the 16,000-character context window. This issue was resolved by refining the system prompts and adopting a raw inference approach that embeds the necessary role information directly within the prompt itself.</p><p>The tuning of the <code>num_ctx</code> parameter on the GPU further highlights the importance of balancing model capacity and system efficiency. Initial tests showed that a <code>num_ctx</code> setting of 16,384 tokens was stable, whereas increasing it to 32,768 tokens led to failures after several consecutive calls. This finding underscores the need for a careful calibration of context settings to ensure both stability and performance.</p><p>System prompt efficiency is another critical aspect of context management. The initial prompts were excessively large, which not only led to context overflow but also hindered the system&apos;s responsiveness. By adopting a minimal profile and reducing the prompt size, the team was able to streamline the system and improve its overall performance.</p><h2 id="best-practices-for-autonomous-delivery-pipelines-and-inference">Best Practices for Autonomous Delivery Pipelines and Inference</h2><p>Implementing a robust autonomous delivery pipeline is essential for maintaining continuous and reliable business operations. In the 88-agent business OS, the team established a production pipeline that includes an LLM production stage, an independent LLM review, and a revision loop with a maximum of two passes. Human intervention is limited to confirming the contract, while a deterministic JSON ledger drives all state transitions. This approach ensures that the system operates smoothly and predictably, with real bugs detected and addressed through parallel AI reviewer checks. The entire pipeline, from specification to end-to-end testing, was completed within a single day, demonstrating the efficiency of the approach.</p><p>In addition to the production pipeline, the system relies heavily on local scheduling and networking to maintain 24/7 operations. The OpenClaw native cron scheduler replaced a Node-based scheduler, ensuring that all operations remain local and free. However, a WSL2 networking issue caused by a forgotten Windows-native gateway holding port 18789 led to a shadowing problem that persisted for several hours. This experience underscores the importance of meticulous network management to avoid such disruptions.</p><h2 id="local-scheduling-and-networking-considerations-for-247-operations">Local Scheduling and Networking Considerations for 24/7 Operations</h2><p>Maintaining 24/7 operations in a local LLM environment requires robust scheduling and networking strategies. In the case of the 88-agent business OS, the team employed systemd user services and loginctl linger to manage the gateway, while a Windows task scheduler was used to boot WSL on logon. Additionally, sleep functionality was disabled on AC to ensure constant operation. These measures, combined with the use of a deterministic JSON ledger, help to maintain a stable and continuous operational environment.</p><h2 id="practical-takeaway">Practical Takeaway</h2><p>Effective context management in local LLM environments is crucial for maintaining stable and efficient autonomous business operations. Key takeaways from the 88-agent business OS case study include the importance of prompt optimization, careful calibration of context settings, and the implementation of robust autonomous delivery pipelines. Additionally, meticulous attention to local scheduling and networking is essential for ensuring uninterrupted 24/7 operations. By adopting these best practices, businesses can leverage the advantages of local LLMs while mitigating potential challenges.</p>]]></content:encoded></item><item><title><![CDATA[3-6行摘要]]></title><description><![CDATA[88体のAIエージェントをOpenClawに登録し、これらは営業、経理、人事、マーケティング、セキュリティなどの事業部ごとに分類されています。各エージェントは、約48GBのユニファイドメモリを使用し、必要な情報とスキルを共有しながら効率的に作業を進めることが可能です。]]></description><link>https://gxcafe.github.io/tech-blog/3-6xing-zhai-yao/</link><guid isPermaLink="false">6a977b6a9b7f5900010f770c</guid><category><![CDATA[ローカルLLM]]></category><category><![CDATA[AIエージェント]]></category><category><![CDATA[Ollama]]></category><category><![CDATA[業務自動化]]></category><category><![CDATA[cost-zero-automation]]></category><dc:creator><![CDATA[Kengo Seki]]></dc:creator><pubDate>Wed, 02 Sep 2026 01:27:06 GMT</pubDate><content:encoded><![CDATA[<h2 id="ai%E3%82%A8%E3%83%BC%E3%82%B8%E3%82%A7%E3%83%B3%E3%83%88%E7%B5%84%E7%B9%94%E3%81%AE%E6%A7%8B%E7%AF%89%E3%81%A8%E9%81%8B%E7%94%A8">AI&#x30A8;&#x30FC;&#x30B8;&#x30A7;&#x30F3;&#x30C8;&#x7D44;&#x7E54;&#x306E;&#x69CB;&#x7BC9;&#x3068;&#x904B;&#x7528;</h2><h3 id="%E6%91%98%E8%A6%81">&#x6458;&#x8981;</h3><p>88&#x4F53;&#x306E;AI&#x30A8;&#x30FC;&#x30B8;&#x30A7;&#x30F3;&#x30C8;&#x3092;OpenClaw&#x306B;&#x767B;&#x9332;&#x3057;&#x3001;Ryzen AI MAX+ 395&#xFF08;Strix Halo&#xFF09;&#xFF0B;&#x7D04;48GB&#x30E6;&#x30CB;&#x30D5;&#x30A1;&#x30A4;&#x30C9;&#x30E1;&#x30E2;&#x30EA;&#x306E;&#x30DF;&#x30CB;PC&#x3068;Ollama 100% GPU&#x3067;&#x52B9;&#x7387;&#x7684;&#x306B;&#x904B;&#x7528;&#x3057;&#x3066;&#x3044;&#x307E;&#x3059;&#x3002;&#x7D44;&#x7E54;&#x306F;&#x55B6;&#x696D;&#x3001;&#x7D4C;&#x7406;&#x3001;&#x4EBA;&#x4E8B;&#x3001;&#x30DE;&#x30FC;&#x30B1;&#x30C6;&#x30A3;&#x30F3;&#x30B0;&#x3001;&#x30BB;&#x30AD;&#x30E5;&#x30EA;&#x30C6;&#x30A3;&#x306E;&#x5404;&#x4E8B;&#x696D;&#x90E8;&#x3067;&#x69CB;&#x6210;&#x3055;&#x308C;&#x3001;LLM&#xFF08;&#x5927;&#x898F;&#x6A21;&#x8A00;&#x8A9E;&#x30E2;&#x30C7;&#x30EB;&#xFF09;&#x3092;&#x5229;&#x7528;&#x3057;&#x305F;&#x81EA;&#x5F8B;&#x30C7;&#x30EA;&#x30D0;&#x30EA;&#x30FC;&#x30D1;&#x30A4;&#x30D7;&#x30E9;&#x30A4;&#x30F3;&#x304C;&#x7A3C;&#x50CD;&#x4E2D;&#x3067;&#x3059;&#x3002;&#x307E;&#x305F;&#x3001;WSL2&#x306E;&#x30CD;&#x30C3;&#x30C8;&#x30EF;&#x30FC;&#x30AF;&#x554F;&#x984C;&#x3084;&#x30B7;&#x30B9;&#x30C6;&#x30E0;&#x7DAD;&#x6301;&#x306E;&#x305F;&#x3081;&#x306E;&#x6280;&#x8853;&#x7684;&#x306A;&#x5BFE;&#x7B56;&#x3082;&#x8A73;&#x7D30;&#x306B;&#x7D39;&#x4ECB;&#x3057;&#x307E;&#x3059;&#x3002;</p><h3 id="ai%E3%82%A8%E3%83%BC%E3%82%B8%E3%82%A7%E3%83%B3%E3%83%88%E7%B5%84%E7%B9%94%E3%81%AE%E6%A7%8B%E7%AF%89">AI&#x30A8;&#x30FC;&#x30B8;&#x30A7;&#x30F3;&#x30C8;&#x7D44;&#x7E54;&#x306E;&#x69CB;&#x7BC9;</h3><p>88&#x4F53;&#x306E;AI&#x30A8;&#x30FC;&#x30B8;&#x30A7;&#x30F3;&#x30C8;&#x3092;OpenClaw&#x306B;&#x767B;&#x9332;&#x3057;&#x3001;&#x3053;&#x308C;&#x3089;&#x306F;&#x55B6;&#x696D;&#x3001;&#x7D4C;&#x7406;&#x3001;&#x4EBA;&#x4E8B;&#x3001;&#x30DE;&#x30FC;&#x30B1;&#x30C6;&#x30A3;&#x30F3;&#x30B0;&#x3001;&#x30BB;&#x30AD;&#x30E5;&#x30EA;&#x30C6;&#x30A3;&#x306A;&#x3069;&#x306E;&#x4E8B;&#x696D;&#x90E8;&#x3054;&#x3068;&#x306B;&#x5206;&#x985E;&#x3055;&#x308C;&#x3066;&#x3044;&#x307E;&#x3059;&#x3002;&#x5404;&#x30A8;&#x30FC;&#x30B8;&#x30A7;&#x30F3;&#x30C8;&#x306F;&#x3001;&#x7D04;48GB&#x306E;&#x30E6;&#x30CB;&#x30D5;&#x30A1;&#x30A4;&#x30C9;&#x30E1;&#x30E2;&#x30EA;&#x3092;&#x4F7F;&#x7528;&#x3057;&#x3001;&#x5FC5;&#x8981;&#x306A;&#x60C5;&#x5831;&#x3068;&#x30B9;&#x30AD;&#x30EB;&#x3092;&#x5171;&#x6709;&#x3057;&#x306A;&#x304C;&#x3089;&#x52B9;&#x7387;&#x7684;&#x306B;&#x4F5C;&#x696D;&#x3092;&#x9032;&#x3081;&#x308B;&#x3053;&#x3068;&#x304C;&#x53EF;&#x80FD;&#x3067;&#x3059;&#x3002;</p><h3 id="%E3%83%A2%E3%83%87%E3%83%AB%E9%81%B8%E5%AE%9A%E3%81%AE%E6%95%99%E8%A8%93">&#x30E2;&#x30C7;&#x30EB;&#x9078;&#x5B9A;&#x306E;&#x6559;&#x8A13;</h3><p>&#x65E5;&#x672C;&#x8A9E;&#x30E9;&#x30A4;&#x30C6;&#x30A3;&#x30F3;&#x30B0;&#x54C1;&#x8CEA;&#x306E;&#x5411;&#x4E0A;&#x3092;&#x76EE;&#x6307;&#x3057;&#x3066;&#x3001;qwen2.5:14b-instruct&#x3092;&#x9078;&#x629E;&#x3057;&#x307E;&#x3057;&#x305F;&#x3002;&#x521D;&#x671F;&#x306E;&#x30E2;&#x30C7;&#x30EB;&#x3067;&#x3042;&#x308B;llama3.1:8b&#x3067;&#x306F;&#x3001;&#x65E5;&#x672C;&#x8A9E;&#x30E9;&#x30A4;&#x30C6;&#x30A3;&#x30F3;&#x30B0;&#x306E;&#x54C1;&#x8CEA;&#x304C;&#x7D0D;&#x54C1;&#x30EC;&#x30D9;&#x30EB;&#x306B;&#x9054;&#x3057;&#x306A;&#x304B;&#x3063;&#x305F;&#x305F;&#x3081;&#x3001;&#x65B0;&#x3057;&#x3044;&#x30E2;&#x30C7;&#x30EB;&#x3078;&#x306E;&#x5207;&#x308A;&#x66FF;&#x3048;&#x3092;&#x691C;&#x8A0E;&#x3057;&#x307E;&#x3057;&#x305F;&#x3002;tools.profile&#x3092;minimal&#x306B;&#x8A2D;&#x5B9A;&#x3059;&#x308B;&#x3053;&#x3068;&#x3067;&#x3001;system&#x30D7;&#x30ED;&#x30F3;&#x30D7;&#x30C8;&#x304C;&#x5927;&#x5E45;&#x306B;&#x524A;&#x6E1B;&#x3055;&#x308C;&#x3001;&#x7D04;10&#x4E07;&#x30C8;&#x30FC;&#x30AF;&#x30F3;&#x304B;&#x3089;&#x7D04;9,600&#x30C8;&#x30FC;&#x30AF;&#x30F3;&#x306B;&#x6E1B;&#x5C11;&#x3057;&#x307E;&#x3057;&#x305F;&#x3002;&#x3053;&#x308C;&#x306B;&#x3088;&#x308A;&#x3001;&#x30C8;&#x30E9;&#x30F3;&#x30B9;&#x30AF;&#x30EA;&#x30D7;&#x30C8;&#x5727;&#x7E2E;&#x306E;&#x5931;&#x6557;&#x3082;&#x89E3;&#x6D88;&#x3055;&#x308C;&#x307E;&#x3057;&#x305F;&#x3002;</p><h3 id="%E5%AE%9F%E9%9A%9C%E5%AE%B3%E5%AF%BE%E7%AD%96">&#x5B9F;&#x969C;&#x5BB3;&#x5BFE;&#x7B56;</h3><p>&#x30A8;&#x30FC;&#x30B8;&#x30A7;&#x30F3;&#x30C8;&#x306E;&#x5B9F;&#x884C;&#x7D4C;&#x8DEF;&#x306F;&#x3001;workspace&#x306E;&#x30D5;&#x30A1;&#x30A4;&#x30EB;&#xFF08;AGENTS.md/MEMORY.md&#x7B49;&#xFF09;&#x7D04;1.8&#x4E07;&#x5B57;&#x3092;&#x6CE8;&#x5165;&#x3059;&#x308B;&#x305F;&#x3081;&#x3001;16k&#x7A93;&#x3067;&#x306F;&#x30B3;&#x30F3;&#x30C6;&#x30AD;&#x30B9;&#x30C8;&#x6EA2;&#x308C;&#x304C;&#x767A;&#x751F;&#x3057;&#x307E;&#x3057;&#x305F;&#x3002;&#x7D20;&#x306E;&#x63A8;&#x8AD6;&#xFF08;infer&#xFF09;&#x306B;&#x5207;&#x308A;&#x66FF;&#x3048;&#x308B;&#x3053;&#x3068;&#x3067;&#x3001;&#x3053;&#x306E;&#x554F;&#x984C;&#x3092;&#x89E3;&#x6C7A;&#x3057;&#x307E;&#x3057;&#x305F;&#x3002;&#x307E;&#x305F;&#x3001;&#x5F79;&#x5272;&#x3092;&#x30D7;&#x30ED;&#x30F3;&#x30D7;&#x30C8;&#x306B;&#x57CB;&#x3081;&#x8FBC;&#x3080;&#x65B9;&#x5F0F;&#x3092;&#x63A1;&#x7528;&#x3059;&#x308B;&#x3053;&#x3068;&#x3067;&#x3001;&#x52B9;&#x7387;&#x7684;&#x306A;&#x63A8;&#x8AD6;&#x304C;&#x53EF;&#x80FD;&#x306B;&#x306A;&#x308A;&#x307E;&#x3057;&#x305F;&#x3002;</p><h3 id="%E8%87%AA%E5%BE%8B%E3%83%87%E3%83%AA%E3%83%90%E3%83%AA%E3%83%BC%E3%83%91%E3%82%A4%E3%83%97%E3%83%A9%E3%82%A4%E3%83%B3%E3%81%AE%E9%81%8B%E5%96%B6">&#x81EA;&#x5F8B;&#x30C7;&#x30EA;&#x30D0;&#x30EA;&#x30FC;&#x30D1;&#x30A4;&#x30D7;&#x30E9;&#x30A4;&#x30F3;&#x306E;&#x904B;&#x55B6;</h3><p>&#x53D7;&#x8A17;&#x6848;&#x4EF6;&#x306E;&#x81EA;&#x5F8B;&#x30C7;&#x30EA;&#x30D0;&#x30EA;&#x30FC;&#x30D1;&#x30A4;&#x30D7;&#x30E9;&#x30A4;&#x30F3;&#x304C;&#x7A3C;&#x50CD;&#x4E2D;&#x3067;&#x3059;&#x3002;&#x3053;&#x306E;&#x30D7;&#x30ED;&#x30BB;&#x30B9;&#x3067;&#x306F;&#x3001;LLM&#x304C;&#x5236;&#x4F5C;&#x3001;&#x72EC;&#x7ACB;LLM&#x30EC;&#x30D3;&#x30E5;&#x30FC;&#x3001;&#x30EA;&#x30D3;&#x30B8;&#x30E7;&#x30F3;&#x30EB;&#x30FC;&#x30D7;&#x3092;&#x7D4C;&#x3066;&#x3001;&#x5408;&#x683C;&#x54C1;&#x8CEA;&#x306E;&#x88FD;&#x54C1;&#x3092;&#x81EA;&#x52D5;&#x7684;&#x306B;&#x751F;&#x6210;&#x3057;&#x307E;&#x3059;&#x3002;&#x3053;&#x306E;&#x30D1;&#x30A4;&#x30D7;&#x30E9;&#x30A4;&#x30F3;&#x3067;&#x306F;&#x3001;LLM&#x306B;&#x3088;&#x308B;&#x5236;&#x4F5C;&#x304B;&#x3089;&#x30EA;&#x30D3;&#x30B8;&#x30E7;&#x30F3;&#x30EB;&#x30FC;&#x30D7;&#x307E;&#x3067;&#x3092;&#x6700;&#x5927;2&#x56DE;&#x307E;&#x3067;&#x81EA;&#x52D5;&#x3067;&#x7E70;&#x308A;&#x8FD4;&#x3057;&#x3001;&#x4EBA;&#x9593;&#x306E;&#x4ECB;&#x5165;&#x306F;&#x5951;&#x7D04;&#x78BA;&#x8A8D;&#x306E;&#x307F;&#x3067;&#x6E08;&#x307F;&#x307E;&#x3059;&#x3002;&#x72B6;&#x614B;&#x9077;&#x79FB;&#x306F;JSON&#x53F0;&#x5E33;&#x3067;&#x30B9;&#x30AF;&#x30EA;&#x30D7;&#x30C8;&#x304C;&#x6C7A;&#x5B9A;&#x7684;&#x306B;&#x7BA1;&#x7406;&#x3055;&#x308C;&#x307E;&#x3059;&#x3002;</p><h3 id="%E3%82%B7%E3%82%B9%E3%83%86%E3%83%A0%E7%B6%AD%E6%8C%81%E3%81%A8%E3%82%B9%E3%82%B1%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AA%E3%83%B3%E3%82%B0">&#x30B7;&#x30B9;&#x30C6;&#x30E0;&#x7DAD;&#x6301;&#x3068;&#x30B9;&#x30B1;&#x30B8;&#x30E5;&#x30FC;&#x30EA;&#x30F3;&#x30B0;</h3><p>Node&#x88FD;&#x30B9;&#x30B1;&#x30B8;&#x30E5;&#x30FC;&#x30E9;&#x3092;OpenClaw&#x30CD;&#x30A4;&#x30C6;&#x30A3;&#x30D6;cron&#x306B;&#x7F6E;&#x304D;&#x63DB;&#x3048;&#x3001;&#x5168;&#x5DE5;&#x7A0B;&#x3092;&#x30ED;&#x30FC;&#x30AB;&#x30EB;&#x30FB;&#x7121;&#x6599;&#x3067;&#x7DAD;&#x6301;&#x3057;&#x3066;&#x3044;&#x307E;&#x3059;&#x3002;&#x307E;&#x305F;&#x3001;WSL2&#x306E;&#x30CD;&#x30C3;&#x30C8;&#x30EF;&#x30FC;&#x30AF;&#x554F;&#x984C;&#x306B;&#x5BFE;&#x5FDC;&#x3057;&#x3001;Windows&#x30CD;&#x30A4;&#x30C6;&#x30A3;&#x30D6;Gateway&#x306E;&#x30DD;&#x30FC;&#x30C8;18789&#x3092;WSL&#x5074;&#x306B;&#x30B7;&#x30E3;&#x30C9;&#x30FC;&#x30A4;&#x30F3;&#x30B0;&#x3057;&#x3066;&#x3044;&#x305F;&#x554F;&#x984C;&#x3092;&#x89E3;&#x6C7A;&#x3057;&#x307E;&#x3057;&#x305F;&#x3002;&#x3053;&#x308C;&#x3092;&#x901A;&#x3058;&#x3066;&#x3001;&#x5B89;&#x5B9A;&#x3057;&#x305F;&#x904B;&#x7528;&#x74B0;&#x5883;&#x3092;&#x7DAD;&#x6301;&#x3057;&#x3066;&#x3044;&#x307E;&#x3059;&#x3002;</p><h3 id="247%E9%81%8B%E7%94%A8%E7%92%B0%E5%A2%83%E3%81%AE%E6%A7%8B%E7%AF%89">24/7&#x904B;&#x7528;&#x74B0;&#x5883;&#x306E;&#x69CB;&#x7BC9;</h3><p>&#x30C7;&#x30B9;&#x30AF;&#x30C8;&#x30C3;&#x30D7;PC&#x3067;&#x306E;24/7&#x904B;&#x7528;&#x74B0;&#x5883;&#x3092;&#x69CB;&#x7BC9;&#x3057;&#x307E;&#x3057;&#x305F;&#x3002;systemd user service&#x3068;loginctl linger&#x3067;Gateway&#x5E38;&#x99D0;&#x3092;&#x53EF;&#x80FD;&#x3068;&#x3057;&#x3001;Windows&#x30BF;&#x30B9;&#x30AF;&#x30B9;&#x30B1;&#x30B8;&#x30E5;&#x30FC;&#x30E9;&#x304C;&#x30ED;&#x30B0;&#x30AA;&#x30F3;&#x6642;&#x306B;WSL&#x3092;&#x8D77;&#x52D5;&#x3057;&#x307E;&#x3059;&#x3002;&#x3055;&#x3089;&#x306B;&#x3001;AC&#x96FB;&#x6E90;&#x6642;&#x306E;&#x30B9;&#x30EA;&#x30FC;&#x30D7;&#x3092;&#x7121;&#x52B9;&#x5316;&#x3059;&#x308B;&#x3053;&#x3068;&#x3067;&#x3001;&#x5E38;&#x306B;&#x7A3C;&#x50CD;&#x3059;&#x308B;&#x74B0;&#x5883;&#x3092;&#x5B9F;&#x73FE;&#x3057;&#x3066;&#x3044;&#x307E;&#x3059;&#x3002;</p><h2 id="%E5%AE%9F%E8%B7%B5%E7%9A%84%E3%81%BE%E3%81%A8%E3%82%81">&#x5B9F;&#x8DF5;&#x7684;&#x307E;&#x3068;&#x3081;</h2><p>AI&#x30A8;&#x30FC;&#x30B8;&#x30A7;&#x30F3;&#x30C8;&#x7D44;&#x7E54;&#x306E;&#x69CB;&#x7BC9;&#x3068;&#x904B;&#x7528;&#x306B;&#x306F;&#x3001;&#x30E2;&#x30C7;&#x30EB;&#x306E;&#x9078;&#x5B9A;&#x3001;&#x5B9F;&#x969C;&#x5BB3;&#x5BFE;&#x7B56;&#x3001;&#x81EA;&#x5F8B;&#x30C7;&#x30EA;&#x30D0;&#x30EA;&#x30FC;&#x30D1;&#x30A4;&#x30D7;&#x30E9;&#x30A4;&#x30F3;&#x306E;&#x904B;&#x55B6;&#x3001;&#x30B7;&#x30B9;&#x30C6;&#x30E0;&#x7DAD;&#x6301;&#x3068;&#x30B9;&#x30B1;&#x30B8;&#x30E5;&#x30FC;&#x30EA;&#x30F3;&#x30B0;&#x3001;24/7&#x904B;&#x7528;&#x74B0;&#x5883;&#x306E;&#x69CB;&#x7BC9;&#x306A;&#x3069;&#x3001;&#x8907;&#x6570;&#x306E;&#x30B9;&#x30C6;&#x30C3;&#x30D7;&#x304C;&#x5FC5;&#x8981;&#x3067;&#x3059;&#x3002;&#x305D;&#x308C;&#x305E;&#x308C;&#x306E;&#x30B9;&#x30C6;&#x30C3;&#x30D7;&#x3067;&#x306F;&#x3001;&#x5177;&#x4F53;&#x7684;&#x306A;&#x554F;&#x984C;&#x306B;&#x53D6;&#x308A;&#x7D44;&#x3080;&#x3053;&#x3068;&#x3067;&#x3001;&#x52B9;&#x7387;&#x7684;&#x306A;&#x30B7;&#x30B9;&#x30C6;&#x30E0;&#x3092;&#x7DAD;&#x6301;&#x3059;&#x308B;&#x3053;&#x3068;&#x304C;&#x53EF;&#x80FD;&#x3067;&#x3059;&#x3002;</p>]]></content:encoded></item><item><title><![CDATA[Enhancing Autonomous Agent Stability with Optimized Context Management on Local LLMs]]></title><description><![CDATA[Autonomous AI agents are becoming integral to business operations, automating tasks across sales, finance, HR, marketing, and security divisions. Running these agents locally with large language models (LLMs) offers significant advantages over cloud-based solutions by reducing co]]></description><link>https://gxcafe.github.io/tech-blog/enhancing-autonomous-agent-stability-with-optimized-context-management-on-local-llms/</link><guid isPermaLink="false">6a7fbff4567f6e000168e2bc</guid><category><![CDATA[local-llm]]></category><category><![CDATA[ai-agents]]></category><category><![CDATA[ollama]]></category><category><![CDATA[build-in-public]]></category><category><![CDATA[agent-org-design]]></category><dc:creator><![CDATA[Kengo Seki]]></dc:creator><pubDate>Sat, 15 Aug 2026 01:25:08 GMT</pubDate><content:encoded><![CDATA[<h2 id="introduction-to-autonomous-ai-agents-and-local-llms">Introduction to Autonomous AI Agents and Local LLMs</h2><p>Autonomous AI agents are becoming integral to business operations, automating tasks across sales, finance, HR, marketing, and security divisions. Running these agents locally with large language models (LLMs) offers significant advantages over cloud-based solutions by reducing costs and eliminating reliance on external APIs. However, local deployments introduce new challenges, particularly in managing context efficiently to maintain system stability.</p><h2 id="context-management-challenges-in-local-deployments">Context Management Challenges in Local Deployments</h2><p>Local deployment of LLMs demands meticulous context management due to limited memory resources and strict token limits. In the described setup with an 88-agent business OS running on a Ryzen AI MAX+ 395 (Strix Halo) mini PC equipped with ~48GB unified memory, each agent requires substantial context for effective operation. The challenge lies in balancing detailed system prompts against the risk of context overflow, which can lead to prompt failures and erratic behavior.</p><h2 id="model-selection-and-system-prompt-optimization-lessons">Model Selection and System Prompt Optimization Lessons</h2><p>The choice of model significantly impacts stability and performance in local deployments. Initial experiments with llama3.1:8b showed poor results in Japanese writing quality, necessitating a switch to qwen2.5:14b-instruct for better performance. Furthermore, optimizing the system prompt by switching <code>tools.profile</code> to minimal reduced the prompt size from approximately 100k tokens to around 9.6k tokens. This adjustment not only improved stability but also resolved issues with transcript compaction failures.</p><h2 id="real-world-case-study-optimizing-agent-stability-with-numctx-tuning">Real-world Case Study: Optimizing Agent Stability with num_ctx Tuning</h2><p>A critical failure in the system was identified when an excessive amount of workspace files (about 18,000 characters) were injected into each call, leading to a context overflow on a 16k token window. This issue was resolved by adopting raw inference and embedding the role within the prompt. Moreover, tuning the <code>num_ctx</code> parameter to 16384 tokens proved stable, while increasing it to 32768 resulted in failures after several consecutive calls.</p><h2 id="implementing-a-robust-publishing-pipeline-for-continuous-improvement">Implementing a Robust Publishing Pipeline for Continuous Improvement</h2><p>To ensure continuous improvement of the autonomous agents, an efficient publishing pipeline was established. The process includes LLM production followed by independent review and revision loops (maximum two passes), with human confirmation limited to the contract phase. A deterministic JSON ledger drives all state transitions. This system leverages parallel AI reviewers who identified ten real bugs, including a race condition causing duplicate publishes.</p><h2 id="operational-considerations-and-troubleshooting-tips">Operational Considerations and Troubleshooting Tips</h2><p>Operational stability hinges on several factors. Using systemd user services combined with loginctl linger for gateway management ensures 24/7 operation on the desktop setup. Additionally, integrating Windows task scheduler to boot WSL upon logon simplifies startup procedures. Practical considerations like disabling sleep mode during AC use further enhance reliability.</p><h2 id="takeaway">Takeaway</h2><p>Efficient context management and careful model selection are crucial for stable local deployment of autonomous AI agents. Implementing a robust publishing pipeline with rigorous review processes ensures continuous improvement. Operational stability requires thoughtful integration of system services and meticulous attention to detail in configuration settings, such as managing WSL and Windows task scheduling interactions effectively.</p>]]></content:encoded></item><item><title><![CDATA[Fine-Tuning Context Management for Autonomous Business Operations Using Zero-API-Cost Strategy]]></title><description><![CDATA[Autonomous business operations leverage advanced technologies such as large language models (LLMs) and local infrastructure management tools like OpenClaw to automate various business functions efficiently. The zero-API-cost strategy focuses on minimizing reliance on external clo]]></description><link>https://gxcafe.github.io/tech-blog/fine-tuning-context-management-for-autonomous-business-operations-using-zero-api-cost-strategy/</link><guid isPermaLink="false">6a747acbe2c17500017d5d16</guid><category><![CDATA[local-llm]]></category><category><![CDATA[ai-agents]]></category><category><![CDATA[ollama]]></category><category><![CDATA[build-in-public]]></category><category><![CDATA[cost-zero-automation]]></category><dc:creator><![CDATA[Kengo Seki]]></dc:creator><pubDate>Thu, 06 Aug 2026 12:15:08 GMT</pubDate><content:encoded><![CDATA[<h2 id="introduction-to-autonomous-business-operations-with-zero-api-cost-strategy">Introduction to Autonomous Business Operations with Zero-API-Cost Strategy</h2><p>Autonomous business operations leverage advanced technologies such as large language models (LLMs) and local infrastructure management tools like OpenClaw to automate various business functions efficiently. The zero-API-cost strategy focuses on minimizing reliance on external cloud services, thereby reducing costs while ensuring robust and continuous operation.</p><p>This article explores the practical implementation of an 88-agent business operating system running on a single Ryzen AI MAX+ 395 mini PC, using Ollama for resource management and OpenClaw for local model registration. The setup enables autonomous execution across multiple divisions such as sales, finance, HR, marketing, and security.</p><h2 id="case-study-building-an-88-agent-business-os-using-local-llms-and-openclaw">Case Study: Building an 88-Agent Business OS Using Local LLMs and OpenClaw</h2><p>The business operating system is structured to handle tasks autonomously with minimal human intervention. Each agent within the system operates based on predefined rules that dictate interactions between different divisions. For example, sales agents use data from marketing to refine their strategies, while HR uses financial performance metrics for employee evaluations.</p><p>The system relies heavily on local models registered via OpenClaw and managed by Ollama. This setup ensures efficient resource utilization and rapid response times without incurring API costs associated with external cloud services. The use of local LLMs tailored for specific roles simplifies context management, reducing the overhead involved in complex configurations and improving overall system performance.</p><h2 id="model-selection-and-context-management-challenges">Model Selection and Context Management Challenges</h2><p>Selecting the right models is a critical aspect of ensuring optimal performance in an autonomous business OS. Early tests revealed that llama3.1:8b was inadequate for delivering high-quality Japanese writing, whereas qwen2.5:14b-instruct proved more effective. This model better handled language-specific nuances and met delivery quality standards.</p><p>Context management posed significant challenges due to workspace files injecting large amounts of data into each call, leading to context overflow issues. To address this, the system switched from profiled tools to raw inference with roles embedded directly in prompts. This adjustment reduced prompt sizes drastically&#x2014;from approximately 100k tokens down to 9.6k tokens&#x2014;while eliminating transcript-compaction failures.</p><h2 id="implementing-stable-and-efficient-production-pipelines-locally">Implementing Stable and Efficient Production Pipelines Locally</h2><p>Stability is paramount for continuous operation of the autonomous business OS. Careful tuning of model parameters such as num_ctx ensures stable performance under heavy workloads. For this setup, a value of 16384 was found to be optimal, while higher values like 32768 led to performance degradation over consecutive calls.</p><p>The production pipeline is designed with deterministic state transitions driven by JSON-ledger operations. This mechanism allows independent LLM review followed by revision loops with human confirmation only at contract stages. This reduces the need for constant oversight and enhances system reliability.</p><h2 id="automating-deployment-and-maintenance-for-continuous-operation">Automating Deployment and Maintenance for Continuous Operation</h2><p>Ensuring continuous operation involves automated deployment and maintenance processes. Systemd user services, in conjunction with loginctl linger, are used to keep WSL2 active upon Windows logon. Additionally, disabling sleep mode on AC power ensures uninterrupted runtime.</p><p>OpenClaw&apos;s native cron scheduler replaces traditional Node-based solutions for task scheduling, maintaining a zero-API-cost strategy by keeping all dependencies local. However, network disruptions occurred when setting up WSL2 mirroring due to a critical port being held by a Windows-native gateway until resolved.</p><h2 id="lessons-learned-and-best-practices-for-zero-api-cost-autonomous-agents">Lessons Learned and Best Practices for Zero-API-Cost Autonomous Agents</h2><p>Several key lessons emerged from this project:</p><ul><li><strong>Model Profiling</strong>: Tailoring models to specific roles simplifies context management and enhances performance.</li><li><strong>Prompt Embedding</strong>: Directly embedding role information into prompts streamlines execution by reducing system overhead.</li><li><strong>Context Window Tuning</strong>: Carefully adjusting num_ctx parameters ensures stable model operation under heavy workloads.</li><li><strong>Local Scheduling</strong>: Utilizing OpenClaw&apos;s native cron for task scheduling maintains a zero-API-cost strategy, keeping all dependencies local.</li></ul><p>These insights are crucial for anyone aiming to develop robust autonomous business operations using the zero-API-cost approach. By adhering to these best practices and continuously refining context management techniques, businesses can achieve reliable, efficient, and cost-effective operation of AI-driven systems.</p><h2 id="practical-takeaway">Practical Takeaway</h2><p>Implementing an autonomous business OS with local LLMs and a zero-API-cost strategy requires careful planning and optimization. Key steps include selecting appropriate models tailored for specific roles, embedding role information directly into prompts to streamline execution, carefully tuning context window parameters, and leveraging local scheduling tools like OpenClaw&apos;s cron. By following these guidelines, businesses can build reliable AI-driven systems that operate independently without relying on external cloud services or incurring API costs.</p>]]></content:encoded></item><item><title><![CDATA[Fine-Tuning Context Management for Stable Autonomous Business Operations on Local LLMs]]></title><description><![CDATA[Autonomous AI agents are becoming increasingly vital components of business operations, tasked with handling complex tasks across various departments such as sales, finance, HR, marketing, and security. These agents rely heavily on large language models (LLMs) deployed locally fo]]></description><link>https://gxcafe.github.io/tech-blog/fine-tuning-context-management-for-stable-autonomous-business-operations-on-local-llms/</link><guid isPermaLink="false">6a6ab3ab4143970001061ff3</guid><category><![CDATA[local-llm]]></category><category><![CDATA[ai-agents]]></category><category><![CDATA[ollama]]></category><category><![CDATA[build-in-public]]></category><dc:creator><![CDATA[Kengo Seki]]></dc:creator><pubDate>Thu, 30 Jul 2026 02:15:08 GMT</pubDate><content:encoded><![CDATA[<h2 id="introduction-to-autonomous-ai-agents-and-local-llm-deployment">Introduction to Autonomous AI Agents and Local LLM Deployment</h2><p>Autonomous AI agents are becoming increasingly vital components of business operations, tasked with handling complex tasks across various departments such as sales, finance, HR, marketing, and security. These agents rely heavily on large language models (LLMs) deployed locally for faster response times and data privacy. However, the deployment of LLMs in a local setting introduces unique challenges that must be carefully managed to ensure stable and autonomous operations.</p><h2 id="context-management-challenges-in-local-deployments">Context Management Challenges in Local Deployments</h2><p>Local deployments of AI systems face significant hurdles when it comes to context management. Agents need to process extensive amounts of information from various sources, leading to potential overflow issues due to limited memory capacity. For example, an 88-agent business OS registered on OpenClaw encountered a context overflow issue when injecting workspace files into each call, pushing the total character count well beyond the optimal limit for the model&apos;s context window. This necessitated a switch from integrated workflow management to raw inference methods with prompts embedded directly within calls.</p><p>Additionally, maintaining consistent performance requires careful tuning of parameters such as <code>num_ctx</code>, which controls the maximum length of input tokens the model can process. In testing environments, increasing <code>num_ctx</code> beyond 16384 tokens led to instability and failure in subsequent calls, highlighting the importance of finding an optimal balance that supports both efficiency and reliability.</p><h2 id="model-selection-and-system-optimization-a-case-study">Model Selection and System Optimization: A Case Study</h2><p>The choice of LLM significantly impacts system performance and operational effectiveness. In one case study, switching from the <code>llama3.1:8b</code> model to <code>qwen2.5:14b-instruct</code> resolved critical issues with Japanese writing quality at delivery time. However, this improvement came at the cost of increased memory usage, necessitating optimization strategies such as reducing system prompts and minimizing tool profiles.</p><p>A key lesson from this case study is that selecting a model based on specific task requirements and continuously refining configurations can drastically improve operational efficiency while maintaining high service quality. For instance, switching <code>tools.profile</code> to minimal reduced the system prompt size from approximately 100k tokens down to 9.6k tokens, resolving previous issues with transcript compaction failures.</p><h2 id="implementing-stable-autonomous-delivery-pipelines">Implementing Stable Autonomous Delivery Pipelines</h2><p>Stable autonomous delivery pipelines are essential for ensuring consistent and reliable service provision in local LLM deployments. One operational model involves a three-stage pipeline: production of new models, independent review by another LLM, followed by up to two revision loops before final human confirmation. This structured approach ensures that all changes pass through rigorous testing phases without relying heavily on manual intervention.</p><p>Furthermore, maintaining deterministic state transitions is crucial for predictable operations. A JSON ledger drives these transitions, guaranteeing consistency in the system&apos;s behavior regardless of external variables. For example, parallel AI reviewers found 10 real bugs during code reviews and end-to-end tests of this pipeline, including a critical race condition causing duplicate publishes&#x2014;a testament to the importance of thorough testing mechanisms.</p><h2 id="ensuring-seamless-integration-with-business-strategies">Ensuring Seamless Integration with Business Strategies</h2><p>Integrating local LLM deployments seamlessly into broader business strategies demands careful alignment between technical implementations and strategic goals. An effective approach involves adopting open-source tools like OpenClaw for streamlined deployment and management, while minimizing dependencies on external services to ensure data sovereignty and control over infrastructure costs.</p><p>For instance, replacing a Node scheduler with OpenClaw&#x2019;s native cron utility allowed the system to remain entirely self-contained without additional licensing fees or cloud overhead. This shift not only reduced operational expenses but also improved security by limiting exposure to potential vulnerabilities in third-party systems.</p><h2 id="best-practices-for-continuous-operation-and-maintenance">Best Practices for Continuous Operation and Maintenance</h2><p>Sustaining continuous operation of local LLM deployments requires proactive maintenance practices. Key considerations include:</p><ul><li><strong>Regular Testing:</strong> Conduct periodic E2E tests to identify and address performance bottlenecks early.</li><li><strong>Automated Monitoring:</strong> Implement monitoring tools to detect anomalies or failures promptly.</li><li><strong>Resource Management:</strong> Continuously monitor resource usage, such as memory and GPU allocation, to prevent overloading critical components.</li><li><strong>Update Policies:</strong> Regularly update models and software to benefit from the latest optimizations and security patches.</li></ul><h2 id="practical-takeaway">Practical Takeaway</h2><p>Deploying large language models locally for autonomous business operations involves navigating complex context management challenges, selecting appropriate models based on specific requirements, implementing robust delivery pipelines, aligning technical implementations with broader business strategies, and maintaining continuous operational stability through rigorous testing and monitoring practices. By focusing on these foundational principles, businesses can leverage local LLMs to enhance efficiency while ensuring data security and cost-effectiveness.</p>]]></content:encoded></item><item><title><![CDATA[Fine-Tuning Local Business Models for Efficient Autonomous Operations Using Zero-API-Cost Strategy]]></title><description><![CDATA[Running autonomous AI agents locally offers businesses a cost-effective and efficient alternative to cloud-based solutions, particularly when it comes to managing diverse business functions such as sales, finance, HR, marketing, and security. By leveraging local large language mo]]></description><link>https://gxcafe.github.io/tech-blog/fine-tuning-local-business-models-for-efficient-autonomous-operations-using-zero-api-cost-strategy-2/</link><guid isPermaLink="false">6a681eb4d748e10001a3e826</guid><category><![CDATA[local-llm]]></category><category><![CDATA[ai-agents]]></category><category><![CDATA[ollama]]></category><category><![CDATA[build-in-public]]></category><category><![CDATA[cost-zero-automation]]></category><dc:creator><![CDATA[Kengo Seki]]></dc:creator><pubDate>Tue, 28 Jul 2026 03:15:00 GMT</pubDate><content:encoded><![CDATA[<h2 id="introduction-to-running-autonomous-ai-agents-locally-without-api-costs">Introduction to Running Autonomous AI Agents Locally Without API Costs</h2><p>Running autonomous AI agents locally offers businesses a cost-effective and efficient alternative to cloud-based solutions, particularly when it comes to managing diverse business functions such as sales, finance, HR, marketing, and security. By leveraging local large language models (LLMs) and minimizing reliance on external APIs, organizations can achieve stable performance while significantly reducing operational costs.</p><p>This article explores how to effectively utilize local LLMs in autonomous operations, focusing on optimization strategies, implementation techniques, and management practices that ensure continuous operation without the need for API-based interactions. Through a detailed case study of building an 88-agent business operating system (OS) using Ryzen AI MAX+ 395 mini PC and OpenClaw, we will illustrate key considerations and best practices.</p><h2 id="case-study-building-an-88-agent-business-operating-system-with-local-llms">Case Study: Building an 88-Agent Business Operating System with Local LLMs</h2><p>Building an autonomous business OS using local LLMs involves several critical steps. The initial challenge was selecting a model that could handle various language tasks efficiently. We found that while llama3.1:8b failed to perform accurately in Japanese writing tasks, switching to qwen2.5:14b-instruct significantly improved results.</p><p>To ensure stability and performance, we reduced system prompt sizes from an initial 100k tokens to approximately 9.6k tokens by setting <code>tools.profile</code> to minimal mode. This optimization helped prevent context overflow issues while maintaining high accuracy.</p><p>We also faced network configuration challenges where a forgotten Windows-native gateway held port 18789 and shadowed the WSL gateway for hours, causing delays in deployment. To mitigate such issues, we used OpenClaw native cron tasks and replaced them with a Node scheduler to keep everything local and free.</p><p>For continuous operation, systemd user services combined with loginctl linger ensured sustained uptime for critical components like gateways, while Windows task scheduling automatically restarted WSL sessions upon user logon. Disabling sleep mode on AC power further enhanced reliability by preventing unintended downtime due to power management features.</p><h2 id="optimization-strategies-for-stable-performance-and-cost-efficiency">Optimization Strategies for Stable Performance and Cost Efficiency</h2><p>Ensuring stable performance of local LLMs requires careful selection of models, prompt optimization, and effective management of computational resources. In our project, the initial challenge was selecting a suitable model that could handle various language tasks efficiently. We found that while llama3.1:8b failed to perform accurately in Japanese writing tasks, switching to qwen2.5:14b-instruct significantly improved results.</p><p>Another critical aspect involved reducing system prompt sizes and token usage to prevent context overflow issues. By setting <code>tools.profile</code> to minimal mode, we successfully trimmed the initial 100k token prompts down to approximately 9.6k tokens, enhancing both performance and stability.</p><h2 id="implementing-zero-api-cost-autonomous-delivery-pipelines-in-production">Implementing Zero-API-Cost Autonomous Delivery Pipelines in Production</h2><p>Integrating local LLMs into a production environment requires a robust pipeline architecture that ensures continuous operation and reliable delivery of services. Our autonomous delivery pipeline includes three stages: LLM production, independent review by another LLM, and revision loops with maximum two passes per issue.</p><p>This setup minimizes human intervention to primarily contract confirmation while maintaining deterministic state transitions through a JSON ledger. This approach ensures consistency and traceability across all operational phases, supporting seamless deployment in local environments.</p><h2 id="ensuring-reliability-through-comprehensive-testing-and-review-processes">Ensuring Reliability Through Comprehensive Testing and Review Processes</h2><p>Reliability is crucial for autonomous systems to maintain trust and operational integrity. In our project, we adopted thorough testing and review processes involving detailed code reviews, automated tests, and continuous monitoring of performance metrics.</p><p>A significant challenge was identifying a race condition issue within the JSON ledger logic that caused duplicate publications. This bug was identified during AI-led parallel reviews and promptly addressed before moving into production. Additionally, network configuration errors were meticulously managed to ensure uninterrupted operations.</p><h2 id="managing-local-infrastructure-for-continuous-247-operation">Managing Local Infrastructure for Continuous 24/7 Operation</h2><p>Maintaining continuous operation in local infrastructure demands careful management of system resources and processes. In our setup, systemd user services combined with loginctl linger enabled sustained uptime for critical components like gateways. Meanwhile, Windows task scheduling ensured WSL sessions would automatically restart upon user logon.</p><p>Disabling sleep mode on AC power further enhanced reliability by preventing unintended downtime due to power management features.</p><h2 id="conclusion-the-benefits-of-deploying-autonomous-ai-agents-locally">Conclusion: The Benefits of Deploying Autonomous AI Agents Locally</h2><p>Deploying autonomous AI agents locally offers numerous advantages over traditional cloud-based solutions. By leveraging robust local infrastructure and carefully optimized models, businesses can achieve efficient operations while minimizing costs and ensuring reliable performance. This approach provides a scalable framework for managing diverse business functions and lays the groundwork for future enhancements in automation and artificial intelligence.</p><h2 id="practical-takeaway">Practical Takeaway</h2><p>For organizations looking to adopt autonomous AI agents locally:</p><ul><li>Select appropriate LLMs based on specific operational needs and language requirements.</li><li>Optimize system prompts and manage token usage effectively to prevent context overflow issues.</li><li>Implement deterministic state management using ledgers or similar mechanisms for reliable transitions.</li><li>Ensure continuous uptime through meticulous configuration of local services and resource management.</li></ul>]]></content:encoded></item><item><title><![CDATA[Fine-Tuning Local Business Models for Efficient Autonomous Operations Using Zero-API-Cost Strategy]]></title><description><![CDATA[Running autonomous AI agents locally without incurring API costs is a compelling strategy for enhancing operational efficiency and control over business models. This approach leverages local hardware resources to ensure data privacy, reduce latency, and minimize expenses associat]]></description><link>https://gxcafe.github.io/tech-blog/fine-tuning-local-business-models-for-efficient-autonomous-operations-using-zero-api-cost-strategy/</link><guid isPermaLink="false">6a681eb4d748e10001a3e81d</guid><category><![CDATA[local-llm]]></category><category><![CDATA[ai-agents]]></category><category><![CDATA[ollama]]></category><category><![CDATA[build-in-public]]></category><category><![CDATA[agent-org-design]]></category><dc:creator><![CDATA[Kengo Seki]]></dc:creator><pubDate>Tue, 28 Jul 2026 03:15:00 GMT</pubDate><content:encoded><![CDATA[<h2 id="introduction-to-running-autonomous-ai-agents-locally-with-zero-api-costs">Introduction to Running Autonomous AI Agents Locally with Zero-API Costs</h2><p>Running autonomous AI agents locally without incurring API costs is a compelling strategy for enhancing operational efficiency and control over business models. This approach leverages local hardware resources to ensure data privacy, reduce latency, and minimize expenses associated with cloud services.</p><h2 id="case-study-88-agent-business-os-deployed-on-local-hardware">Case Study: 88-Agent Business OS Deployed on Local Hardware</h2><p>Our case study centers around deploying an extensive network of 88 autonomous AI agents across various departments within a company. Each agent is designed to handle specific tasks such as customer support in sales, financial analysis in finance, HR management in human resources, content generation in marketing, and security monitoring. All these agents operate on local hardware without relying on external APIs or cloud services, ensuring data remains secure and operations are uninterrupted.</p><h2 id="model-selection-and-optimization-strategies-for-efficient-performance">Model Selection and Optimization Strategies for Efficient Performance</h2><p>Choosing the right models is crucial for achieving optimal performance in local AI deployments. Initially, we experimented with the llama3.1:8b model but encountered quality issues when handling Japanese text. Switching to qwen2.5:14b-instruct improved performance significantly. Additionally, reducing system prompts from about 100k tokens to around 9.6k tokens minimized context overflow errors by adjusting settings in the <code>tools.profile</code> configuration.</p><h2 id="troubleshooting-common-issues-in-local-llm-deployment">Troubleshooting Common Issues in Local LLM Deployment</h2><p>Several common issues can arise during local AI deployments that require careful troubleshooting. One notable issue was an excessive injection of workspace files into the context window, leading to overflow. This problem was resolved by switching to raw inference with direct embedding of roles within prompts. Another critical aspect is understanding GPU constraints; we found that while 16384 tokens provided a stable context size, increasing this limit caused failures after multiple consecutive calls.</p><h2 id="building-a-deterministic-publishing-pipeline-with-local-inference">Building a Deterministic Publishing Pipeline with Local Inference</h2><p>Establishing a reliable publishing pipeline is essential for ensuring consistent and autonomous operations. This involves LLMs generating content followed by independent reviews from other models in a revision loop until the final product is approved. A JSON ledger manages all state transitions, allowing for minimal human intervention while maintaining integrity.</p><p>During development, parallel AI reviewers conducted thorough code reviews and identified several bugs, including race conditions causing duplicate publishes. Ensuring rigorous testing at each stage is vital to maintain system reliability.</p><h2 id="maintaining-continuous-operation-using-systemd-and-task-scheduler">Maintaining Continuous Operation Using Systemd and Task Scheduler</h2><p>To ensure continuous operation, we implemented systemd user services combined with loginctl linger for persistent gateway connections. Additionally, Windows task scheduler was used to automatically boot WSL on user logon, and power settings were adjusted to prevent system sleep when connected to AC power. These measures help maintain uptime and ensure all scheduled tasks run smoothly.</p><h2 id="conclusion-benefits-of-the-zero-api-cost-strategy-for-autonomous-operations">Conclusion: Benefits of the Zero-API-Cost Strategy for Autonomous Operations</h2><p>Adopting a zero-API-cost strategy offers several benefits, including enhanced data control, reduced latency, improved security, and cost savings. By fine-tuning model selection and optimization strategies, addressing common deployment issues, building deterministic pipelines, and maintaining continuous operation through robust system tools, businesses can achieve efficient autonomous operations.</p><h2 id="practical-takeaway">Practical Takeaway</h2><p>To implement an effective zero-API-cost strategy:</p><ol><li>Select models tailored to specific task requirements.</li><li>Optimize prompts and contexts to avoid overflow errors.</li><li>Build deterministic pipelines using JSON-ledgers for state management.</li><li>Use systemd, loginctl, and task schedulers for continuous operation.</li><li>Conduct thorough testing and review processes to catch bugs early.</li></ol><p>By following these practices, businesses can streamline their operations while maintaining high standards of efficiency and security.</p>]]></content:encoded></item><item><title><![CDATA[ローカルLLMと88体AIエージェントが業務自動化を無料で実現]]></title><description><![CDATA[1. 中小企業向けビジネスプロセス自動化の概要：ローカルLLMと88体AIエージェントの導入 2. AIエージェント組織の構築：OpenClawでの登録方法とシステム構成 3. モデル選定とツール設定最適化：日本語対応モデル選びと推論効率化 4. 実装時の課題と解決策：エージェント実行のコンテキスト問題解決 5. 自律デリバリーパイプライン構築法：LLMによる制作から人間介入最小限までのプロセス 6. ローカル推論環境での無料運用実現：Node製スケジューラとWSL2の課題克服 7. 24/7安定稼働のためのテクニカル設定：デスクトップPCでのシステム維]]></description><link>https://gxcafe.github.io/tech-blog/rokarullmto88ti-aiezientogaye-wu-zi-dong-hua-wowu-liao-deshi-xian/</link><guid isPermaLink="false">6a6804f4d748e10001a3e814</guid><category><![CDATA[ローカルLLM]]></category><category><![CDATA[AIエージェント]]></category><category><![CDATA[Ollama]]></category><category><![CDATA[業務自動化]]></category><category><![CDATA[agent-org-design]]></category><dc:creator><![CDATA[Kengo Seki]]></dc:creator><pubDate>Tue, 28 Jul 2026 01:25:08 GMT</pubDate><content:encoded><![CDATA[<ol><li>&#x4E2D;&#x5C0F;&#x4F01;&#x696D;&#x5411;&#x3051;&#x30D3;&#x30B8;&#x30CD;&#x30B9;&#x30D7;&#x30ED;&#x30BB;&#x30B9;&#x81EA;&#x52D5;&#x5316;&#x306E;&#x6982;&#x8981;&#xFF1A;&#x30ED;&#x30FC;&#x30AB;&#x30EB;LLM&#x3068;88&#x4F53;AI&#x30A8;&#x30FC;&#x30B8;&#x30A7;&#x30F3;&#x30C8;&#x306E;&#x5C0E;&#x5165;</li><li>AI&#x30A8;&#x30FC;&#x30B8;&#x30A7;&#x30F3;&#x30C8;&#x7D44;&#x7E54;&#x306E;&#x69CB;&#x7BC9;&#xFF1A;OpenClaw&#x3067;&#x306E;&#x767B;&#x9332;&#x65B9;&#x6CD5;&#x3068;&#x30B7;&#x30B9;&#x30C6;&#x30E0;&#x69CB;&#x6210;</li><li>&#x30E2;&#x30C7;&#x30EB;&#x9078;&#x5B9A;&#x3068;&#x30C4;&#x30FC;&#x30EB;&#x8A2D;&#x5B9A;&#x6700;&#x9069;&#x5316;&#xFF1A;&#x65E5;&#x672C;&#x8A9E;&#x5BFE;&#x5FDC;&#x30E2;&#x30C7;&#x30EB;&#x9078;&#x3073;&#x3068;&#x63A8;&#x8AD6;&#x52B9;&#x7387;&#x5316;</li><li>&#x5B9F;&#x88C5;&#x6642;&#x306E;&#x8AB2;&#x984C;&#x3068;&#x89E3;&#x6C7A;&#x7B56;&#xFF1A;&#x30A8;&#x30FC;&#x30B8;&#x30A7;&#x30F3;&#x30C8;&#x5B9F;&#x884C;&#x306E;&#x30B3;&#x30F3;&#x30C6;&#x30AD;&#x30B9;&#x30C8;&#x554F;&#x984C;&#x89E3;&#x6C7A;</li><li>&#x81EA;&#x5F8B;&#x30C7;&#x30EA;&#x30D0;&#x30EA;&#x30FC;&#x30D1;&#x30A4;&#x30D7;&#x30E9;&#x30A4;&#x30F3;&#x69CB;&#x7BC9;&#x6CD5;&#xFF1A;LLM&#x306B;&#x3088;&#x308B;&#x5236;&#x4F5C;&#x304B;&#x3089;&#x4EBA;&#x9593;&#x4ECB;&#x5165;&#x6700;&#x5C0F;&#x9650;&#x307E;&#x3067;&#x306E;&#x30D7;&#x30ED;&#x30BB;&#x30B9;</li><li>&#x30ED;&#x30FC;&#x30AB;&#x30EB;&#x63A8;&#x8AD6;&#x74B0;&#x5883;&#x3067;&#x306E;&#x7121;&#x6599;&#x904B;&#x7528;&#x5B9F;&#x73FE;&#xFF1A;Node&#x88FD;&#x30B9;&#x30B1;&#x30B8;&#x30E5;&#x30FC;&#x30E9;&#x3068;WSL2&#x306E;&#x8AB2;&#x984C;&#x514B;&#x670D;</li><li>24/7&#x5B89;&#x5B9A;&#x7A3C;&#x50CD;&#x306E;&#x305F;&#x3081;&#x306E;&#x30C6;&#x30AF;&#x30CB;&#x30AB;&#x30EB;&#x8A2D;&#x5B9A;&#xFF1A;&#x30C7;&#x30B9;&#x30AF;&#x30C8;&#x30C3;&#x30D7;PC&#x3067;&#x306E;&#x30B7;&#x30B9;&#x30C6;&#x30E0;&#x7DAD;&#x6301;&#x7BA1;&#x7406;&#x65B9;&#x6CD5;</li></ol>]]></content:encoded></item><item><title><![CDATA[Fine-Tuning System Prompts for Stable Autonomous Business Operations on Local LLMs]]></title><description><![CDATA[Autonomous AI agents have become indispensable in modern business operations, automating tasks across various departments such as sales, finance, HR, marketing, and security. To ensure these systems operate smoothly and reliably, careful management of the local Large Language Mod]]></description><link>https://gxcafe.github.io/tech-blog/fine-tuning-system-prompts-for-stable-autonomous-business-operations-on-local-llms/</link><guid isPermaLink="false">6a6035b6b50de9000141e9b9</guid><category><![CDATA[local-llm]]></category><category><![CDATA[ai-agents]]></category><category><![CDATA[ollama]]></category><category><![CDATA[build-in-public]]></category><category><![CDATA[local-llm-ops]]></category><dc:creator><![CDATA[Kengo Seki]]></dc:creator><pubDate>Wed, 22 Jul 2026 03:15:02 GMT</pubDate><content:encoded><![CDATA[<h2 id="introduction-to-autonomous-ai-agents-and-local-llm-operations">Introduction to Autonomous AI Agents and Local LLM Operations</h2><p>Autonomous AI agents have become indispensable in modern business operations, automating tasks across various departments such as sales, finance, HR, marketing, and security. To ensure these systems operate smoothly and reliably, careful management of the local Large Language Model (LLM) environment is crucial.</p><h2 id="model-selection-choosing-the-right-architecture-for-stability">Model Selection: Choosing the Right Architecture for Stability</h2><p>Selecting an appropriate LLM architecture is vital for maintaining stable autonomous operations. A recent project encountered issues with Japanese text generation using the <code>llama3.1:8b</code> model due to poor delivery quality, which was resolved by switching to <code>qwen2.5:14b-instruct</code>. This change improved stability and performance. Additionally, modifying the <code>tools.profile</code> settings to use a minimal profile reduced system prompts from approximately 100k tokens to around 9.6k tokens, fixing transcript-compaction failures.</p><h2 id="context-management-fixes-overcoming-system-prompt-overflow-issues">Context Management Fixes: Overcoming System Prompt Overflow Issues</h2><p>Effective context management is essential for preventing instability in local LLM operations. In this case study, an issue was identified where approximately 18k characters of workspace files (AGENTS.md and MEMORY.md) were being injected into system prompts with every call, leading to a context overflow due to the model&apos;s 16k token limit. This problem was resolved by switching to raw inference methods that embed roles directly within each prompt.</p><h2 id="optimizing-gpu-memory-usage-with-fine-tuned-numctx-settings">Optimizing GPU Memory Usage with Fine-Tuned num_ctx Settings</h2><p>Efficient GPU memory management is critical for maintaining smooth local LLM operations. The project found that setting <code>num_ctx</code> to 16384 tokens provides stable performance without causing failures after several consecutive calls, whereas increasing it to 32768 tokens led to instability issues. This fine-tuning ensures optimal memory usage and stability.</p><h2 id="implementing-a-robust-delivery-pipeline-for-continuous-improvement">Implementing a Robust Delivery Pipeline for Continuous Improvement</h2><p>A robust delivery pipeline is essential for continuous improvement in autonomous AI operations. The described pipeline includes steps from LLM production through independent review, iterative revisions with a maximum of two passes, and human confirmation of the contract. This process uses a deterministic JSON ledger to manage state transitions and has identified real issues such as ledger race conditions during code reviews conducted by parallel AI reviewers.</p><h2 id="ensuring-247-local-llm-operations-through-efficient-scheduling-and-networking">Ensuring 24/7 Local LLM Operations through Efficient Scheduling and Networking</h2><p>Maintaining continuous local LLM operations requires efficient scheduling and robust networking configurations. OpenClaw&#x2019;s native cron scheduler replaced a Node-based system, keeping everything running locally without additional costs. However, WSL2 mirroring issues caused by a forgotten Windows-native gateway interfering with the intended WSL setup were resolved.</p><p>To ensure 24/7 operation on a desktop environment, systemd user services combined with loginctl linger were used to manage service lifecycles. Additionally, the Windows task scheduler was configured to automatically boot WSL upon system logon. Sleep mode was disabled when connected to AC power to prevent interruptions in service.</p><h2 id="practical-takeaways">Practical Takeaways</h2><ul><li><strong>Model Selection:</strong> Choose models based on their suitability for specific tasks and adjust configurations like <code>tools.profile</code> to optimize performance.</li><li><strong>Context Management:</strong> Embed roles directly within prompts instead of injecting large amounts of workspace data to avoid overflow issues.</li><li><strong>Memory Optimization:</strong> Fine-tune parameters such as <code>num_ctx</code> to balance between performance and stability through experimentation.</li><li><strong>Pipeline Implementation:</strong> Establish a robust delivery pipeline that includes review, revision loops, and deterministic state management using JSON ledgers.</li><li><strong>Scheduling and Networking:</strong> Utilize native cron schedulers and ensure proper networking configurations across different OS layers (e.g., WSL2) to maintain uninterrupted service availability.</li></ul>]]></content:encoded></item><item><title><![CDATA[Fine-Tuning LLM Models for Stable Autonomous Business Operations on Local Hardware]]></title><description><![CDATA[Running autonomous agents locally without API costs is gaining traction among engineers and founders looking to maintain control over their technology stack. This approach leverages large language models (LLMs) hosted directly on local hardware, eliminating the need for costly cl]]></description><link>https://gxcafe.github.io/tech-blog/fine-tuning-llm-models-for-stable-autonomous-business-operations-on-local-hardware/</link><guid isPermaLink="false">6a5f70d4e4d35200018cfab3</guid><category><![CDATA[local-llm]]></category><category><![CDATA[ai-agents]]></category><category><![CDATA[ollama]]></category><category><![CDATA[build-in-public]]></category><dc:creator><![CDATA[Kengo Seki]]></dc:creator><pubDate>Tue, 21 Jul 2026 13:15:00 GMT</pubDate><content:encoded><![CDATA[<h2 id="introduction-to-autonomous-ai-agents-and-local-llms">Introduction to Autonomous AI Agents and Local LLMs</h2><p>Running autonomous agents locally without API costs is gaining traction among engineers and founders looking to maintain control over their technology stack. This approach leverages large language models (LLMs) hosted directly on local hardware, eliminating the need for costly cloud-based services. In this article, we delve into how an 88-agent business operating system was successfully deployed on a Ryzen AI MAX+ mini PC, showcasing the benefits and challenges of running such systems locally.</p><p>Autonomous AI agents can handle various tasks within an organization, from sales and finance to HR and security, all while minimizing reliance on external APIs. This setup not only reduces costs but also enhances data privacy and control. However, achieving stable performance with local LLMs requires careful model selection, context management, and system optimization.</p><h2 id="model-selection-for-stable-performance">Model Selection for Stable Performance</h2><p>Choosing the right model is critical when deploying AI agents locally. Our experience shows that some models handle certain tasks better than others. For instance, in our 88-agent business operating system, we faced issues with Japanese writing quality using the llama3.1:8b model but resolved these problems by switching to qwen2.5:14b-instruct.</p><p>The qwen2.5:14b-instruct model provided more reliable performance across multiple tasks, indicating that model selection should be task-specific and based on empirical testing rather than theoretical benchmarks alone. This highlights the importance of thorough evaluation before deploying models in a production environment.</p><h2 id="optimizing-system-prompts-and-context-management">Optimizing System Prompts and Context Management</h2><p>Optimizing system prompts is essential for efficient operation of AI agents on local hardware. In our setup, we initially encountered issues with transcript-compaction failures due to large system prompt sizes. By switching <code>tools.profile</code> to minimal mode, we were able to reduce the system prompt size from approximately 100k tokens to around 9.6k tokens.</p><p>Effective context management is equally important. We discovered that injecting workspace files (AGENTS.md and MEMORY.md) into every call led to context overflow issues on a 16k token window. This was resolved by switching to raw inference with the role embedded directly in the prompt, thereby reducing unnecessary data injection and maintaining stability.</p><h2 id="troubleshooting-common-issues-and-failures">Troubleshooting Common Issues and Failures</h2><p>Common problems such as context overflow can significantly hinder system performance. Our logs show that injecting approximately 18k characters of workspace files into every call caused context overflow on a 16k token window, leading to failures. By addressing this issue through prompt optimization, we ensured stable operation.</p><p>Another crucial aspect is tuning the <code>num_ctx</code> parameter for optimal performance. On our hardware setup (Ryzen AI MAX+ 395 mini PC with ~48GB unified memory), setting <code>num_ctx</code> to 16384 provided stable performance, whereas increasing it to 32768 started causing failures after several consecutive calls.</p><h2 id="implementing-a-robust-production-pipeline">Implementing a Robust Production Pipeline</h2><p>A robust production pipeline is essential for maintaining consistency in output quality while minimizing human intervention. Our autonomous delivery pipeline includes LLM production, independent review by parallel AI agents, and revision loops with a maximum of two passes per issue. Human confirmation is only required at the contract stage.</p><p>This pipeline is driven by a deterministic JSON ledger that manages all state transitions, ensuring that each step in the process is well-defined and traceable. For instance, during code review, parallel AI reviewers identified ten bugs, including a race condition causing duplicate publishes, highlighting the importance of rigorous testing before deployment.</p><h2 id="local-infrastructure-setup-for-247-operations">Local Infrastructure Setup for 24/7 Operations</h2><p>Running AI agents continuously on desktop hardware demands robust infrastructure setup. In our case, we used systemd user services and loginctl linger to keep the gateway active on Linux systems. On Windows, we leveraged the task scheduler to boot WSL2 upon logon, ensuring uninterrupted operation.</p><p>We encountered a networking issue where a forgotten Windows-native gateway held port 18789, shadowing the intended WSL gateway for several hours until resolved. This experience underscores the importance of meticulous configuration and regular monitoring to avoid disruptions in service.</p><h2 id="conclusion">Conclusion</h2><p>Deploying autonomous AI agents locally using LLMs offers significant benefits but requires careful planning and execution. Model selection should be task-specific with thorough testing, while context management and prompt optimization are crucial for stability. Implementing a robust production pipeline ensures quality control, and setting up local infrastructure for continuous operation demands attention to detail.</p><h2 id="practical-takeaway">Practical Takeaway</h2><ul><li><strong>Model Selection</strong>: Choose models based on empirical testing rather than theoretical benchmarks.</li><li><strong>Context Management</strong>: Optimize system prompts and manage context effectively to prevent overflow issues.</li><li><strong>Production Pipeline</strong>: Implement a deterministic JSON-led pipeline for consistent output quality.</li><li><strong>Infrastructure Setup</strong>: Use tools like systemd and Windows task scheduler for continuous operation.</li></ul>]]></content:encoded></item><item><title><![CDATA[Optimizing Context Management for Stable Autonomous Business Operations on Local LLMs]]></title><description><![CDATA[Running autonomous business agents locally using large language models (LLMs) presents unique challenges, particularly when it comes to managing context. Ensuring stable and reliable operations requires meticulous tuning of model parameters and prompt sizes to prevent context ove]]></description><link>https://gxcafe.github.io/tech-blog/optimizing-context-management-for-stable-autonomous-business-operations-on-local-llms/</link><guid isPermaLink="false">6a5f70d4e4d35200018cfaaa</guid><category><![CDATA[local-llm]]></category><category><![CDATA[ai-agents]]></category><category><![CDATA[ollama]]></category><category><![CDATA[build-in-public]]></category><category><![CDATA[cost-zero-automation]]></category><dc:creator><![CDATA[Kengo Seki]]></dc:creator><pubDate>Tue, 21 Jul 2026 13:15:00 GMT</pubDate><content:encoded><![CDATA[<h2 id="introduction-to-context-management-challenges-in-local-llm-deployments">Introduction to Context Management Challenges in Local LLM Deployments</h2><p>Running autonomous business agents locally using large language models (LLMs) presents unique challenges, particularly when it comes to managing context. Ensuring stable and reliable operations requires meticulous tuning of model parameters and prompt sizes to prevent context overflow, a common issue that can disrupt the entire workflow. This article delves into strategies for optimizing context management in local LLM deployments, drawing on real-world case studies and failure analyses.</p><h2 id="case-study-optimizing-model-selection-and-prompt-size-for-stability">Case Study: Optimizing Model Selection and Prompt Size for Stability</h2><p>When deploying an 88-agent business OS across various departments (sales, finance, HR, marketing, security) on a Ryzen AI MAX+ 395 mini PC with 48GB of unified memory, the initial choice of LLM models proved crucial. Initial attempts to use llama3.1:8b for tasks such as Japanese writing failed due to delivery quality issues. Switching to qwen2.5:14b-instruct significantly improved performance. Additionally, reducing system prompts from approximately 100k tokens to around 9.6k by modifying the <code>tools.profile</code> settings resolved transcript-compaction failures and stabilized the system.</p><h2 id="real-world-failure-analysis-the-impact-of-large-workspace-files-on-context-overflow">Real-world Failure Analysis: The Impact of Large Workspace Files on Context Overflow</h2><p>A critical failure occurred when the agent execution path began injecting workspace files (AGENTS.md/MEMORY.md) containing approximately 18,000 characters into every call. This injection led to context overflow on a 16k token window, disrupting normal operations and causing significant instability. The issue was resolved by switching to raw inference with the role embedded directly in each prompt, effectively bypassing the large workspace files.</p><h2 id="tuning-numctx-parameters-for-optimal-performance-and-reliability">Tuning num_ctx Parameters for Optimal Performance and Reliability</h2><p>Tuning the <code>num_ctx</code> parameter is essential for balancing performance and reliability on local LLM deployments. In our setup using Ollama at 100% GPU utilization, we found that setting <code>num_ctx</code> to 16384 tokens ensured stable operation, whereas increasing it to 32768 started causing failures after several consecutive calls. This empirical observation highlights the importance of carefully selecting context window sizes based on model and system constraints.</p><h2 id="implementing-a-robust-autonomous-delivery-pipeline-using-local-resources">Implementing a Robust Autonomous Delivery Pipeline Using Local Resources</h2><p>To streamline operations and minimize reliance on external APIs, we implemented an autonomous delivery pipeline that leverages local resources exclusively. The pipeline consists of three stages: LLM production, independent LLM review, and revision loops (limited to two passes). Human intervention is required only for contract confirmation, with a JSON ledger driving all state transitions deterministically.</p><p>This approach not only reduces costs but also enhances security by ensuring data remains on-premises. For instance, switching from a Node-based scheduler to OpenClaw&apos;s native cron allowed us to eliminate external dependencies entirely, further improving reliability and performance.</p><h2 id="lessons-learned-in-building-an-efficient-localized-publishing-workflow">Lessons Learned in Building an Efficient, Localized Publishing Workflow</h2><p>Building a localized publishing workflow demands careful consideration of various technical details. Our experience revealed several key insights:</p><ol><li><strong>Prompt Size Optimization</strong>: Reducing system prompts significantly improved model stability and reduced context overflow issues.</li><li><strong>Context Management Tuning</strong>: Careful tuning of <code>num_ctx</code> parameters is crucial for maintaining stable operations across different LLM models.</li><li><strong>Local Resource Utilization</strong>: Leveraging local resources through tools like OpenClaw&apos;s native cron enhances reliability while minimizing costs.</li><li><strong>Parallel AI Review and Testing</strong>: Incorporating parallel AI reviewers for code reviews and end-to-end testing expedited bug detection and resolution.</li></ol><h2 id="practical-takeaway">Practical Takeaway</h2><p>Optimizing context management in local LLM deployments requires meticulous attention to detail, particularly when it comes to prompt sizes and <code>num_ctx</code> tuning. By carefully selecting models, minimizing unnecessary data injections, and leveraging robust local resource utilization strategies, businesses can achieve stable and cost-effective autonomous operations. Implementing an efficient publishing workflow that includes thorough AI-assisted testing rounds ensures high-quality outputs while maintaining operational independence.</p>]]></content:encoded></item><item><title><![CDATA[API課金0円で実現！ローカルLLMが88体のAIエージェントを動かし、ビジネスを完全自動化]]></title><description><![CDATA[自社の効率的な業務運営に取り組む日本企業にとって、ビジネスプロセスの自動化は必須のステップと言える。特に中小企業やバックオフィス担当者は、人件費を削減しつつも質の高いサービスを維持することが求められる。その一方で、最新技術の導入には費用がかかることが一般的であるが、ここではAPI課金ゼロで完全自動化システムを構築する方法を紹介する。]]></description><link>https://gxcafe.github.io/tech-blog/apike-jin-0yuan-deshi-xian-rokarullmga88ti-noaiezientowodong-kasi-bizinesuwowan-quan-zi-dong-hua/</link><guid isPermaLink="false">6a5ee436e4d35200018cfaa1</guid><category><![CDATA[ローカルLLM]]></category><category><![CDATA[AIエージェント]]></category><category><![CDATA[Ollama]]></category><category><![CDATA[業務自動化]]></category><category><![CDATA[build-in-public]]></category><dc:creator><![CDATA[Kengo Seki]]></dc:creator><pubDate>Tue, 21 Jul 2026 03:15:02 GMT</pubDate><content:encoded><![CDATA[<h2 id="%E8%87%AA%E7%A4%BE%E6%A5%AD%E5%8B%99%E3%82%92%E5%AE%8C%E5%85%A8%E8%87%AA%E5%8B%95%E5%8C%96%E3%81%99%E3%82%8B%E3%81%9F%E3%82%81%E3%81%AE%E3%83%AD%E3%83%BC%E3%82%AB%E3%83%ABllm%E3%81%A888%E4%BD%93ai%E3%82%A8%E3%83%BC%E3%82%B8%E3%82%A7%E3%83%B3%E3%83%88%E7%B5%84%E7%B9%94%E3%81%AE%E5%B0%8E%E5%85%A5">&#x81EA;&#x793E;&#x696D;&#x52D9;&#x3092;&#x5B8C;&#x5168;&#x81EA;&#x52D5;&#x5316;&#x3059;&#x308B;&#x305F;&#x3081;&#x306E;&#x30ED;&#x30FC;&#x30AB;&#x30EB;LLM&#x3068;88&#x4F53;AI&#x30A8;&#x30FC;&#x30B8;&#x30A7;&#x30F3;&#x30C8;&#x7D44;&#x7E54;&#x306E;&#x5C0E;&#x5165;</h2><p>&#x81EA;&#x793E;&#x306E;&#x52B9;&#x7387;&#x7684;&#x306A;&#x696D;&#x52D9;&#x904B;&#x55B6;&#x306B;&#x53D6;&#x308A;&#x7D44;&#x3080;&#x65E5;&#x672C;&#x4F01;&#x696D;&#x306B;&#x3068;&#x3063;&#x3066;&#x3001;&#x30D3;&#x30B8;&#x30CD;&#x30B9;&#x30D7;&#x30ED;&#x30BB;&#x30B9;&#x306E;&#x81EA;&#x52D5;&#x5316;&#x306F;&#x5FC5;&#x9808;&#x306E;&#x30B9;&#x30C6;&#x30C3;&#x30D7;&#x3068;&#x8A00;&#x3048;&#x308B;&#x3002;&#x7279;&#x306B;&#x4E2D;&#x5C0F;&#x4F01;&#x696D;&#x3084;&#x30D0;&#x30C3;&#x30AF;&#x30AA;&#x30D5;&#x30A3;&#x30B9;&#x62C5;&#x5F53;&#x8005;&#x306F;&#x3001;&#x4EBA;&#x4EF6;&#x8CBB;&#x3092;&#x524A;&#x6E1B;&#x3057;&#x3064;&#x3064;&#x3082;&#x8CEA;&#x306E;&#x9AD8;&#x3044;&#x30B5;&#x30FC;&#x30D3;&#x30B9;&#x3092;&#x7DAD;&#x6301;&#x3059;&#x308B;&#x3053;&#x3068;&#x304C;&#x6C42;&#x3081;&#x3089;&#x308C;&#x308B;&#x3002;&#x305D;&#x306E;&#x4E00;&#x65B9;&#x3067;&#x3001;&#x6700;&#x65B0;&#x6280;&#x8853;&#x306E;&#x5C0E;&#x5165;&#x306B;&#x306F;&#x8CBB;&#x7528;&#x304C;&#x304B;&#x304B;&#x308B;&#x3053;&#x3068;&#x304C;&#x4E00;&#x822C;&#x7684;&#x3067;&#x3042;&#x308B;&#x304C;&#x3001;&#x3053;&#x3053;&#x3067;&#x306F;API&#x8AB2;&#x91D1;&#x30BC;&#x30ED;&#x3067;&#x5B8C;&#x5168;&#x81EA;&#x52D5;&#x5316;&#x30B7;&#x30B9;&#x30C6;&#x30E0;&#x3092;&#x69CB;&#x7BC9;&#x3059;&#x308B;&#x65B9;&#x6CD5;&#x3092;&#x7D39;&#x4ECB;&#x3059;&#x308B;&#x3002;</p><h3 id="1-%E8%87%AA%E7%A4%BE%E6%A5%AD%E5%8B%99%E3%82%92%E5%AE%8C%E5%85%A8%E8%87%AA%E5%8B%95%E5%8C%96%E3%81%99%E3%82%8B%E3%81%9F%E3%82%81%E3%81%AE%E3%83%AD%E3%83%BC%E3%82%AB%E3%83%ABllm%E3%81%A888%E4%BD%93ai%E3%82%A8%E3%83%BC%E3%82%B8%E3%82%A7%E3%83%B3%E3%83%88%E7%B5%84%E7%B9%94%E3%81%AE%E5%B0%8E%E5%85%A5">1. &#x81EA;&#x793E;&#x696D;&#x52D9;&#x3092;&#x5B8C;&#x5168;&#x81EA;&#x52D5;&#x5316;&#x3059;&#x308B;&#x305F;&#x3081;&#x306E;&#x30ED;&#x30FC;&#x30AB;&#x30EB;LLM&#x3068;88&#x4F53;AI&#x30A8;&#x30FC;&#x30B8;&#x30A7;&#x30F3;&#x30C8;&#x7D44;&#x7E54;&#x306E;&#x5C0E;&#x5165;</h3><h4 id="%E3%83%AD%E3%83%BC%E3%82%AB%E3%83%ABllm%E3%81%A888%E4%BD%93ai%E3%82%A8%E3%83%BC%E3%82%B8%E3%82%A7%E3%83%B3%E3%83%88%E7%B5%84%E7%B9%94%E3%81%AE%E5%BD%B9%E5%89%B2">&#x30ED;&#x30FC;&#x30AB;&#x30EB;LLM&#x3068;88&#x4F53;AI&#x30A8;&#x30FC;&#x30B8;&#x30A7;&#x30F3;&#x30C8;&#x7D44;&#x7E54;&#x306E;&#x5F79;&#x5272;</h4><p>&#x30ED;&#x30FC;&#x30AB;&#x30EB;LLM&#xFF08;Large Language Model&#xFF09;&#x3068;88&#x4F53;&#x306E;AI&#x30A8;&#x30FC;&#x30B8;&#x30A7;&#x30F3;&#x30C8;&#x7D44;&#x7E54;&#x3092;&#x4F7F;&#x7528;&#x3059;&#x308B;&#x3053;&#x3068;&#x3067;&#x3001;&#x55B6;&#x696D;&#x30FB;&#x7D4C;&#x7406;&#x30FB;&#x4EBA;&#x4E8B;&#x30FB;&#x30DE;&#x30FC;&#x30B1;&#x30C6;&#x30A3;&#x30F3;&#x30B0;&#x30FB;&#x30BB;&#x30AD;&#x30E5;&#x30EA;&#x30C6;&#x30A3;&#x306A;&#x3069;&#x306E;&#x4E8B;&#x696D;&#x90E8;&#x5236;&#x696D;&#x52D9;&#x3092;&#x52B9;&#x7387;&#x5316;&#x3059;&#x308B;&#x3053;&#x3068;&#x304C;&#x3067;&#x304D;&#x308B;&#x3002;&#x3053;&#x308C;&#x3089;&#x306E;AI&#x306F;OpenClaw&#x30D7;&#x30E9;&#x30C3;&#x30C8;&#x30D5;&#x30A9;&#x30FC;&#x30E0;&#x4E0A;&#x3067;&#x767B;&#x9332;&#x3055;&#x308C;&#x3001;Ryzen AI MAX+ 395&#xFF08;Strix Halo&#xFF09;&#xFF0B;&#x7D04;48GB&#x30E6;&#x30CB;&#x30D5;&#x30A1;&#x30A4;&#x30C9;&#x30E1;&#x30E2;&#x30EA;&#x306E;&#x30DF;&#x30CB;PC&#x4E0A;&#x3067;Ollama 100% GPU&#x3067;&#x904B;&#x7528;&#x3055;&#x308C;&#x308B;&#x3002;</p><h4 id="%E3%83%A2%E3%83%87%E3%83%AB%E9%81%B8%E5%AE%9A%E3%81%A8%E3%83%81%E3%83%A5%E3%83%BC%E3%83%8B%E3%83%B3%E3%82%B0">&#x30E2;&#x30C7;&#x30EB;&#x9078;&#x5B9A;&#x3068;&#x30C1;&#x30E5;&#x30FC;&#x30CB;&#x30F3;&#x30B0;</h4><p>&#x30E2;&#x30C7;&#x30EB;&#x9078;&#x5B9A;&#x3067;&#x306F;&#x3001;&#x6700;&#x521D;&#x306B;&#x8A66;&#x307F;&#x305F;llama3.1:8B&#x306F;&#x65E5;&#x672C;&#x8A9E;&#x30E9;&#x30A4;&#x30C6;&#x30A3;&#x30F3;&#x30B0;&#x54C1;&#x8CEA;&#x304C;&#x4E0D;&#x5341;&#x5206;&#x3060;&#x3063;&#x305F;&#x3002;&#x4E00;&#x65B9;&#x3067;qwen2.5:14b-instruct&#x3092;&#x4F7F;&#x7528;&#x3059;&#x308B;&#x3053;&#x3068;&#x3067;&#x3001;&#x5FC5;&#x8981;&#x306A;&#x54C1;&#x8CEA;&#x3092;&#x9054;&#x6210;&#x3057;&#x305F;&#x3002;&#x307E;&#x305F;&#x3001;tools.profile&#x3092;minimal&#x306B;&#x8A2D;&#x5B9A;&#x3057;&#x3001;system&#x30D7;&#x30ED;&#x30F3;&#x30D7;&#x30C8;&#x306E;&#x30C8;&#x30FC;&#x30AF;&#x30F3;&#x6570;&#x3092;&#x7D04;10&#x4E07;&#x304B;&#x3089;&#x7D04;9,600&#x3078;&#x3068;&#x524A;&#x6E1B;&#x3067;&#x304D;&#x305F;&#x3002;</p><h3 id="2-%E7%84%A1%E6%96%99%E3%81%8B%E3%81%A4%E5%AE%89%E5%AE%9A%E3%81%97%E3%81%9F%E9%81%8B%E7%94%A8%E3%81%AE%E3%81%9F%E3%82%81%E3%81%AE%E3%83%A2%E3%83%87%E3%83%AB%E9%81%B8%E5%AE%9A%E3%81%A8%E3%83%81%E3%83%A5%E3%83%BC%E3%83%8B%E3%83%B3%E3%82%B0%E6%89%8B%E6%B3%95">2. &#x7121;&#x6599;&#x304B;&#x3064;&#x5B89;&#x5B9A;&#x3057;&#x305F;&#x904B;&#x7528;&#x306E;&#x305F;&#x3081;&#x306E;&#x30E2;&#x30C7;&#x30EB;&#x9078;&#x5B9A;&#x3068;&#x30C1;&#x30E5;&#x30FC;&#x30CB;&#x30F3;&#x30B0;&#x624B;&#x6CD5;</h3><h4 id="%E6%9C%80%E9%81%A9%E3%81%AAgpu%E7%92%B0%E5%A2%83">&#x6700;&#x9069;&#x306A;GPU&#x74B0;&#x5883;</h4><p>&#x672C;&#x30B7;&#x30B9;&#x30C6;&#x30E0;&#x306F;Ryzen AI MAX+ 395&#xFF08;Strix Halo&#xFF09;&#x4E0A;&#x3067;&#x5B9F;&#x884C;&#x3055;&#x308C;&#x3001;48GB&#x306E;&#x30E6;&#x30CB;&#x30D5;&#x30A1;&#x30A4;&#x30C9;&#x30E1;&#x30E2;&#x30EA;&#x3092;&#x6D3B;&#x7528;&#x3057;&#x3066;&#x3044;&#x308B;&#x3002;&#x3053;&#x306E;GPU&#x3067;&#x306F;num_ctx&#x30D1;&#x30E9;&#x30E1;&#x30FC;&#x30BF;&#x3092;16,384&#x306B;&#x8A2D;&#x5B9A;&#x3059;&#x308B;&#x3053;&#x3068;&#x3067;&#x5B89;&#x5B9A;&#x7684;&#x306A;&#x63A8;&#x8AD6;&#x304C;&#x53EF;&#x80FD;&#x3067;&#x3042;&#x308B;&#x3002;</p><h3 id="3-%E5%AE%9F%E9%9A%9C%E5%AE%B3%E5%AF%BE%E7%AD%96-%E3%82%A8%E3%83%BC%E3%82%B8%E3%82%A7%E3%83%B3%E3%83%88%E6%8E%A8%E8%AB%96%E7%B5%8C%E8%B7%AF%E3%81%A7%E3%81%AE%E3%82%B3%E3%83%B3%E3%83%86%E3%82%AD%E3%82%B9%E3%83%88%E7%AE%A1%E7%90%86%E3%81%A8%E3%82%B7%E3%82%B9%E3%83%86%E3%83%A0%E3%83%97%E3%83%AD%E3%83%B3%E3%83%97%E3%83%88%E6%9C%80%E9%81%A9%E5%8C%96">3. &#x5B9F;&#x969C;&#x5BB3;&#x5BFE;&#x7B56;: &#x30A8;&#x30FC;&#x30B8;&#x30A7;&#x30F3;&#x30C8;&#x63A8;&#x8AD6;&#x7D4C;&#x8DEF;&#x3067;&#x306E;&#x30B3;&#x30F3;&#x30C6;&#x30AD;&#x30B9;&#x30C8;&#x7BA1;&#x7406;&#x3068;&#x30B7;&#x30B9;&#x30C6;&#x30E0;&#x30D7;&#x30ED;&#x30F3;&#x30D7;&#x30C8;&#x6700;&#x9069;&#x5316;</h3><h4 id="%E3%82%B3%E3%83%B3%E3%83%86%E3%82%AD%E3%82%B9%E3%83%88%E6%BA%A2%E3%82%8C%E5%95%8F%E9%A1%8C">&#x30B3;&#x30F3;&#x30C6;&#x30AD;&#x30B9;&#x30C8;&#x6EA2;&#x308C;&#x554F;&#x984C;</h4><p>&#x30A8;&#x30FC;&#x30B8;&#x30A7;&#x30F3;&#x30C8;&#x5B9F;&#x884C;&#x7D4C;&#x8DEF;&#x306F;&#x7D04;18,000&#x6587;&#x5B57;&#x306E;&#x30EF;&#x30FC;&#x30AF;&#x30B9;&#x30DA;&#x30FC;&#x30B9;&#x30D5;&#x30A1;&#x30A4;&#x30EB;&#x3092;&#x6CE8;&#x5165;&#x3059;&#x308B;&#x305F;&#x3081;&#x3001;16k&#x7A93;&#x3067;&#x306F;&#x30B3;&#x30F3;&#x30C6;&#x30AD;&#x30B9;&#x30C8;&#x6EA2;&#x308C;&#x304C;&#x767A;&#x751F;&#x3057;&#x3084;&#x3059;&#x3044;&#x3002;&#x3053;&#x306E;&#x554F;&#x984C;&#x306B;&#x5BFE;&#x51E6;&#x3059;&#x308B;&#x305F;&#x3081;&#x306B;&#x3001;&#x63A8;&#x8AD6;&#x65B9;&#x5F0F;&#x3092;&#x30B7;&#x30F3;&#x30D7;&#x30EB;&#x306A;&#x63A8;&#x8AD6;&#x306B;&#x5207;&#x308A;&#x66FF;&#x3048;&#x305F;&#x3002;&#x3053;&#x308C;&#x306B;&#x3088;&#x308A;&#x3001;&#x5F79;&#x5272;&#x306F;&#x30D7;&#x30ED;&#x30F3;&#x30D7;&#x30C8;&#x5185;&#x306B;&#x57CB;&#x3081;&#x8FBC;&#x3080;&#x3053;&#x3068;&#x3067;&#x89E3;&#x6C7A;&#x3057;&#x305F;&#x3002;</p><h3 id="4-%E5%8F%97%E8%A8%97%E6%A1%88%E4%BB%B6%E3%81%AE%E8%87%AA%E5%BE%8B%E3%83%87%E3%83%AA%E3%83%90%E3%83%AA%E3%83%BC%E3%83%91%E3%82%A4%E3%83%97%E3%83%A9%E3%82%A4%E3%83%B3%E3%81%AE%E6%A7%8B%E7%AF%89%E3%81%A8%E6%88%90%E5%8A%9F%E4%BA%8B%E4%BE%8B">4. &#x53D7;&#x8A17;&#x6848;&#x4EF6;&#x306E;&#x81EA;&#x5F8B;&#x30C7;&#x30EA;&#x30D0;&#x30EA;&#x30FC;&#x30D1;&#x30A4;&#x30D7;&#x30E9;&#x30A4;&#x30F3;&#x306E;&#x69CB;&#x7BC9;&#x3068;&#x6210;&#x529F;&#x4E8B;&#x4F8B;</h3><h4 id="%E8%87%AA%E5%BE%8B%E3%83%87%E3%83%AA%E3%83%90%E3%83%AA%E3%83%BC%E6%A7%8B%E9%80%A0">&#x81EA;&#x5F8B;&#x30C7;&#x30EA;&#x30D0;&#x30EA;&#x30FC;&#x69CB;&#x9020;</h4><p>LLM&#x306B;&#x3088;&#x308B;&#x5236;&#x4F5C;&#x2192;&#x72EC;&#x7ACB;LLM&#x30EC;&#x30D3;&#x30E5;&#x30FC;&#x2192;&#x6700;&#x5927;2&#x56DE;&#x306E;&#x30EA;&#x30D3;&#x30B8;&#x30E7;&#x30F3;&#x30EB;&#x30FC;&#x30D7;&#x3067;&#x3001;&#x6700;&#x7D42;&#x7684;&#x306B;&#x5408;&#x683C;&#x54C1;&#x8CEA;&#x306B;&#x5230;&#x9054;&#x3059;&#x308B;&#x307E;&#x3067;&#x306E;&#x5B8C;&#x5168;&#x306A;&#x81EA;&#x52D5;&#x5316;&#x304C;&#x53EF;&#x80FD;&#x3067;&#x3042;&#x308B;&#x3002;&#x72B6;&#x614B;&#x9077;&#x79FB;&#x306F;JSON&#x53F0;&#x5E33;&#x306B;&#x3088;&#x308A;&#x30B9;&#x30AF;&#x30EA;&#x30D7;&#x30C8;&#x304C;&#x6C7A;&#x5B9A;&#x7684;&#x306B;&#x7BA1;&#x7406;&#x3055;&#x308C;&#x308B;&#x3002;</p><h3 id="5-%E3%83%AD%E3%83%BC%E3%82%AB%E3%83%AB%E6%8E%A8%E8%AB%96%E3%82%92%E6%B4%BB%E7%94%A8%E3%81%97%E3%81%9F%E8%A8%98%E4%BA%8B%E9%85%8D%E4%BF%A1%E3%83%91%E3%82%A4%E3%83%97%E3%83%A9%E3%82%A4%E3%83%B3%E3%81%AE%E9%AB%98%E9%80%9F%E5%8C%96%E6%89%8B%E6%B3%95">5. &#x30ED;&#x30FC;&#x30AB;&#x30EB;&#x63A8;&#x8AD6;&#x3092;&#x6D3B;&#x7528;&#x3057;&#x305F;&#x8A18;&#x4E8B;&#x914D;&#x4FE1;&#x30D1;&#x30A4;&#x30D7;&#x30E9;&#x30A4;&#x30F3;&#x306E;&#x9AD8;&#x901F;&#x5316;&#x624B;&#x6CD5;</h3><h4 id="%E9%AB%98%E9%80%9F%E3%81%AA%E8%A8%98%E4%BA%8B%E9%85%8D%E4%BF%A1">&#x9AD8;&#x901F;&#x306A;&#x8A18;&#x4E8B;&#x914D;&#x4FE1;</h4><p>&#x4ED5;&#x69D8;&#x7B56;&#x5B9A;&#x2192;&#x5B9F;&#x88C5;&#x2192;AI&#x30EC;&#x30D3;&#x30E5;&#x30A2;&#x30FC;&#x306B;&#x3088;&#x308B;&#x30B3;&#x30FC;&#x30C9;&#x30EC;&#x30D3;&#x30E5;&#x30FC;&#xFF08;&#x3053;&#x306E;&#x904E;&#x7A0B;&#x3067;&#x3001;&#x53F0;&#x5E33;&#x306E;&#x7AF6;&#x5408;&#x306B;&#x3088;&#x308B;&#x4E8C;&#x91CD;&#x516C;&#x958B;&#x306A;&#x3069;&#x5B9F;&#x30D0;&#x30B0;10&#x4EF6;&#x304C;&#x691C;&#x51FA;&#x3055;&#x308C;&#x305F;&#xFF09;&#x2192;&#x30ED;&#x30FC;&#x30AB;&#x30EB;&#x63A8;&#x8AD6;&#x3067;&#x306E;E2E&#x30C6;&#x30B9;&#x30C8;&#x307E;&#x3067;&#x3092;1&#x65E5;&#x3067;&#x5B8C;&#x4E86;&#x3067;&#x304D;&#x308B;&#x3002;&#x3053;&#x308C;&#x306B;&#x3088;&#x308A;&#x8FC5;&#x901F;&#x306A;&#x54C1;&#x8CEA;&#x6539;&#x5584;&#x3068;&#x914D;&#x4FE1;&#x304C;&#x53EF;&#x80FD;&#x3068;&#x306A;&#x308B;&#x3002;</p><h3 id="6-%E7%84%A1%E6%96%99%E3%81%A7%E5%AE%89%E5%AE%9A%E9%81%8B%E7%94%A8%E3%82%92%E7%B6%AD%E6%8C%81%E3%81%99%E3%82%8B%E3%81%9F%E3%82%81%E3%81%AE%E3%82%B9%E3%82%B1%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%A9%E9%81%B8%E6%8A%9E%E3%81%A8%E3%83%8D%E3%83%83%E3%83%88%E3%83%AF%E3%83%BC%E3%82%AF%E7%AE%A1%E7%90%86">6. &#x7121;&#x6599;&#x3067;&#x5B89;&#x5B9A;&#x904B;&#x7528;&#x3092;&#x7DAD;&#x6301;&#x3059;&#x308B;&#x305F;&#x3081;&#x306E;&#x30B9;&#x30B1;&#x30B8;&#x30E5;&#x30FC;&#x30E9;&#x9078;&#x629E;&#x3068;&#x30CD;&#x30C3;&#x30C8;&#x30EF;&#x30FC;&#x30AF;&#x7BA1;&#x7406;</h3><h4 id="%E3%82%B9%E3%82%B1%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AA%E3%83%B3%E3%82%B0%E3%81%A8%E3%83%8D%E3%83%83%E3%83%88%E3%83%AF%E3%83%BC%E3%82%AF%E8%A8%AD%E5%AE%9A">&#x30B9;&#x30B1;&#x30B8;&#x30E5;&#x30FC;&#x30EA;&#x30F3;&#x30B0;&#x3068;&#x30CD;&#x30C3;&#x30C8;&#x30EF;&#x30FC;&#x30AF;&#x8A2D;&#x5B9A;</h4><p>Node&#x88FD;&#x30B9;&#x30B1;&#x30B8;&#x30E5;&#x30FC;&#x30E9;&#x3092;OpenClaw&#x30CD;&#x30A4;&#x30C6;&#x30A3;&#x30D6;cron&#x306B;&#x7F6E;&#x304D;&#x63DB;&#x3048;&#x308B;&#x3053;&#x3068;&#x3067;&#x3001;&#x5168;&#x5DE5;&#x7A0B;&#x3092;&#x30ED;&#x30FC;&#x30AB;&#x30EB;&#x30FB;&#x7121;&#x6599;&#x3067;&#x7DAD;&#x6301;&#x53EF;&#x80FD;&#x3068;&#x306A;&#x308B;&#x3002;&#x307E;&#x305F;WSL2 mirrored networking&#x306E;&#x843D;&#x3068;&#x3057;&#x7A74;&#x3082;&#x56DE;&#x907F;&#x3057;&#x305F;&#xFF08;&#x6D88;&#x3057;&#x5FD8;&#x308C;&#x305F; Windows &#x30CD;&#x30A4;&#x30C6;&#x30A3;&#x30D6; Gateway &#x304C;&#x30DD;&#x30FC;&#x30C8;18789&#x3092;&#x63B4;&#x307F;&#x3001;WSL &#x5074; Gateway &#x3092;&#x6570;&#x6642;&#x9593;&#x30B7;&#x30E3;&#x30C9;&#x30FC;&#x30A4;&#x30F3;&#x30B0;&#x3057;&#x3066;&#x3044;&#x305F;&#xFF09;&#x3002;</p><h3 id="7-%E3%83%87%E3%82%B9%E3%82%AF%E3%83%88%E3%83%83%E3%83%97pc%E3%81%A7%E3%81%AE247%E9%81%8B%E7%94%A8%E7%92%B0%E5%A2%83%E6%A7%8B%E7%AF%89-%E3%82%B7%E3%82%B9%E3%83%86%E3%83%A0%E3%82%B5%E3%83%BC%E3%83%93%E3%82%B9%E8%A8%AD%E5%AE%9A%E3%81%A8%E3%82%BF%E3%82%B9%E3%82%AF%E3%82%B9%E3%82%B1%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AA%E3%83%B3%E3%82%B0">7. &#x30C7;&#x30B9;&#x30AF;&#x30C8;&#x30C3;&#x30D7;PC&#x3067;&#x306E;24/7&#x904B;&#x7528;&#x74B0;&#x5883;&#x69CB;&#x7BC9;: &#x30B7;&#x30B9;&#x30C6;&#x30E0;&#x30B5;&#x30FC;&#x30D3;&#x30B9;&#x8A2D;&#x5B9A;&#x3068;&#x30BF;&#x30B9;&#x30AF;&#x30B9;&#x30B1;&#x30B8;&#x30E5;&#x30FC;&#x30EA;&#x30F3;&#x30B0;</h3><h4 id="%E6%8C%81%E7%B6%9A%E5%8F%AF%E8%83%BD%E3%81%AA%E9%81%8B%E7%94%A8">&#x6301;&#x7D9A;&#x53EF;&#x80FD;&#x306A;&#x904B;&#x7528;</h4><p>systemd user service&#x3092;&#x7528;&#x3044;&#x3066;Gateway&#x5E38;&#x99D0;&#x3092;&#x78BA;&#x4FDD;&#x3059;&#x308B;&#x3002;&#x3055;&#x3089;&#x306B;&#x3001;Windows&#x30BF;&#x30B9;&#x30AF;&#x30B9;&#x30B1;&#x30B8;&#x30E5;&#x30FC;&#x30E9;&#x3092;&#x4F7F;&#x7528;&#x3057;&#x3066;&#x30ED;&#x30B0;&#x30AA;&#x30F3;&#x6642;&#x306B;WSL&#x3092;&#x8D77;&#x52D5;&#x3057;&#x3001;AC&#x96FB;&#x6E90;&#x6642;&#x306E;&#x30B9;&#x30EA;&#x30FC;&#x30D7;&#x306F;&#x7121;&#x52B9;&#x5316;&#x3059;&#x308B;&#x3053;&#x3068;&#x3067;24/7&#x306E;&#x5B89;&#x5B9A;&#x904B;&#x7528;&#x304C;&#x53EF;&#x80FD;&#x3068;&#x306A;&#x308B;&#x3002;</p><h2 id="%E5%AE%9F%E8%B7%B5%E7%9A%84%E3%81%BE%E3%81%A8%E3%82%81">&#x5B9F;&#x8DF5;&#x7684;&#x307E;&#x3068;&#x3081;</h2><ul><li>&#x30ED;&#x30FC;&#x30AB;&#x30EB;LLM&#x3068;88&#x4F53;AI&#x30A8;&#x30FC;&#x30B8;&#x30A7;&#x30F3;&#x30C8;&#x7D44;&#x7E54;&#x3092;&#x5C0E;&#x5165;&#x3059;&#x308B;&#x3053;&#x3068;&#x3067;&#x3001;&#x81EA;&#x793E;&#x696D;&#x52D9;&#x306E;&#x81EA;&#x52D5;&#x5316;&#x3092;&#x5B9F;&#x73FE;&#x3067;&#x304D;&#x308B;&#x3002;</li><li>&#x6A21;&#x7BC4;&#x7684;&#x306A;&#x30E2;&#x30C7;&#x30EB;&#x9078;&#x5B9A;&#x3068;&#x30C1;&#x30E5;&#x30FC;&#x30CB;&#x30F3;&#x30B0;&#x3092;&#x884C;&#x3046;&#x3053;&#x3068;&#x3067;&#x3001;API&#x8AB2;&#x91D1;&#x30BC;&#x30ED;&#x3067;&#x5B89;&#x5B9A;&#x3057;&#x305F;&#x904B;&#x7528;&#x304C;&#x53EF;&#x80FD;&#x3068;&#x306A;&#x308B;&#x3002;</li><li>&#x5B9F;&#x969B;&#x306E;&#x969C;&#x5BB3;&#x306F;&#x8FC5;&#x901F;&#x306B;&#x5BFE;&#x51E6;&#x3057;&#x3001;&#x63A8;&#x8AD6;&#x65B9;&#x5F0F;&#x3084;&#x30B3;&#x30F3;&#x30C6;&#x30AD;&#x30B9;&#x30C8;&#x7BA1;&#x7406;&#x3092;&#x9069;&#x5207;&#x306B;&#x8ABF;&#x6574;&#x3059;&#x308B;&#x3053;&#x3068;&#x3067;&#x89E3;&#x6C7A;&#x3059;&#x308B;&#x3053;&#x3068;&#x304C;&#x3067;&#x304D;&#x308B;&#x3002;</li><li>&#x53D7;&#x8A17;&#x6848;&#x4EF6;&#x306E;&#x81EA;&#x5F8B;&#x30C7;&#x30EA;&#x30D0;&#x30EA;&#x30FC;&#x3084;&#x8A18;&#x4E8B;&#x914D;&#x4FE1;&#x30D1;&#x30A4;&#x30D7;&#x30E9;&#x30A4;&#x30F3;&#x3082;&#x5B8C;&#x5168;&#x81EA;&#x52D5;&#x5316;&#x306B;&#x3088;&#x308A;&#x52B9;&#x7387;&#x5316;&#x3055;&#x308C;&#x308B;&#x3002;</li><li>&#x30B9;&#x30B1;&#x30B8;&#x30E5;&#x30FC;&#x30E9;&#x3068;&#x30CD;&#x30C3;&#x30C8;&#x30EF;&#x30FC;&#x30AF;&#x8A2D;&#x5B9A;&#x306F;&#x91CD;&#x8981;&#x306A;&#x8981;&#x7D20;&#x3067;&#x3042;&#x308A;&#x3001;&#x9069;&#x5207;&#x306A;&#x9078;&#x629E;&#x3084;&#x69CB;&#x6210;&#x306B;&#x3088;&#x3063;&#x3066;&#x5B89;&#x5B9A;&#x3057;&#x305F;&#x904B;&#x7528;&#x304C;&#x78BA;&#x4FDD;&#x3067;&#x304D;&#x308B;&#x3002;</li><li>24/7&#x306E;&#x904B;&#x7528;&#x74B0;&#x5883;&#x3092;&#x69CB;&#x7BC9;&#x3059;&#x308B;&#x306B;&#x306F;&#x3001;&#x30B7;&#x30B9;&#x30C6;&#x30E0;&#x30B5;&#x30FC;&#x30D3;&#x30B9;&#x3068;&#x30BF;&#x30B9;&#x30AF;&#x30B9;&#x30B1;&#x30B8;&#x30E5;&#x30FC;&#x30EA;&#x30F3;&#x30B0;&#x3092;&#x6B63;&#x3057;&#x304F;&#x8A2D;&#x5B9A;&#x3059;&#x308B;&#x3053;&#x3068;&#x304C;&#x5FC5;&#x8981;&#x3067;&#x3042;&#x308B;&#x3002;</li></ul>]]></content:encoded></item><item><title><![CDATA[ローカルLLMと88体AIエージェントが業務自動化を無料で実現 — 中小企業向け自律型ビジネスOSの成功事例]]></title><description><![CDATA[中小企業やフリーランサーが業務自動化を無料で実現するためには、最新技術を効果的に活用することが必要です。特に日本のエンジニアにとっては、大規模なシステムインフラを維持することなく効率的なビジネス環境を作り出す手法は重要です。ここでは、OpenClaw上で動作する88体のAIエージェント組織とローカルLLM（Large Language Model）の組み合わせを使用した自律型ビジネスOSの構築方法について解説します。]]></description><link>https://gxcafe.github.io/tech-blog/rokarullmto88ti-aiezientogaye-wu-zi-dong-hua-wowu-liao-deshi-xian-zhong-xiao-qi-ye-xiang-kezi-lu-xing-bizinesuosnocheng-gong-shi-li/</link><guid isPermaLink="false">6a5e1f569f0bec000107494e</guid><category><![CDATA[ローカルLLM]]></category><category><![CDATA[AIエージェント]]></category><category><![CDATA[Ollama]]></category><category><![CDATA[業務自動化]]></category><category><![CDATA[cost-zero-automation]]></category><dc:creator><![CDATA[Kengo Seki]]></dc:creator><pubDate>Mon, 20 Jul 2026 13:15:02 GMT</pubDate><content:encoded><![CDATA[<h2 id="%E8%87%AA%E5%BE%8B%E5%9E%8B%E3%83%93%E3%82%B8%E3%83%8D%E3%82%B9os%E3%81%AE%E6%A7%8B%E7%AF%89%E6%A6%82%E8%A6%81%EF%BC%9A%E3%83%AD%E3%83%BC%E3%82%AB%E3%83%ABllm%E3%81%A888%E4%BD%93ai%E3%82%A8%E3%83%BC%E3%82%B8%E3%82%A7%E3%83%B3%E3%83%88%E3%81%AE%E7%B5%84%E3%81%BF%E5%90%88%E3%82%8F%E3%81%9B">&#x81EA;&#x5F8B;&#x578B;&#x30D3;&#x30B8;&#x30CD;&#x30B9;OS&#x306E;&#x69CB;&#x7BC9;&#x6982;&#x8981;&#xFF1A;&#x30ED;&#x30FC;&#x30AB;&#x30EB;LLM&#x3068;88&#x4F53;AI&#x30A8;&#x30FC;&#x30B8;&#x30A7;&#x30F3;&#x30C8;&#x306E;&#x7D44;&#x307F;&#x5408;&#x308F;&#x305B;</h2><p>&#x4E2D;&#x5C0F;&#x4F01;&#x696D;&#x3084;&#x30D5;&#x30EA;&#x30FC;&#x30E9;&#x30F3;&#x30B5;&#x30FC;&#x304C;&#x696D;&#x52D9;&#x81EA;&#x52D5;&#x5316;&#x3092;&#x7121;&#x6599;&#x3067;&#x5B9F;&#x73FE;&#x3059;&#x308B;&#x305F;&#x3081;&#x306B;&#x306F;&#x3001;&#x6700;&#x65B0;&#x6280;&#x8853;&#x3092;&#x52B9;&#x679C;&#x7684;&#x306B;&#x6D3B;&#x7528;&#x3059;&#x308B;&#x3053;&#x3068;&#x304C;&#x5FC5;&#x8981;&#x3067;&#x3059;&#x3002;&#x7279;&#x306B;&#x65E5;&#x672C;&#x306E;&#x30A8;&#x30F3;&#x30B8;&#x30CB;&#x30A2;&#x306B;&#x3068;&#x3063;&#x3066;&#x306F;&#x3001;&#x5927;&#x898F;&#x6A21;&#x306A;&#x30B7;&#x30B9;&#x30C6;&#x30E0;&#x30A4;&#x30F3;&#x30D5;&#x30E9;&#x3092;&#x7DAD;&#x6301;&#x3059;&#x308B;&#x3053;&#x3068;&#x306A;&#x304F;&#x52B9;&#x7387;&#x7684;&#x306A;&#x30D3;&#x30B8;&#x30CD;&#x30B9;&#x74B0;&#x5883;&#x3092;&#x4F5C;&#x308A;&#x51FA;&#x3059;&#x624B;&#x6CD5;&#x306F;&#x91CD;&#x8981;&#x3067;&#x3059;&#x3002;&#x3053;&#x3053;&#x3067;&#x306F;&#x3001;OpenClaw&#x4E0A;&#x3067;&#x52D5;&#x4F5C;&#x3059;&#x308B;88&#x4F53;&#x306E;AI&#x30A8;&#x30FC;&#x30B8;&#x30A7;&#x30F3;&#x30C8;&#x7D44;&#x7E54;&#x3068;&#x30ED;&#x30FC;&#x30AB;&#x30EB;LLM&#xFF08;Large Language Model&#xFF09;&#x306E;&#x7D44;&#x307F;&#x5408;&#x308F;&#x305B;&#x3092;&#x4F7F;&#x7528;&#x3057;&#x305F;&#x81EA;&#x5F8B;&#x578B;&#x30D3;&#x30B8;&#x30CD;&#x30B9;OS&#x306E;&#x69CB;&#x7BC9;&#x65B9;&#x6CD5;&#x306B;&#x3064;&#x3044;&#x3066;&#x89E3;&#x8AAC;&#x3057;&#x307E;&#x3059;&#x3002;</p><p>&#x3053;&#x306E;&#x30B7;&#x30B9;&#x30C6;&#x30E0;&#x306F;&#x3001;Ryzen AI MAX+ 395&#xFF08;Strix Halo&#xFF09;&#xFF0B;&#x7D04;48GB&#x30E6;&#x30CB;&#x30D5;&#x30A1;&#x30A4;&#x30C9;&#x30E1;&#x30E2;&#x30EA;&#x3092;&#x642D;&#x8F09;&#x3059;&#x308B;&#x30DF;&#x30CB;PC1&#x53F0;&#x3067;&#x904B;&#x7528;&#x3055;&#x308C;&#x3066;&#x3044;&#x307E;&#x3059;&#x3002;AI&#x30A8;&#x30FC;&#x30B8;&#x30A7;&#x30F3;&#x30C8;&#x7D44;&#x7E54;&#x306F;&#x3001;&#x55B6;&#x696D;&#x30FB;&#x7D4C;&#x7406;&#x30FB;&#x4EBA;&#x4E8B;&#x30FB;&#x30DE;&#x30FC;&#x30B1;&#x30C6;&#x30A3;&#x30F3;&#x30B0;&#x30FB;&#x30BB;&#x30AD;&#x30E5;&#x30EA;&#x30C6;&#x30A3;&#x306A;&#x3069;&#x306E;&#x4E8B;&#x696D;&#x90E8;&#x5236;&#x3092;&#x63A1;&#x7528;&#x3057;&#x3066;&#x304A;&#x308A;&#x3001;&#x305D;&#x308C;&#x305E;&#x308C;&#x304C;&#x7279;&#x5B9A;&#x306E;&#x696D;&#x52D9;&#x3092;&#x81EA;&#x52D5;&#x5316;&#x3057;&#x307E;&#x3059;&#x3002;</p><h2 id="ai%E3%82%A8%E3%83%BC%E3%82%B8%E3%82%A7%E3%83%B3%E3%83%88%E7%B5%84%E7%B9%94%E3%81%AE%E6%A7%8B%E6%88%90%E3%81%A8%E3%83%A2%E3%83%87%E3%83%AB%E9%81%B8%E5%AE%9A%EF%BC%9Aopenclaw%E3%81%A7%E3%81%AE%E5%AE%9F%E8%A3%85%E4%BE%8B">AI&#x30A8;&#x30FC;&#x30B8;&#x30A7;&#x30F3;&#x30C8;&#x7D44;&#x7E54;&#x306E;&#x69CB;&#x6210;&#x3068;&#x30E2;&#x30C7;&#x30EB;&#x9078;&#x5B9A;&#xFF1A;OpenClaw&#x3067;&#x306E;&#x5B9F;&#x88C5;&#x4F8B;</h2><p>AI&#x30A8;&#x30FC;&#x30B8;&#x30A7;&#x30F3;&#x30C8;&#x7D44;&#x7E54;&#x306F;&#x3001;&#x5404;&#x90E8;&#x9580;&#x3054;&#x3068;&#x306B;&#x5C02;&#x9580;&#x7684;&#x306A;&#x30B9;&#x30AD;&#x30EB;&#x3092;&#x6301;&#x3064;88&#x4F53;&#x306E;&#x300C;&#x30A8;&#x30FC;&#x30B8;&#x30A7;&#x30F3;&#x30C8;&#x300D;&#x3067;&#x69CB;&#x6210;&#x3055;&#x308C;&#x3066;&#x3044;&#x307E;&#x3059;&#x3002;&#x3053;&#x308C;&#x3089;&#x306E;&#x30A8;&#x30FC;&#x30B8;&#x30A7;&#x30F3;&#x30C8;&#x306F;&#x3001;&#x7279;&#x5B9A;&#x306E;&#x30BF;&#x30B9;&#x30AF;&#x3092;&#x52B9;&#x7387;&#x7684;&#x306B;&#x51E6;&#x7406;&#x3059;&#x308B;&#x305F;&#x3081;&#x306B;&#x7279;&#x5225;&#x306B;&#x8A13;&#x7DF4;&#x3055;&#x308C;&#x305F;LLM&#x306B;&#x57FA;&#x3065;&#x3044;&#x3066;&#x52D5;&#x4F5C;&#x3057;&#x307E;&#x3059;&#x3002;</p><p>&#x30E2;&#x30C7;&#x30EB;&#x9078;&#x5B9A;&#x306B;&#x304A;&#x3044;&#x3066;&#x91CD;&#x8981;&#x306A;&#x6559;&#x8A13;&#x3068;&#x306A;&#x3063;&#x305F;&#x306E;&#x306F;&#x3001;&#x300C;llama3.1:8b&#x300D;&#x304C;&#x65E5;&#x672C;&#x8A9E;&#x30E9;&#x30A4;&#x30C6;&#x30A3;&#x30F3;&#x30B0;&#x54C1;&#x8CEA;&#x306B;&#x9054;&#x305B;&#x305A;&#x3001;&#x300C;qwen2.5:14b-instruct&#x300D;&#x3067;&#x5408;&#x683C;&#x3057;&#x305F;&#x3053;&#x3068;&#x3067;&#x3059;&#x3002;&#x3053;&#x306E;&#x9078;&#x629E;&#x306B;&#x3088;&#x308A;&#x3001;&#x30A8;&#x30FC;&#x30B8;&#x30A7;&#x30F3;&#x30C8;&#x306E;&#x30D7;&#x30ED;&#x30F3;&#x30D7;&#x30C8;&#xFF08;system &#x30D7;&#x30ED;&#x30F3;&#x30D7;&#x30C8;&#xFF09;&#x306F;&#x7D04;9,600&#x30C8;&#x30FC;&#x30AF;&#x30F3;&#x307E;&#x3067;&#x7E2E;&#x5C0F;&#x3057;&#x3001;&#x30C8;&#x30E9;&#x30F3;&#x30B9;&#x30AF;&#x30EA;&#x30D7;&#x30C8;&#x5727;&#x7E2E;&#x306E;&#x5931;&#x6557;&#x3082;&#x89E3;&#x6D88;&#x3055;&#x308C;&#x307E;&#x3057;&#x305F;&#x3002;</p><h2 id="%E9%AB%98%E5%8A%B9%E7%8E%87%E5%8C%96%E3%81%AE%E3%81%9F%E3%82%81%E3%81%AE%E3%83%88%E3%83%A9%E3%83%B3%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%97%E3%83%88%E5%9C%A7%E7%B8%AE%E3%81%A8%E3%82%B3%E3%83%B3%E3%83%86%E3%82%AD%E3%82%B9%E3%83%88%E7%AE%A1%E7%90%86%E6%89%8B%E6%B3%95">&#x9AD8;&#x52B9;&#x7387;&#x5316;&#x306E;&#x305F;&#x3081;&#x306E;&#x30C8;&#x30E9;&#x30F3;&#x30B9;&#x30AF;&#x30EA;&#x30D7;&#x30C8;&#x5727;&#x7E2E;&#x3068;&#x30B3;&#x30F3;&#x30C6;&#x30AD;&#x30B9;&#x30C8;&#x7BA1;&#x7406;&#x624B;&#x6CD5;</h2><p>&#x30A8;&#x30FC;&#x30B8;&#x30A7;&#x30F3;&#x30C8;&#x5B9F;&#x884C;&#x7D4C;&#x8DEF;&#x306F;&#x3001;&#x7D04;1.8&#x4E07;&#x5B57;&#x306E;&#x30EF;&#x30FC;&#x30AF;&#x30B9;&#x30DA;&#x30FC;&#x30B9;&#x30D5;&#x30A1;&#x30A4;&#x30EB;&#x3092;&#x6BCE;&#x56DE;&#x6CE8;&#x5165;&#x3059;&#x308B;&#x305F;&#x3081;&#x3001;&#x63A8;&#x8AD6;&#x30A6;&#x30A3;&#x30F3;&#x30C9;&#x30A6;&#x304C;16k&#x3067;&#x306F;&#x30B3;&#x30F3;&#x30C6;&#x30AD;&#x30B9;&#x30C8;&#x6EA2;&#x308C;&#x304C;&#x767A;&#x751F;&#x3057;&#x307E;&#x3057;&#x305F;&#x3002;&#x7D20;&#x306E;&#x63A8;&#x8AD6;&#xFF08;infer&#xFF09;&#x306B;&#x5207;&#x308A;&#x66FF;&#x3048;&#x308B;&#x3053;&#x3068;&#x3067;&#x3001;&#x3053;&#x306E;&#x554F;&#x984C;&#x3092;&#x89E3;&#x6C7A;&#x3057;&#x307E;&#x3057;&#x305F;&#x3002;</p><p>&#x307E;&#x305F;&#x3001;&#x300C;num_ctx&#x300D;&#x30C1;&#x30E5;&#x30FC;&#x30CB;&#x30F3;&#x30B0;&#x306B;&#x304A;&#x3044;&#x3066;&#x3082;&#x91CD;&#x8981;&#x306A;&#x5B66;&#x3073;&#x304C;&#x3042;&#x308A;&#x307E;&#x3057;&#x305F;&#x3002;&#x5177;&#x4F53;&#x7684;&#x306B;&#x306F;&#x3001;16384&#x30C8;&#x30FC;&#x30AF;&#x30F3;&#x306F;&#x5B89;&#x5B9A;&#x52D5;&#x4F5C;&#x304C;&#x4FDD;&#x8A3C;&#x3055;&#x308C;&#x307E;&#x3059;&#x304C;&#x3001;32768&#x30C8;&#x30FC;&#x30AF;&#x30F3;&#x3067;&#x306F;&#x9023;&#x7D9A;&#x547C;&#x3073;&#x51FA;&#x3057;&#x6570;&#x56DE;&#x3067;&#x5931;&#x6557;&#x304C;&#x59CB;&#x307E;&#x308B;&#x3053;&#x3068;&#x304C;&#x78BA;&#x8A8D;&#x3055;&#x308C;&#x307E;&#x3057;&#x305F;&#x3002;</p><h2 id="%E5%AE%9F%E7%A8%BC%E5%83%8D%E4%BA%8B%E4%BE%8B%EF%BC%9A%E5%8F%97%E8%A8%97%E6%A1%88%E4%BB%B6%E3%81%AE%E8%87%AA%E5%BE%8B%E3%83%87%E3%83%AA%E3%83%90%E3%83%AA%E3%83%BC%E3%83%91%E3%82%A4%E3%83%97%E3%83%A9%E3%82%A4%E3%83%B3">&#x5B9F;&#x7A3C;&#x50CD;&#x4E8B;&#x4F8B;&#xFF1A;&#x53D7;&#x8A17;&#x6848;&#x4EF6;&#x306E;&#x81EA;&#x5F8B;&#x30C7;&#x30EA;&#x30D0;&#x30EA;&#x30FC;&#x30D1;&#x30A4;&#x30D7;&#x30E9;&#x30A4;&#x30F3;</h2><p>&#x5177;&#x4F53;&#x7684;&#x306A;&#x5B9F;&#x7A3C;&#x50CD;&#x4E8B;&#x4F8B;&#x3068;&#x3057;&#x3066;&#x306F;&#x3001;&#x53D7;&#x8A17;&#x6848;&#x4EF6;&#x306E;&#x81EA;&#x5F8B;&#x30C7;&#x30EA;&#x30D0;&#x30EA;&#x30FC;&#x30FB;&#x30D1;&#x30A4;&#x30D7;&#x30E9;&#x30A4;&#x30F3;&#x304C;&#x6319;&#x3052;&#x3089;&#x308C;&#x307E;&#x3059;&#x3002;&#x3053;&#x306E;&#x30B7;&#x30B9;&#x30C6;&#x30E0;&#x3067;&#x306F;&#x3001;LLM&#x306B;&#x3088;&#x308B;&#x5236;&#x4F5C;&#x304B;&#x3089;&#x72EC;&#x7ACB;LLM&#x30EC;&#x30D3;&#x30E5;&#x30FC;&#x3092;&#x7D4C;&#x3066;&#x3001;&#x30EA;&#x30D3;&#x30B8;&#x30E7;&#x30F3;&#x30EB;&#x30FC;&#x30D7;&#xFF08;&#x6700;&#x5927;2&#x56DE;&#xFF09;&#x3067;&#x5408;&#x683C;&#x54C1;&#x8CEA;&#x307E;&#x3067;&#x81EA;&#x52D5;&#x7684;&#x306B;&#x78E8;&#x304D;&#x4E0A;&#x3052;&#x307E;&#x3059;&#x3002;</p><p>&#x4EBA;&#x9593;&#x306E;&#x4ECB;&#x5165;&#x306F;&#x5951;&#x7D04;&#x78BA;&#x8A8D;&#x306E;&#x307F;&#x3067;&#x3042;&#x308A;&#x3001;&#x72B6;&#x614B;&#x9077;&#x79FB;&#x306F;JSON&#x53F0;&#x5E33;&#x3067;&#x30B9;&#x30AF;&#x30EA;&#x30D7;&#x30C8;&#x304C;&#x6C7A;&#x5B9A;&#x7684;&#x306B;&#x7BA1;&#x7406;&#x3055;&#x308C;&#x3066;&#x3044;&#x307E;&#x3059;&#x3002;&#x3053;&#x306E;&#x30D1;&#x30A4;&#x30D7;&#x30E9;&#x30A4;&#x30F3;&#x81EA;&#x4F53;&#x3082;AI&#x30EC;&#x30D3;&#x30E5;&#x30A2;&#x30FC;&#x306B;&#x3088;&#x308B;&#x30B3;&#x30FC;&#x30C9;&#x30EC;&#x30D3;&#x30E5;&#x30FC;&#x3068;&#x30ED;&#x30FC;&#x30AB;&#x30EB;&#x63A8;&#x8AD6;&#x3067;&#x306E;E2E&#x30C6;&#x30B9;&#x30C8;&#x306B;&#x3088;&#x3063;&#x3066;1&#x65E5;&#x3067;&#x5B8C;&#x4E86;&#x3059;&#x308B;&#x3053;&#x3068;&#x304C;&#x53EF;&#x80FD;&#x3067;&#x3059;&#x3002;</p><h2 id="%E3%83%AD%E3%83%BC%E3%82%AB%E3%83%AB%E6%8E%A8%E8%AB%96%E3%81%AB%E3%82%88%E3%82%8B%E3%82%B3%E3%82%B9%E3%83%88%E5%89%8A%E6%B8%9B%EF%BC%9Aapi%E8%AA%B2%E9%87%91%E3%82%BC%E3%83%AD%E3%81%A7%E3%81%AE%E3%82%B7%E3%82%B9%E3%83%86%E3%83%A0%E9%81%8B%E7%94%A8">&#x30ED;&#x30FC;&#x30AB;&#x30EB;&#x63A8;&#x8AD6;&#x306B;&#x3088;&#x308B;&#x30B3;&#x30B9;&#x30C8;&#x524A;&#x6E1B;&#xFF1A;API&#x8AB2;&#x91D1;&#x30BC;&#x30ED;&#x3067;&#x306E;&#x30B7;&#x30B9;&#x30C6;&#x30E0;&#x904B;&#x7528;</h2><p>&#x672C;&#x30B7;&#x30B9;&#x30C6;&#x30E0;&#x306F;&#x3001;&#x5B8C;&#x5168;&#x306B;&#x30ED;&#x30FC;&#x30AB;&#x30EB;&#x3067;&#x52D5;&#x4F5C;&#x3057;&#x3001;API&#x8AB2;&#x91D1;&#x3092;&#x4E00;&#x5207;&#x5FC5;&#x8981;&#x3068;&#x3057;&#x307E;&#x305B;&#x3093;&#x3002;&#x3053;&#x308C;&#x306B;&#x3088;&#x308A;&#x3001;&#x4E2D;&#x5C0F;&#x4F01;&#x696D;&#x3084;&#x500B;&#x4EBA;&#x4E8B;&#x696D;&#x4E3B;&#x306B;&#x3068;&#x3063;&#x3066;&#x521D;&#x671F;&#x6295;&#x8CC7;&#x3084;&#x30E9;&#x30F3;&#x30CB;&#x30F3;&#x30B0;&#x30B3;&#x30B9;&#x30C8;&#x304C;&#x5927;&#x5E45;&#x306B;&#x8EFD;&#x6E1B;&#x3055;&#x308C;&#x307E;&#x3059;&#x3002;</p><p>&#x5177;&#x4F53;&#x7684;&#x306B;&#x306F;&#x3001;Ryzen AI MAX+ 395&#xFF08;Strix Halo&#xFF09;&#xFF0B;&#x7D04;48GB&#x30E6;&#x30CB;&#x30D5;&#x30A1;&#x30A4;&#x30C9;&#x30E1;&#x30E2;&#x30EA;&#x306E;&#x30DF;&#x30CB;PC1&#x53F0;&#x3060;&#x3051;&#x3067;&#x904B;&#x7528;&#x3067;&#x304D;&#x308B;&#x3053;&#x3068;&#x304B;&#x3089;&#x3001;&#x672C;&#x30B7;&#x30B9;&#x30C6;&#x30E0;&#x306F;&#x52B9;&#x7387;&#x7684;&#x306A;&#x30B3;&#x30B9;&#x30C8;&#x524A;&#x6E1B;&#x3092;&#x5B9F;&#x73FE;&#x3057;&#x3066;&#x3044;&#x307E;&#x3059;&#x3002;&#x3053;&#x308C;&#x306B;&#x3088;&#x308A;&#x3001;API&#x8AB2;&#x91D1;&#x30BC;&#x30ED;&#x3067;&#x5B89;&#x5B9A;&#x3057;&#x305F;&#x30B7;&#x30B9;&#x30C6;&#x30E0;&#x904B;&#x7528;&#x304C;&#x53EF;&#x80FD;&#x3068;&#x306A;&#x308A;&#x307E;&#x3059;&#x3002;</p><h2 id="%E3%83%87%E3%82%B9%E3%82%AF%E3%83%88%E3%83%83%E3%83%97pc%E3%81%A7247%E9%81%8B%E7%94%A8%E3%81%99%E3%82%8B%E3%81%9F%E3%82%81%E3%81%AE%E8%A8%AD%E5%AE%9A%E3%81%A8%E3%83%88%E3%83%A9%E3%83%96%E3%83%AB%E3%82%B7%E3%83%A5%E3%83%BC%E3%83%86%E3%82%A3%E3%83%B3%E3%82%B0">&#x30C7;&#x30B9;&#x30AF;&#x30C8;&#x30C3;&#x30D7;PC&#x3067;24/7&#x904B;&#x7528;&#x3059;&#x308B;&#x305F;&#x3081;&#x306E;&#x8A2D;&#x5B9A;&#x3068;&#x30C8;&#x30E9;&#x30D6;&#x30EB;&#x30B7;&#x30E5;&#x30FC;&#x30C6;&#x30A3;&#x30F3;&#x30B0;</h2><p>&#x30C7;&#x30B9;&#x30AF;&#x30C8;&#x30C3;&#x30D7;PC&#x3067;&#x306E;24/7&#x904B;&#x7528;&#x306B;&#x306F;&#x3001;&#x300C;systemd user service &#xFF0B; loginctl linger&#x300D;&#x3092;&#x4F7F;&#x3063;&#x3066;Gateway&#x5E38;&#x99D0;&#x3092;&#x5B9F;&#x73FE;&#x3057;&#x3001;Windows&#x30BF;&#x30B9;&#x30AF;&#x30B9;&#x30B1;&#x30B8;&#x30E5;&#x30FC;&#x30E9;&#x304C;&#x30ED;&#x30B0;&#x30AA;&#x30F3;&#x6642;&#x306B;WSL&#x3092;&#x8D77;&#x52D5;&#x3059;&#x308B;&#x3088;&#x3046;&#x306B;&#x8A2D;&#x5B9A;&#x3057;&#x307E;&#x3059;&#x3002;&#x307E;&#x305F;&#x3001;AC&#x96FB;&#x6E90;&#x6642;&#x306E;&#x30B9;&#x30EA;&#x30FC;&#x30D7;&#x306F;&#x7121;&#x52B9;&#x5316;&#x3059;&#x308B;&#x3053;&#x3068;&#x3067;&#x3001;&#x5B89;&#x5B9A;&#x3057;&#x305F;&#x904B;&#x7528;&#x74B0;&#x5883;&#x3092;&#x4F5C;&#x308A;&#x307E;&#x3059;&#x3002;</p><h2 id="%E7%A8%BC%E5%83%8D%E4%B8%AD%E3%81%AE%E8%87%AA%E5%BE%8B%E5%9E%8B%E3%83%93%E3%82%B8%E3%83%8D%E3%82%B9os%E3%81%8C%E3%82%82%E3%81%9F%E3%82%89%E3%81%99%E6%A5%AD%E5%8B%99%E5%8A%B9%E7%8E%87%E5%8C%96%E3%81%A8%E6%99%82%E9%96%93%E7%AF%80%E7%B4%84%E3%81%AE%E6%88%90%E5%8A%9F%E4%BA%8B%E4%BE%8B">&#x7A3C;&#x50CD;&#x4E2D;&#x306E;&#x81EA;&#x5F8B;&#x578B;&#x30D3;&#x30B8;&#x30CD;&#x30B9;OS&#x304C;&#x3082;&#x305F;&#x3089;&#x3059;&#x696D;&#x52D9;&#x52B9;&#x7387;&#x5316;&#x3068;&#x6642;&#x9593;&#x7BC0;&#x7D04;&#x306E;&#x6210;&#x529F;&#x4E8B;&#x4F8B;</h2><p>&#x3053;&#x306E;&#x30B7;&#x30B9;&#x30C6;&#x30E0;&#x306B;&#x3088;&#x308A;&#x3001;&#x4E2D;&#x5C0F;&#x4F01;&#x696D;&#x3084;&#x500B;&#x4EBA;&#x4E8B;&#x696D;&#x4E3B;&#x306F;&#x7279;&#x5B9A;&#x696D;&#x52D9;&#x3092;&#x81EA;&#x52D5;&#x5316;&#x3057;&#x3001;&#x6642;&#x9593;&#x3092;&#x5927;&#x5E45;&#x306B;&#x7BC0;&#x7D04;&#x3059;&#x308B;&#x3053;&#x3068;&#x304C;&#x53EF;&#x80FD;&#x306B;&#x306A;&#x308A;&#x307E;&#x3059;&#x3002;&#x5177;&#x4F53;&#x7684;&#x306B;&#x306F;&#x3001;&#x55B6;&#x696D;&#x30FB;&#x7D4C;&#x7406;&#x30FB;&#x4EBA;&#x4E8B;&#x306A;&#x3069;&#x306E;&#x30D0;&#x30C3;&#x30AF;&#x30AA;&#x30D5;&#x30A3;&#x30B9;&#x4F5C;&#x696D;&#x304C;&#x81EA;&#x52D5;&#x5316;&#x3055;&#x308C;&#x3001;&#x4EBA;&#x9593;&#x306E;&#x52B4;&#x50CD;&#x6642;&#x9593;&#x3084;&#x30B3;&#x30B9;&#x30C8;&#x524A;&#x6E1B;&#x304C;&#x5B9F;&#x73FE;&#x3057;&#x307E;&#x3059;&#x3002;</p><p>&#x3053;&#x308C;&#x306B;&#x3088;&#x308A;&#x3001;&#x3088;&#x308A;&#x591A;&#x304F;&#x306E;&#x30EA;&#x30BD;&#x30FC;&#x30B9;&#x3092;&#x6838;&#x5FC3;&#x4E8B;&#x696D;&#x306B;&#x56DE;&#x3059;&#x3053;&#x3068;&#x304C;&#x53EF;&#x80FD;&#x3068;&#x306A;&#x308A;&#x307E;&#x3059;&#x3002;&#x4F8B;&#x3048;&#x3070;&#x3001;Ollama 100% GPU &#x3092;&#x4F7F;&#x7528;&#x3057;&#x3066;&#x81EA;&#x5F8B;&#x578B;&#x30D3;&#x30B8;&#x30CD;&#x30B9;OS&#x3092;&#x69CB;&#x7BC9;&#x3059;&#x308B;&#x3053;&#x3068;&#x3067;&#x3001;API&#x8AB2;&#x91D1;&#x30BC;&#x30ED;&#x3067;&#x30B7;&#x30B9;&#x30C6;&#x30E0;&#x904B;&#x7528;&#x3092;&#x7DAD;&#x6301;&#x3057;&#x306A;&#x304C;&#x3089;&#x696D;&#x52D9;&#x52B9;&#x7387;&#x5316;&#x3092;&#x9054;&#x6210;&#x3067;&#x304D;&#x307E;&#x3059;&#x3002;</p><h3 id="%E7%B5%90%E8%AB%96">&#x7D50;&#x8AD6;</h3><p>&#x81EA;&#x5F8B;&#x578B;&#x30D3;&#x30B8;&#x30CD;&#x30B9;OS&#x306E;&#x69CB;&#x7BC9;&#x306F;&#x3001;&#x4E2D;&#x5C0F;&#x4F01;&#x696D;&#x3084;&#x500B;&#x4EBA;&#x4E8B;&#x696D;&#x4E3B;&#x306B;&#x3068;&#x3063;&#x3066;&#x696D;&#x52D9;&#x52B9;&#x7387;&#x5316;&#x3068;&#x30B3;&#x30B9;&#x30C8;&#x524A;&#x6E1B;&#x3092;&#x4E21;&#x7ACB;&#x3055;&#x305B;&#x308B;&#x6700;&#x826F;&#x306E;&#x65B9;&#x6CD5;&#x3067;&#x3059;&#x3002;&#x30ED;&#x30FC;&#x30AB;&#x30EB;LLM&#x3068;88&#x4F53;AI&#x30A8;&#x30FC;&#x30B8;&#x30A7;&#x30F3;&#x30C8;&#x306E;&#x7D44;&#x307F;&#x5408;&#x308F;&#x305B;&#x306B;&#x3088;&#x308A;&#x3001;API&#x8AB2;&#x91D1;&#x30BC;&#x30ED;&#x3067;&#x5B89;&#x5B9A;&#x3057;&#x305F;&#x30B7;&#x30B9;&#x30C6;&#x30E0;&#x904B;&#x7528;&#x304C;&#x53EF;&#x80FD;&#x3068;&#x306A;&#x308A;&#x307E;&#x3059;&#x3002;</p><p>&#x3053;&#x308C;&#x306B;&#x3088;&#x308A;&#x3001;&#x7279;&#x5B9A;&#x696D;&#x52D9;&#x306E;&#x81EA;&#x52D5;&#x5316;&#x306B;&#x3088;&#x308B;&#x6642;&#x9593;&#x3068;&#x52B4;&#x529B;&#x306E;&#x7BC0;&#x7D04;&#x3060;&#x3051;&#x3067;&#x306A;&#x304F;&#x3001;&#x3088;&#x308A;&#x591A;&#x304F;&#x306E;&#x30EA;&#x30BD;&#x30FC;&#x30B9;&#x3092;&#x6838;&#x5FC3;&#x4E8B;&#x696D;&#x306B;&#x56DE;&#x3059;&#x3053;&#x3068;&#x304C;&#x53EF;&#x80FD;&#x3067;&#x3059;&#x3002;</p>]]></content:encoded></item><item><title><![CDATA[ローカルLLMで88体AIエージェントがビジネスを自動化 — API課金ゼロで効率化を実現]]></title><description><![CDATA[日本を代表する中小企業やスタートアップにとって、業務の自動化と効率化は生き残りに不可欠な要素です。コスト面での課題が多くの場合解決策を見つける妨げとなっていますが、この記事ではローカルLLM（Large Language Model）による自律型ビジネスOSの導入と運用について解説します。具体的には、88体のAIエージェント組織を構築し、API課金ゼロで業務を効率化する手法を詳しく紹介します。]]></description><link>https://gxcafe.github.io/tech-blog/rokarullmde88ti-aiezientogabizinesuwozi-dong-hua-apike-jin-zerodexiao-lu-hua-woshi-xian/</link><guid isPermaLink="false">6a56fb347183060001a07bb5</guid><category><![CDATA[ローカルLLM]]></category><category><![CDATA[AIエージェント]]></category><category><![CDATA[Ollama]]></category><category><![CDATA[業務自動化]]></category><category><![CDATA[agent-org-design]]></category><dc:creator><![CDATA[Kengo Seki]]></dc:creator><pubDate>Wed, 15 Jul 2026 03:15:00 GMT</pubDate><content:encoded><![CDATA[<h2 id="%E8%87%AA%E5%BE%8B%E5%9E%8B%E3%83%93%E3%82%B8%E3%83%8D%E3%82%B9os%E3%81%AE%E5%B0%8E%E5%85%A5%E8%83%8C%E6%99%AF%E3%81%A8%E7%9B%AE%E7%9A%84">&#x81EA;&#x5F8B;&#x578B;&#x30D3;&#x30B8;&#x30CD;&#x30B9;OS&#x306E;&#x5C0E;&#x5165;&#x80CC;&#x666F;&#x3068;&#x76EE;&#x7684;</h2><p>&#x65E5;&#x672C;&#x3092;&#x4EE3;&#x8868;&#x3059;&#x308B;&#x4E2D;&#x5C0F;&#x4F01;&#x696D;&#x3084;&#x30B9;&#x30BF;&#x30FC;&#x30C8;&#x30A2;&#x30C3;&#x30D7;&#x306B;&#x3068;&#x3063;&#x3066;&#x3001;&#x696D;&#x52D9;&#x306E;&#x81EA;&#x52D5;&#x5316;&#x3068;&#x52B9;&#x7387;&#x5316;&#x306F;&#x751F;&#x304D;&#x6B8B;&#x308A;&#x306B;&#x4E0D;&#x53EF;&#x6B20;&#x306A;&#x8981;&#x7D20;&#x3067;&#x3059;&#x3002;&#x30B3;&#x30B9;&#x30C8;&#x9762;&#x3067;&#x306E;&#x8AB2;&#x984C;&#x304C;&#x591A;&#x304F;&#x306E;&#x5834;&#x5408;&#x89E3;&#x6C7A;&#x7B56;&#x3092;&#x898B;&#x3064;&#x3051;&#x308B;&#x59A8;&#x3052;&#x3068;&#x306A;&#x3063;&#x3066;&#x3044;&#x307E;&#x3059;&#x304C;&#x3001;&#x3053;&#x306E;&#x8A18;&#x4E8B;&#x3067;&#x306F;&#x30ED;&#x30FC;&#x30AB;&#x30EB;LLM&#xFF08;Large Language Model&#xFF09;&#x306B;&#x3088;&#x308B;&#x81EA;&#x5F8B;&#x578B;&#x30D3;&#x30B8;&#x30CD;&#x30B9;OS&#x306E;&#x5C0E;&#x5165;&#x3068;&#x904B;&#x7528;&#x306B;&#x3064;&#x3044;&#x3066;&#x89E3;&#x8AAC;&#x3057;&#x307E;&#x3059;&#x3002;&#x5177;&#x4F53;&#x7684;&#x306B;&#x306F;&#x3001;88&#x4F53;&#x306E;AI&#x30A8;&#x30FC;&#x30B8;&#x30A7;&#x30F3;&#x30C8;&#x7D44;&#x7E54;&#x3092;&#x69CB;&#x7BC9;&#x3057;&#x3001;API&#x8AB2;&#x91D1;&#x30BC;&#x30ED;&#x3067;&#x696D;&#x52D9;&#x3092;&#x52B9;&#x7387;&#x5316;&#x3059;&#x308B;&#x624B;&#x6CD5;&#x3092;&#x8A73;&#x3057;&#x304F;&#x7D39;&#x4ECB;&#x3057;&#x307E;&#x3059;&#x3002;</p><h2 id="88%E4%BD%93ai%E3%82%A8%E3%83%BC%E3%82%B8%E3%82%A7%E3%83%B3%E3%83%88%E7%B5%84%E7%B9%94%E3%81%AE%E6%A7%8B%E7%AF%89-openclaw%E3%81%A7%E3%81%AE%E7%99%BB%E9%8C%B2%E3%81%A8%E3%83%8F%E3%83%BC%E3%83%89%E3%82%A6%E3%82%A7%E3%82%A2%E7%92%B0%E5%A2%83">88&#x4F53;AI&#x30A8;&#x30FC;&#x30B8;&#x30A7;&#x30F3;&#x30C8;&#x7D44;&#x7E54;&#x306E;&#x69CB;&#x7BC9;: OpenClaw&#x3067;&#x306E;&#x767B;&#x9332;&#x3068;&#x30CF;&#x30FC;&#x30C9;&#x30A6;&#x30A7;&#x30A2;&#x74B0;&#x5883;</h2><p>&#x81EA;&#x5F8B;&#x578B;&#x30D3;&#x30B8;&#x30CD;&#x30B9;OS&#x306E;&#x57FA;&#x76E4;&#x3068;&#x306A;&#x308B;&#x306E;&#x306F;OpenClaw&#x4E0A;&#x3067;&#x7BA1;&#x7406;&#x3055;&#x308C;&#x308B;88&#x4F53;&#x306E;AI&#x30A8;&#x30FC;&#x30B8;&#x30A7;&#x30F3;&#x30C8;&#x3067;&#x3059;&#x3002;&#x3053;&#x308C;&#x3089;&#x306E;&#x30A8;&#x30FC;&#x30B8;&#x30A7;&#x30F3;&#x30C8;&#x306F;&#x55B6;&#x696D;&#x3001;&#x7D4C;&#x7406;&#x3001;&#x4EBA;&#x4E8B;&#x3001;&#x30DE;&#x30FC;&#x30B1;&#x30C6;&#x30A3;&#x30F3;&#x30B0;&#x3001;&#x30BB;&#x30AD;&#x30E5;&#x30EA;&#x30C6;&#x30A3;&#x306A;&#x3069;&#x306E;&#x5404;&#x4E8B;&#x696D;&#x90E8;&#x3054;&#x3068;&#x306B;&#x5206;&#x985E;&#x3055;&#x308C;&#x3001;&#x696D;&#x52D9;&#x3092;&#x81EA;&#x52D5;&#x3067;&#x51E6;&#x7406;&#x3057;&#x307E;&#x3059;&#x3002;</p><p>&#x30CF;&#x30FC;&#x30C9;&#x30A6;&#x30A7;&#x30A2;&#x74B0;&#x5883;&#x3068;&#x3057;&#x3066;&#x306F;&#x3001;Ryzen 9 3950X&#xFF08;Strix Halo&#xFF09;&#x3068;&#x7D04;48GB&#x306E;&#x30E6;&#x30CB;&#x30D5;&#x30A1;&#x30A4;&#x30C9;&#x30E1;&#x30E2;&#x30EA;&#x3092;&#x642D;&#x8F09;&#x3057;&#x305F;&#x30DF;&#x30CB;PC&#x3092;&#x4F7F;&#x7528;&#x3057;&#x3066;&#x3044;&#x307E;&#x3059;&#x3002;&#x3053;&#x306E;&#x69CB;&#x6210;&#x306B;&#x3088;&#x308A;&#x5B89;&#x5B9A;&#x6027;&#x3068;&#x30D1;&#x30D5;&#x30A9;&#x30FC;&#x30DE;&#x30F3;&#x30B9;&#x304C;&#x78BA;&#x4FDD;&#x3055;&#x308C;&#x3001;24&#x6642;&#x9593;365&#x65E5;&#x3067;&#x306E;&#x904B;&#x7528;&#x3082;&#x53EF;&#x80FD;&#x3067;&#x3059;&#x3002;</p><h2 id="%E6%A8%A1%E5%9E%8B%E9%81%B8%E6%8A%9E%E3%81%A8%E6%9C%80%E9%81%A9%E5%8C%96-qwen2514b-instruct%E3%81%B8%E3%81%AE%E7%A7%BB%E8%A1%8C%E3%81%A8%E3%83%97%E3%83%AD%E3%83%B3%E3%83%97%E3%83%88%E3%81%AE%E6%9C%80%E5%B0%8F%E5%8C%96">&#x6A21;&#x578B;&#x9078;&#x629E;&#x3068;&#x6700;&#x9069;&#x5316;: qwen2.5:14b-instruct&#x3078;&#x306E;&#x79FB;&#x884C;&#x3068;&#x30D7;&#x30ED;&#x30F3;&#x30D7;&#x30C8;&#x306E;&#x6700;&#x5C0F;&#x5316;</h2><p>&#x521D;&#x671F;&#x6BB5;&#x968E;&#x3067;&#x306F;llama3.1:8b&#x3092;&#x4F7F;&#x7528;&#x3057;&#x3066;&#x3044;&#x307E;&#x3057;&#x305F;&#x304C;&#x3001;&#x65E5;&#x672C;&#x8A9E;&#x30E9;&#x30A4;&#x30C6;&#x30A3;&#x30F3;&#x30B0;&#x54C1;&#x8CEA;&#x306B;&#x554F;&#x984C;&#x304C;&#x3042;&#x308A;&#x307E;&#x3057;&#x305F;&#x3002;&#x305D;&#x306E;&#x7D50;&#x679C;&#x3001;qwen2.5:14b-instruct&#x306B;&#x30E2;&#x30C7;&#x30EB;&#x3092;&#x79FB;&#x884C;&#x3057;&#x307E;&#x3057;&#x305F;&#x3002;&#x307E;&#x305F;tools.profile &#x3092; minimal &#x306B;&#x3059;&#x308B;&#x3053;&#x3068;&#x3067; system &#x30D7;&#x30ED;&#x30F3;&#x30D7;&#x30C8;&#x304C;&#x7D04;10&#x4E07;&#x30C8;&#x30FC;&#x30AF;&#x30F3;&#x304B;&#x3089;&#x7D04;9,600&#x30C8;&#x30FC;&#x30AF;&#x30F3;&#x3078;&#x3068;&#x5927;&#x5E45;&#x306B;&#x7E2E;&#x5C0F;&#x3057;&#x3001;&#x30D7;&#x30ED;&#x30F3;&#x30D7;&#x30C8;&#x306E;&#x5197;&#x9577;&#x6027;&#x304C;&#x89E3;&#x6D88;&#x3055;&#x308C;&#x307E;&#x3057;&#x305F;&#x3002;</p><h2 id="%E5%AE%9F%E9%81%8B%E7%94%A8%E4%B8%8A%E3%81%AE%E8%AA%B2%E9%A1%8C%E3%81%A8%E8%A7%A3%E6%B1%BA%E7%AD%96-%E3%82%B3%E3%83%B3%E3%83%86%E3%82%AD%E3%82%B9%E3%83%88%E3%82%AA%E3%83%BC%E3%83%90%E3%83%BC%E3%83%95%E3%83%AD%E3%83%BC%E5%AF%BE%E7%AD%96%E3%81%A8%E6%8E%A8%E8%AB%96%E6%96%B9%E5%BC%8F%E3%81%AE%E5%A4%89%E6%9B%B4">&#x5B9F;&#x904B;&#x7528;&#x4E0A;&#x306E;&#x8AB2;&#x984C;&#x3068;&#x89E3;&#x6C7A;&#x7B56;: &#x30B3;&#x30F3;&#x30C6;&#x30AD;&#x30B9;&#x30C8;&#x30AA;&#x30FC;&#x30D0;&#x30FC;&#x30D5;&#x30ED;&#x30FC;&#x5BFE;&#x7B56;&#x3068;&#x63A8;&#x8AD6;&#x65B9;&#x5F0F;&#x306E;&#x5909;&#x66F4;</h2><p>AI&#x30A8;&#x30FC;&#x30B8;&#x30A7;&#x30F3;&#x30C8;&#x306E;&#x5B9F;&#x884C;&#x7D4C;&#x8DEF;&#x306F;workspace&#x30D5;&#x30A1;&#x30A4;&#x30EB;&#xFF08;AGENTS.md/MEMORY.md &#x7B49;&#xFF09;&#x3092;&#x7D04;1.8&#x4E07;&#x5B57;&#x6CE8;&#x5165;&#x3059;&#x308B;&#x305F;&#x3081;&#x3001;&#x521D;&#x671F;&#x8A2D;&#x5B9A;&#x3067;&#x306F;&#x30B3;&#x30F3;&#x30C6;&#x30AD;&#x30B9;&#x30C8;&#x6EA2;&#x308C;&#x304C;&#x767A;&#x751F;&#x3057;&#x3066;&#x3044;&#x307E;&#x3057;&#x305F;&#x3002;&#x3053;&#x308C;&#x3092;&#x89E3;&#x6C7A;&#x3059;&#x308B;&#x305F;&#x3081;&#x306B;&#x7D20;&#x306E;&#x63A8;&#x8AD6;&#x65B9;&#x5F0F;&#x306B;&#x5207;&#x308A;&#x66FF;&#x3048;&#x3001;&#x5F79;&#x5272;&#x306F;&#x30D7;&#x30ED;&#x30F3;&#x30D7;&#x30C8;&#x306B;&#x57CB;&#x3081;&#x8FBC;&#x3080;&#x65B9;&#x6CD5;&#x3092;&#x63A1;&#x7528;&#x3057;&#x307E;&#x3057;&#x305F;&#x3002;</p><p>&#x307E;&#x305F;num_ctx&#x306E;&#x30C1;&#x30E5;&#x30FC;&#x30CB;&#x30F3;&#x30B0;&#x3092;&#x884C;&#x3044;&#x3001;&#x5B89;&#x5B9A;&#x3057;&#x305F;&#x30D1;&#x30D5;&#x30A9;&#x30FC;&#x30DE;&#x30F3;&#x30B9;&#x3092;&#x5F97;&#x308B;&#x3053;&#x3068;&#x304C;&#x3067;&#x304D;&#x307E;&#x3057;&#x305F;&#x3002;&#x5177;&#x4F53;&#x7684;&#x306B;&#x306F;16384&#x30C8;&#x30FC;&#x30AF;&#x30F3;&#x304C;&#x5B89;&#x5B9A;&#x52D5;&#x4F5C;&#x3059;&#x308B;&#x7BC4;&#x56F2;&#x3067;&#x3042;&#x308B;&#x3053;&#x3068;&#x304C;&#x78BA;&#x8A8D;&#x3055;&#x308C;&#x3001;32768&#x30C8;&#x30FC;&#x30AF;&#x30F3;&#x3067;&#x306F;&#x9023;&#x7D9A;&#x547C;&#x3073;&#x51FA;&#x3057;&#x6570;&#x56DE;&#x3067;&#x5931;&#x6557;&#x3059;&#x308B;&#x3053;&#x3068;&#x304C;&#x5224;&#x660E;&#x3057;&#x307E;&#x3057;&#x305F;&#x3002;</p><h2 id="%E5%8F%97%E8%A8%97%E6%A1%88%E4%BB%B6%E3%81%AE%E8%87%AA%E5%8B%95%E3%83%87%E3%83%AA%E3%83%90%E3%83%AA%E3%83%BC%E3%82%B7%E3%82%B9%E3%83%86%E3%83%A0-llm%E4%B8%BB%E5%B0%8E%E3%81%AE%E3%83%AC%E3%83%93%E3%83%A5%E3%83%BC%E3%81%A8%E4%BF%AE%E6%AD%A3%E3%83%AB%E3%83%BC%E3%83%97%E3%81%AB%E3%82%88%E3%82%8B%E5%93%81%E8%B3%AA%E4%BF%9D%E8%A8%BC">&#x53D7;&#x8A17;&#x6848;&#x4EF6;&#x306E;&#x81EA;&#x52D5;&#x30C7;&#x30EA;&#x30D0;&#x30EA;&#x30FC;&#x30B7;&#x30B9;&#x30C6;&#x30E0;: LLM&#x4E3B;&#x5C0E;&#x306E;&#x30EC;&#x30D3;&#x30E5;&#x30FC;&#x3068;&#x4FEE;&#x6B63;&#x30EB;&#x30FC;&#x30D7;&#x306B;&#x3088;&#x308B;&#x54C1;&#x8CEA;&#x4FDD;&#x8A3C;</h2><p>&#x53D7;&#x8A17;&#x6848;&#x4EF6;&#x306E;&#x81EA;&#x5F8B;&#x30C7;&#x30EA;&#x30D0;&#x30EA;&#x30FC;&#x306B;&#x304A;&#x3044;&#x3066;&#x306F;&#x3001;LLM&#x304C;&#x5236;&#x4F5C;&#x3055;&#x308C;&#x305F;&#x30B3;&#x30F3;&#x30C6;&#x30F3;&#x30C4;&#x3092;&#x81EA;&#x5DF1;&#x8A55;&#x4FA1;&#x3057;&#x3001;&#x5FC5;&#x8981;&#x306B;&#x5FDC;&#x3058;&#x3066;&#x4FEE;&#x6B63;&#x3092;&#x884C;&#x3044;&#x307E;&#x3059;&#x3002;&#x3053;&#x306E;&#x30D7;&#x30ED;&#x30BB;&#x30B9;&#x306F;&#x6700;&#x5927;2&#x56DE;&#x306E;&#x30EA;&#x30D3;&#x30B8;&#x30E7;&#x30F3;&#x30EB;&#x30FC;&#x30D7;&#x3092;&#x7D4C;&#x3066;&#x5408;&#x683C;&#x54C1;&#x8CEA;&#x306B;&#x9054;&#x3059;&#x308B;&#x307E;&#x3067;&#x7D9A;&#x304D;&#x307E;&#x3059;&#x3002;&#x4EBA;&#x9593;&#x306E;&#x4ECB;&#x5165;&#x306F;&#x5951;&#x7D04;&#x78BA;&#x8A8D;&#x306E;&#x307F;&#x3068;&#x3059;&#x308B;&#x3053;&#x3068;&#x3067;&#x6642;&#x9593;&#x3084;&#x30B3;&#x30B9;&#x30C8;&#x306E;&#x7BC0;&#x7D04;&#x304C;&#x53EF;&#x80FD;&#x3068;&#x306A;&#x308A;&#x307E;&#x3059;&#x3002;</p><h2 id="%E3%83%91%E3%82%A4%E3%83%97%E3%83%A9%E3%82%A4%E3%83%B3%E5%85%A8%E4%BD%93%E3%81%AE%E5%8A%B9%E7%8E%87%E5%8C%96-ai%E3%83%AC%E3%83%93%E3%83%A5%E3%82%A2%E3%83%BC%E3%81%AB%E3%82%88%E3%82%8B%E3%82%B3%E3%83%BC%E3%83%89%E3%83%AC%E3%83%93%E3%83%A5%E3%83%BC%E3%81%A8%E6%9C%80%E9%81%A9%E3%81%AA%E3%82%B9%E3%82%B1%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AA%E3%83%B3%E3%82%B0">&#x30D1;&#x30A4;&#x30D7;&#x30E9;&#x30A4;&#x30F3;&#x5168;&#x4F53;&#x306E;&#x52B9;&#x7387;&#x5316;: AI&#x30EC;&#x30D3;&#x30E5;&#x30A2;&#x30FC;&#x306B;&#x3088;&#x308B;&#x30B3;&#x30FC;&#x30C9;&#x30EC;&#x30D3;&#x30E5;&#x30FC;&#x3068;&#x6700;&#x9069;&#x306A;&#x30B9;&#x30B1;&#x30B8;&#x30E5;&#x30FC;&#x30EA;&#x30F3;&#x30B0;</h2><p>&#x30B7;&#x30B9;&#x30C6;&#x30E0;&#x5168;&#x4F53;&#x306E;&#x52B9;&#x7387;&#x5316;&#x3067;&#x306F;&#x3001;Node&#x88FD;&#x30B9;&#x30B1;&#x30B8;&#x30E5;&#x30FC;&#x30E9;&#x3092;OpenClaw&#x30CD;&#x30A4;&#x30C6;&#x30A3;&#x30D6; cron&#x306B;&#x7F6E;&#x304D;&#x63DB;&#x3048;&#x307E;&#x3057;&#x305F;&#x3002;&#x3053;&#x308C;&#x306B;&#x3088;&#x308A;&#x5168;&#x5DE5;&#x7A0B;&#x304C;&#x30ED;&#x30FC;&#x30AB;&#x30EB;&#x74B0;&#x5883;&#x3067;&#x7121;&#x6599;&#x3067;&#x7DAD;&#x6301;&#x3055;&#x308C;&#x3001;&#x30B3;&#x30B9;&#x30C8;&#x524A;&#x6E1B;&#x306B;&#x3064;&#x306A;&#x304C;&#x308A;&#x307E;&#x3057;&#x305F;&#x3002;</p><p>&#x3055;&#x3089;&#x306B;&#x3001;&#x4E26;&#x5217;AI&#x30EC;&#x30D3;&#x30E5;&#x30A2;&#x30FC;&#x306B;&#x3088;&#x308B;&#x30B3;&#x30FC;&#x30C9;&#x30EC;&#x30D3;&#x30E5;&#x30FC;&#x3092;&#x884C;&#x3044;&#x3001;&#x53F0;&#x5E33;&#x306E;&#x7AF6;&#x5408;&#x306A;&#x3069;&#x5B9F;&#x30D0;&#x30B0;10&#x4EF6;&#x3092;&#x691C;&#x51FA;&#x3059;&#x308B;&#x306A;&#x3069;&#x306E;&#x52B9;&#x679C;&#x304C;&#x3042;&#x308A;&#x307E;&#x3057;&#x305F;&#x3002;&#x4ED5;&#x69D8;&#x7B56;&#x5B9A;&#x304B;&#x3089;E2E&#x30C6;&#x30B9;&#x30C8;&#x307E;&#x3067;&#x3092;1&#x65E5;&#x3067;&#x5B8C;&#x4E86;&#x3055;&#x305B;&#x308B;&#x3053;&#x3068;&#x304C;&#x53EF;&#x80FD;&#x3068;&#x306A;&#x308A;&#x307E;&#x3057;&#x305F;&#x3002;</p><h2 id="%E3%83%8D%E3%83%83%E3%83%88%E3%83%AF%E3%83%BC%E3%82%AF%E5%95%8F%E9%A1%8C%E8%A7%A3%E6%B1%BA-windows%E3%81%A8wsl2%E9%96%93%E3%81%AE%E9%80%A3%E6%90%BA">&#x30CD;&#x30C3;&#x30C8;&#x30EF;&#x30FC;&#x30AF;&#x554F;&#x984C;&#x89E3;&#x6C7A;: Windows&#x3068;WSL2&#x9593;&#x306E;&#x9023;&#x643A;</h2><p>&#x30B7;&#x30B9;&#x30C6;&#x30E0;&#x306E;&#x6301;&#x7D9A;&#x7684;&#x306A;&#x904B;&#x7528;&#x306B;&#x304A;&#x3044;&#x3066;&#x306F;&#x3001;Windows&#x3068;WSL2&#x9593;&#x3067;&#x306E;&#x30CD;&#x30C3;&#x30C8;&#x30EF;&#x30FC;&#x30AF;&#x554F;&#x984C;&#x3092;&#x89E3;&#x6C7A;&#x3059;&#x308B;&#x3053;&#x3068;&#x304C;&#x91CD;&#x8981;&#x3067;&#x3059;&#x3002;&#x4F8B;&#x3048;&#x3070;&#x6D88;&#x3057;&#x5FD8;&#x308C;&#x305F; Windows&#x30CD;&#x30A4;&#x30C6;&#x30A3;&#x30D6; Gateway&#x304C;&#x7279;&#x5B9A;&#x306E;&#x30DD;&#x30FC;&#x30C8;&#xFF08;18789&#xFF09;&#x3092;&#x63B4;&#x3080;&#x306A;&#x3069;&#x3057;&#x305F;&#x5834;&#x5408;&#x3001;WSL&#x5074;&#x306E;Gateway&#x304C;&#x5F71;&#x97FF;&#x3092;&#x53D7;&#x3051;&#x307E;&#x3059;&#x3002;</p><h2 id="%E3%83%87%E3%82%B9%E3%82%AF%E3%83%88%E3%83%83%E3%83%97pc%E3%81%A7%E3%81%AE%E5%AE%89%E5%AE%9A%E7%A8%BC%E5%83%8D-systemd%E3%81%A8%E3%82%BF%E3%82%B9%E3%82%AF%E3%82%B9%E3%82%B1%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%A9%E3%82%92%E4%BD%BF%E7%94%A8">&#x30C7;&#x30B9;&#x30AF;&#x30C8;&#x30C3;&#x30D7;PC&#x3067;&#x306E;&#x5B89;&#x5B9A;&#x7A3C;&#x50CD;: systemd&#x3068;&#x30BF;&#x30B9;&#x30AF;&#x30B9;&#x30B1;&#x30B8;&#x30E5;&#x30FC;&#x30E9;&#x3092;&#x4F7F;&#x7528;</h2><p>&#x30C7;&#x30B9;&#x30AF;&#x30C8;&#x30C3;&#x30D7;PC&#x3067;&#x306E;&#x5B89;&#x5B9A;&#x7A3C;&#x50CD;&#x306B;&#x3064;&#x3044;&#x3066;&#x306F;systemd user service&#x3068;loginctl linger&#x3092;&#x4F7F;&#x7528;&#x3057;&#x3066; Gateway&#x5E38;&#x99D0;&#x3092;&#x78BA;&#x4FDD;&#x3057;&#x307E;&#x3057;&#x305F;&#x3002;&#x307E;&#x305F;&#x3001;Windows&#x30BF;&#x30B9;&#x30AF;&#x30B9;&#x30B1;&#x30B8;&#x30E5;&#x30FC;&#x30E9;&#x306B;&#x3088;&#x308A;&#x30ED;&#x30B0;&#x30AA;&#x30F3;&#x6642;&#x306B;WSL&#x304C;&#x8D77;&#x52D5;&#x3057;&#x3001;AC&#x96FB;&#x6E90;&#x6642;&#x306E;&#x30B9;&#x30EA;&#x30FC;&#x30D7;&#x306F;&#x7121;&#x52B9;&#x5316;&#x3059;&#x308B;&#x3053;&#x3068;&#x3067;24&#x6642;&#x9593;365&#x65E5;&#x306E;&#x9023;&#x7D9A;&#x904B;&#x7528;&#x304C;&#x53EF;&#x80FD;&#x306B;&#x306A;&#x308A;&#x307E;&#x3057;&#x305F;&#x3002;</p><h2 id="%E7%B7%A0%E3%82%81%E6%8B%AC%E3%82%8A">&#x7DE0;&#x3081;&#x62EC;&#x308A;</h2><p>&#x30ED;&#x30FC;&#x30AB;&#x30EB;LLM&#x306B;&#x3088;&#x308B;&#x81EA;&#x5F8B;&#x578B;&#x30D3;&#x30B8;&#x30CD;&#x30B9;OS&#x306E;&#x5C0E;&#x5165;&#x306F;&#x3001;API&#x8AB2;&#x91D1;&#x30BC;&#x30ED;&#x3067;&#x696D;&#x52D9;&#x81EA;&#x52D5;&#x5316;&#x3092;&#x5B9F;&#x73FE;&#x3057;&#x307E;&#x3059;&#x3002;88&#x4F53;AI&#x30A8;&#x30FC;&#x30B8;&#x30A7;&#x30F3;&#x30C8;&#x7D44;&#x7E54;&#x306F;&#x5404;&#x4E8B;&#x696D;&#x90E8;&#x3054;&#x3068;&#x306B;&#x5206;&#x985E;&#x3055;&#x308C;&#x3001;&#x52B9;&#x7387;&#x7684;&#x306A;&#x904B;&#x7528;&#x304C;&#x53EF;&#x80FD;&#x3068;&#x306A;&#x308A;&#x307E;&#x3059;&#x3002;&#x53D7;&#x8A17;&#x6848;&#x4EF6;&#x306E;&#x81EA;&#x5F8B;&#x30C7;&#x30EA;&#x30D0;&#x30EA;&#x30FC;&#x3068;&#x30B7;&#x30B9;&#x30C6;&#x30E0;&#x5168;&#x4F53;&#x306E;&#x52B9;&#x7387;&#x5316;&#x306B;&#x3088;&#x308A;&#x3001;&#x6301;&#x7D9A;&#x53EF;&#x80FD;&#x306A;&#x904B;&#x7528;&#x7BA1;&#x7406;&#x3092;&#x78BA;&#x7ACB;&#x3057;&#x5B89;&#x5B9A;&#x3057;&#x305F;&#x7A3C;&#x50CD;&#x3092;&#x78BA;&#x4FDD;&#x3057;&#x307E;&#x3059;&#x3002;</p>]]></content:encoded></item><item><title><![CDATA[Fine-Tuning Model Selection for Stable Autonomous Business Operations on Local LLMs]]></title><description><![CDATA[Autonomous business operations powered by local Large Language Models (LLMs) offer an intriguing path forward for businesses seeking agility and control over their AI-driven processes. This article explores how the choice of LLM models influences system stability and performance,]]></description><link>https://gxcafe.github.io/tech-blog/fine-tuning-model-selection-for-stable-autonomous-business-operations-on-local-llms/</link><guid isPermaLink="false">6a56e16e7183060001a07baa</guid><category><![CDATA[local-llm]]></category><category><![CDATA[ai-agents]]></category><category><![CDATA[ollama]]></category><category><![CDATA[build-in-public]]></category><category><![CDATA[agent-org-design]]></category><dc:creator><![CDATA[Kengo Seki]]></dc:creator><pubDate>Wed, 15 Jul 2026 01:25:02 GMT</pubDate><content:encoded><![CDATA[<h2 id="introduction-to-autonomous-business-operations-with-local-llms">Introduction to Autonomous Business Operations with Local LLMs</h2><p>Autonomous business operations powered by local Large Language Models (LLMs) offer an intriguing path forward for businesses seeking agility and control over their AI-driven processes. This article explores how the choice of LLM models influences system stability and performance, drawing from practical insights gained during a recent model transition in a real-world deployment scenario.</p><h2 id="model-selection-impact-transition-from-llama318b-to-qwen2514b-instruct">Model Selection Impact: Transition from llama3.1:8b to qwen2.5:14b-instruct</h2><p>When transitioning an autonomous business OS from <strong>llama3.1:8b</strong> to <strong>qwen2.5:14b-instruct</strong>, the impact on system performance and stability is profound. The initial model, llama3.1:8b, encountered significant issues with Japanese writing quality at delivery time, whereas qwen2.5:14b-instruct successfully passed these tests. This transition not only improved linguistic accuracy but also required adjustments to the system configuration, such as switching <code>tools.profile</code> to a minimal mode which reduced the size of the system prompt from around 100k tokens to approximately 9.6k tokens.</p><h2 id="system-integrity-challenges-and-solutions-in-local-deployment">System Integrity Challenges and Solutions in Local Deployment</h2><p>Deploying LLMs locally presents unique challenges that must be carefully managed to ensure system integrity. One common issue is context overflow due to injecting large amounts of workspace files into every agent call. For instance, an 88-agent business OS integrating AGENTS.md/MEMORY.md workspace files caused the execution path to inject around 18k characters per call, leading to a failure in a 16k context window setting. This issue was resolved by switching to raw inference with the role embedded directly within the prompt.</p><p>Another crucial aspect of local deployment is tuning the model&apos;s context length (<code>num_ctx</code>). On this particular GPU setup (Ryzen AI MAX+ 395 <strong>(Strix Halo)</strong> with ~48GB unified memory), experiments revealed that increasing <code>num_ctx</code> beyond 16,384 leads to instability after several consecutive calls. This underscores the importance of balancing computational resources and system stability during deployment.</p><h2 id="optimizing-prompt-size-for-stability">Optimizing Prompt Size for Stability</h2><p>Optimizing prompt size is essential for maintaining stable operations in local LLM deployments. The transition from a large (~100k tokens) to a much smaller (~9.6k tokens) system prompt highlights the importance of minimizing unnecessary context and ensuring that the model operates within its optimal parameter limits. This adjustment not only resolves immediate issues such as transcript-compaction failures but also supports the efficient use of limited local computational resources.</p><h2 id="production-pipeline-design-leveraging-autonomous-review-and-revision-loops">Production Pipeline Design: Leveraging Autonomous Review and Revision Loops</h2><p>Designing a production pipeline for LLM-based autonomous business operations requires careful consideration of review and revision processes to maintain system integrity. In this setup, an independent LLM performs reviews followed by potential revisions within a maximum of two passes before human confirmation is needed. This deterministic process, driven by a JSON ledger that controls state transitions, ensures robustness and reliability in delivering high-quality outputs.</p><p>The pipeline itself underwent rigorous testing, including parallel AI code review (discovering 10 real bugs), extensive E2E testing on local inference, and adjustments based on feedback from various phases of development. This thorough approach minimizes errors and enhances the overall stability and efficiency of autonomous operations.</p><h2 id="operational-considerations-scheduling-networking-and-continuous-operation">Operational Considerations: Scheduling, Networking, and Continuous Operation</h2><p>Operational considerations such as scheduling, networking, and continuous operation are critical for maintaining seamless business processes in a local LLM environment. Utilizing systemd user services combined with loginctl linger allows for uninterrupted 24/7 system uptime on the desktop setup. Additionally, integrating Windows task scheduler to boot WSL (Windows Subsystem for Linux) on logon further supports continuous operation.</p><p>Networking issues can arise due to complex configurations like WSL2 mirroring where a forgotten gateway in Windows might cause network shadowing problems. Ensuring that all networking pathways are clear and properly configured is vital to avoid such disruptions, which could otherwise halt business operations unexpectedly.</p><h2 id="practical-takeaways">Practical Takeaways</h2><ol><li><strong>Model Selection</strong>: Choose LLMs that not only meet your linguistic needs but also integrate well with existing systems and configurations.</li><li><strong>Prompt Optimization</strong>: Reduce prompt sizes to prevent context overflow and ensure stable operation within the model&apos;s optimal parameters.</li><li><strong>Production Pipeline Design</strong>: Implement autonomous review and revision loops alongside deterministic state management for robust delivery processes.</li><li><strong>Operational Best Practices</strong>: Use systemd services, loginctl linger, and Windows task schedulers for continuous uptime; resolve networking issues promptly to prevent service disruptions.</li></ol><p>By adhering to these practical guidelines, businesses can harness the full potential of local LLMs while maintaining system stability and integrity in autonomous operations.</p>]]></content:encoded></item></channel></rss>