<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>LocalMax</title>
    <link>https://localmax.dev/</link>
    <description>Local Open Source AI For All</description>
    <pubDate>Sat, 12 Sep 2026 10:19:45 +0000</pubDate>
    <item>
      <title>How to Use Hermes Agent with Local AI Models</title>
      <link>https://localmax.dev/how-to-use-hermes-agent-with-local-ai-models?pk_campaign=rss-feed</link>
      <description>&lt;![CDATA[A complete guide to running Hermes Agent entirely on your own hardware, with zero API costs and no data leaving your machine.&#xA;&#xA;---&#xA;&#xA;Overview&#xA;&#xA;Hermes Agent works with any OpenAI-compatible API endpoint. If a server implements /v1/chat/completions, you can point Hermes at it. This means you can use local models, GPU inference servers, multi-provider routers, or any third-party API.&#xA;&#xA;There are two broad paths:&#xA;&#xA;Managed Runtime (Desktop App): Hermes downloads and manages llama.cpp for you. You pick a model from a built-in catalog; Hermes handles memory fitting, context sizing, quantization, and GPU layer placement. Nothing leaves your computer.&#xA;Custom Endpoint (CLI / Headless): You run your own inference server (Ollama, llama.cpp, LM Studio, MLX, vLLM, etc.) and point Hermes at it via the &#34;Custom endpoint&#34; provider.&#xA;&#xA;---&#xA;&#xA;Installing Hermes Desktop&#xA;&#xA;Download Hermes Agent from Nous Research.&#xA;&#xA;Easiest way is to get Hermes Desktop.&#xA;&#xA;---&#xA;&#xA;Hermes Managed Runtime (Desktop App)&#xA;&#xA;This is the simplest path. Available in the Hermes Desktop app.&#xA;&#xA;If you are just installing it, you can configure your models now.&#xA;&#xA;Select Run models locally&#xA;&#xA;You can click set up for me and it will set up everything automatically with the chosen model.&#xA;&#xA;Select the model and options&#xA;&#xA;Test the agent&#xA;&#xA;If you already have Hermes, follow these steps below to switch to local models.&#xA;&#xA;Steps&#xA;&#xA;Open Settings -  Providers -  Local Models (or choose Run models locally during onboarding).&#xA;&#xA;Click Install runtime. Hermes downloads the official llama.cpp build for your hardware (a few hundred MB), verifies it, and keeps it updated.&#xA;&#xA;Pick a model from the catalog and click Download.&#xA;&#xA;Click Use. New chats now run on the local model.&#xA;&#xA;How Hermes Chooses Models&#xA;&#xA;Every model in the catalog is priced against your machine before you download:&#xA;&#xA;Memory fit: Green = fits your GPU (runs entirely in GPU memory), Amber = uses system RAM (works but slower), Red = too big for this machine.&#xA;Context: The window the model starts with and the maximum it can grow to.&#xA;Download size: Of the build selected for your hardware.&#xA;&#xA;Models ship in several quantizations. Hermes picks the highest-quality build that runs fully on your GPU; machines with less memory get a more compact build. Below 4-bit quantization, quality loss is too severe.&#xA;&#xA;Memory Management (Automatic)&#xA;&#xA;Models start at a context window that fits your GPU and grow toward their native maximum as conversations need more room.&#xA;Every recommended model gets at least a 64K context window.&#xA;When a model is larger than your GPU&#39;s memory, overflow goes to system RAM in the order that hurts least (expert weights first, never the attention cache).&#xA;Idle models unload after 15 minutes to free GPU memory; they reload automatically.&#xA;&#xA;---&#xA;&#xA;Approach 2: LM Studio&#xA;&#xA;LM Studio is a desktop app for running local models with a GUI.&#xA;&#xA;Setup&#xA;&#xA;Open LM Studio and start the local server (the server icon).&#xA;&#xA;It runs on http://localhost:1234 by default.&#xA;&#xA;Load a model in the LM Studio UI.&#xA;&#xA;Configure Hermes&#xA;&#xA;hermes model&#xA;&#xA;Select LM Studio. It auto-detects http://localhost:1234/v1. Pick a model from the discovered list.&#xA;&#xA;Or in ~/.hermes/config.yaml:&#xA;&#xA;model:&#xA;  default: &#34;your-model-name&#34;&#xA;  provider: &#34;lmstudio&#34;&#xA;&#xA;---&#xA;&#xA;Configuration Reference&#xA;&#xA;Managed Runtime (Desktop App)&#xA;&#xA;The managed runtime is controlled by the localruntime section of config.yaml. The desktop UI writes these values for you; they&#39;re documented for CLI and headless use:&#xA;&#xA;localruntime:&#xA;  enabled: false     # true = start the managed server with Hermes&#xA;  backend: auto      # auto | cuda | metal | vulkan | hip | cpu&#xA;  tag: b10362        # pinned llama.cpp release; auto-updated&#xA;&#xA;Models and runtime builds live under the Hermes home directory (models/ and runtimes/llamacpp/).&#xA;&#xA;Custom Endpoint&#xA;&#xA;model:&#xA;  default: &#34;gemma4:31b&#34;&#xA;  provider: &#34;custom&#34;&#xA;  baseurl: &#34;http://localhost:11434/v1&#34;&#xA;  # apikey: optional, leave empty for local servers&#xA;&#xA;Timeouts for Local Models&#xA;&#xA;Hermes auto-detects local endpoints and relaxes streaming timeouts. Override if needed:&#xA;&#xA;~/.hermes/.env&#xA;HERMESAPITIMEOUT=1800        # 30 minutes for slow local models&#xA;HERMESSTREAMREADTIMEOUT=1800 # Socket-level read timeout&#xA;&#xA;---&#xA;&#xA;Running as a Gateway Bot&#xA;&#xA;Expose Hermes as a Telegram bot running entirely on your hardware.&#xA;&#xA;This way you can interact with it using a chat application you already use on your phone or laptop.&#xA;&#xA;Telegram&#xA;&#xA;Create a bot via @BotFather and get the token.&#xA;&#xA;Add to ~/.hermes/config.yaml:&#xA;&#xA;model:&#xA;  default: &#34;gemma4:31b&#34;&#xA;  provider: &#34;custom&#34;&#xA;  baseurl: &#34;http://localhost:11434/v1&#34;&#xA;&#xA;platforms:&#xA;  telegram:&#xA;    enabled: true&#xA;    token: &#34;YOURTELEGRAMBOT_TOKEN&#34;&#xA;&#xA;Start the gateway:&#xA;&#xA;hermes gateway&#xA;&#xA;---&#xA;&#xA;What You Can Do With It&#xA;&#xA;You can chat with Hermes of course, but the point of an Agent is it can actually do more for you. Hermes comes with many tools for doing different things, like web search, coding, email, messaging, etc.&#xA;&#xA;I asked it to build me a single page web based Towers of Hanoi game, and while it did a good job, it reversed order of the disks, putting larger on top of smaller.&#xA;&#xA;Was able to quickly correct that, and after that, the game did work correctly.&#xA;&#xA;Next I asked to to research NVDA stock:&#xA;&#xA;Then plan an itinerary for a trip to New York City&#xA;&#xA;]]&gt;</description>
      <content:encoded><![CDATA[<p>A complete guide to running Hermes Agent entirely on your own hardware, with zero API costs and no data leaving your machine.</p>

<hr/>

<h2 id="overview">Overview</h2>

<p>Hermes Agent works with any OpenAI-compatible API endpoint. If a server implements <code>/v1/chat/completions</code>, you can point Hermes at it. This means you can use local models, GPU inference servers, multi-provider routers, or any third-party API.</p>

<p>There are two broad paths:</p>
<ul><li><strong>Managed Runtime (Desktop App):</strong> Hermes downloads and manages llama.cpp for you. You pick a model from a built-in catalog; Hermes handles memory fitting, context sizing, quantization, and GPU layer placement. Nothing leaves your computer.</li>
<li><strong>Custom Endpoint (CLI / Headless):</strong> You run your own inference server (Ollama, llama.cpp, LM Studio, MLX, vLLM, etc.) and point Hermes at it via the “Custom endpoint” provider.</li></ul>

<hr/>

<h2 id="installing-hermes-desktop">Installing Hermes Desktop</h2>

<p>Download Hermes Agent from Nous Research.</p>

<p>Easiest way is to get Hermes Desktop.</p>

<hr/>

<h2 id="hermes-managed-runtime-desktop-app">Hermes Managed Runtime (Desktop App)</h2>

<p>This is the simplest path. Available in the Hermes Desktop app.</p>

<p>If you are just installing it, you can configure your models now.</p>

<p>Select Run models locally<img src="https://i.snap.as/GK99Z2tJ.png" alt=""/></p>

<p>You can click set up for me and it will set up everything automatically with the chosen model.</p>

<p><img src="https://i.snap.as/5ggtGW73.png" alt=""/></p>

<p>Select the model and options</p>

<p><img src="https://i.snap.as/VZGc18ME.png" alt=""/></p>

<p>Test the agent</p>

<p><img src="https://i.snap.as/OOmaUiVn.png" alt=""/></p>

<p>If you already have Hermes, follow these steps below to switch to local models.</p>

<h3 id="steps">Steps</h3>
<ol><li><p>Open <strong>Settings –&gt; Providers –&gt; Local Models</strong> (or choose <strong>Run models locally</strong> during onboarding).</p></li>

<li><p>Click <strong>Install runtime</strong>. Hermes downloads the official llama.cpp build for your hardware (a few hundred MB), verifies it, and keeps it updated.</p></li>

<li><p>Pick a model from the catalog and click <strong>Download</strong>.</p></li>

<li><p>Click <strong>Use</strong>. New chats now run on the local model.</p></li></ol>

<h3 id="how-hermes-chooses-models">How Hermes Chooses Models</h3>

<p>Every model in the catalog is priced against your machine before you download:</p>
<ul><li><strong>Memory fit:</strong> Green = fits your GPU (runs entirely in GPU memory), Amber = uses system RAM (works but slower), Red = too big for this machine.</li>
<li><strong>Context:</strong> The window the model starts with and the maximum it can grow to.</li>
<li><strong>Download size:</strong> Of the build selected for your hardware.</li></ul>

<p>Models ship in several quantizations. Hermes picks the highest-quality build that runs fully on your GPU; machines with less memory get a more compact build. Below 4-bit quantization, quality loss is too severe.</p>

<h3 id="memory-management-automatic">Memory Management (Automatic)</h3>
<ul><li>Models start at a context window that fits your GPU and grow toward their native maximum as conversations need more room.</li>
<li>Every recommended model gets at least a 64K context window.</li>
<li>When a model is larger than your GPU&#39;s memory, overflow goes to system RAM in the order that hurts least (expert weights first, never the attention cache).</li>
<li>Idle models unload after 15 minutes to free GPU memory; they reload automatically.</li></ul>

<hr/>

<h2 id="approach-2-lm-studio">Approach 2: LM Studio</h2>

<p>LM Studio is a desktop app for running local models with a GUI.</p>

<h3 id="setup">Setup</h3>
<ol><li><p>Open LM Studio and start the local server (the server icon).</p></li>

<li><p>It runs on <code>http://localhost:1234</code> by default.</p></li>

<li><p>Load a model in the LM Studio UI.</p></li></ol>

<h3 id="configure-hermes">Configure Hermes</h3>

<pre><code class="language-bash">hermes model
</code></pre>

<p>Select <strong>LM Studio</strong>. It auto-detects <code>http://localhost:1234/v1</code>. Pick a model from the discovered list.</p>

<p>Or in <code>~/.hermes/config.yaml</code>:</p>

<pre><code class="language-yaml">model:
  default: &#34;your-model-name&#34;
  provider: &#34;lmstudio&#34;
</code></pre>

<hr/>

<h2 id="configuration-reference">Configuration Reference</h2>

<h3 id="managed-runtime-desktop-app">Managed Runtime (Desktop App)</h3>

<p>The managed runtime is controlled by the <code>local_runtime</code> section of <code>config.yaml</code>. The desktop UI writes these values for you; they&#39;re documented for CLI and headless use:</p>

<pre><code class="language-yaml">local_runtime:
  enabled: false     # true = start the managed server with Hermes
  backend: auto      # auto | cuda | metal | vulkan | hip | cpu
  tag: b10362        # pinned llama.cpp release; auto-updated
</code></pre>

<p>Models and runtime builds live under the Hermes home directory (<code>models/</code> and <code>runtimes/llamacpp/</code>).</p>

<h3 id="custom-endpoint">Custom Endpoint</h3>

<pre><code class="language-yaml">model:
  default: &#34;gemma4:31b&#34;
  provider: &#34;custom&#34;
  base_url: &#34;http://localhost:11434/v1&#34;
  # api_key: optional, leave empty for local servers
</code></pre>

<h3 id="timeouts-for-local-models">Timeouts for Local Models</h3>

<p>Hermes auto-detects local endpoints and relaxes streaming timeouts. Override if needed:</p>

<pre><code class="language-bash"># ~/.hermes/.env
HERMES_API_TIMEOUT=1800        # 30 minutes for slow local models
HERMES_STREAM_READ_TIMEOUT=1800 # Socket-level read timeout
</code></pre>

<hr/>

<h2 id="running-as-a-gateway-bot">Running as a Gateway Bot</h2>

<p>Expose Hermes as a Telegram bot running entirely on your hardware.</p>

<p>This way you can interact with it using a chat application you already use on your phone or laptop.</p>

<h3 id="telegram">Telegram</h3>
<ol><li><p>Create a bot via <a href="https://t.me/BotFather">@BotFather</a> and get the token.</p></li>

<li><p>Add to <code>~/.hermes/config.yaml</code>:</p></li></ol>

<pre><code class="language-yaml">model:
  default: &#34;gemma4:31b&#34;
  provider: &#34;custom&#34;
  base_url: &#34;http://localhost:11434/v1&#34;

platforms:
  telegram:
    enabled: true
    token: &#34;YOUR_TELEGRAM_BOT_TOKEN&#34;
</code></pre>
<ol><li>Start the gateway:</li></ol>

<pre><code class="language-bash">hermes gateway
</code></pre>

<hr/>

<h2 id="what-you-can-do-with-it">What You Can Do With It</h2>

<p>You can chat with Hermes of course, but the point of an Agent is it can actually do more for you. Hermes comes with many tools for doing different things, like web search, coding, email, messaging, etc.</p>

<p>I asked it to build me a single page web based Towers of Hanoi game, and while it did a good job, it reversed order of the disks, putting larger on top of smaller.</p>

<p><img src="https://i.snap.as/qHG0vIhA.png" alt=""/><img src="https://i.snap.as/DMS2uKX8.png" alt=""/></p>

<p>Was able to quickly correct that, and after that, the game did work correctly.</p>

<p><img src="https://i.snap.as/jGUXGFXt.png" alt=""/></p>

<p><img src="https://i.snap.as/T0EtzeKh.png" alt=""/></p>

<p>Next I asked to to research NVDA stock:</p>

<p><img src="https://i.snap.as/VuOwCESS.png" alt=""/></p>

<p>Then plan an itinerary for a trip to New York City</p>

<p><img src="https://i.snap.as/RgpEj7RV.png" alt=""/></p>
]]></content:encoded>
      <guid>https://localmax.dev/how-to-use-hermes-agent-with-local-ai-models</guid>
      <pubDate>Mon, 07 Sep 2026 18:47:51 +0000</pubDate>
    </item>
    <item>
      <title>Local AI Image Generation </title>
      <link>https://localmax.dev/local-ai-image-generation?pk_campaign=rss-feed</link>
      <description>&lt;![CDATA[If you&#39;re on Windows and want to start generating images locally with as little friction as possible, I&#39;d point you toward Lemonade. I tried the usual suspects first — ComfyUI and Automatic1111 — but neither really &#34;just worked&#34; for me out of the box. Lemonade did.&#xA;&#xA;You can download Lemonade from https://lemonade-server.ai/. Before you install, check the https://github.com/lemonade-sdk/lemonade?tab=readme-ov-file#supported-configurations to make sure your setup is supported. Generally you&#39;ll want an Nvidia or AMD GPU with at least 8GB of VRAM for image generation, though the exact models you can run will depend on your hardware.&#xA;&#xA;Once it&#39;s installed, you&#39;ll see a screen with available backends and models listed on the left.&#xA;&#xA;For image generation, pick StableDiffusion.cpp. You&#39;ll want a model that fits comfortably on your GPU — performance really matters here. I&#39;m running a 12GB card, so I go with SDXL base or SDXL Turbo. Each model shows its size right next to it, so just pick something that leaves your GPU some breathing room.&#xA;&#xA;After the model downloads, select it again and confirm it shows up in the Lemonade image generator.&#xA;&#xA;From there you can adjust the image size or turn on upscaling. There are other parameters too, but they can affect quality in ways that aren&#39;t obvious, so I usually leave the defaults alone unless I know what I&#39;m doing. The seed controls the random starting point — change it if you want a different take on the same prompt. Defaults are fine if you&#39;re not sure.&#xA;&#xA;Now just type your prompt. I went with &#34;3 corgis running on the beach.&#34; About thirty seconds later, I had my image.&#xA;&#xA;If you like it, click the save button to keep it. If not, tweak the prompt or settings and run it again. One thing I&#39;ve noticed: the more descriptive and specific your prompt, the better the result tends to be.&#xA;&#xA;If you&#39;ve got a 24GB GPU or more, you can also experiment with heavier models like the Qwen or Z image models — those should give you noticeably better quality.&#xA;&#xA;Happy image creation.]]&gt;</description>
      <content:encoded><![CDATA[<p>If you&#39;re on Windows and want to start generating images locally with as little friction as possible, I&#39;d point you toward Lemonade. I tried the usual suspects first — ComfyUI and Automatic1111 — but neither really “just worked” for me out of the box. Lemonade did.</p>

<p>You can download Lemonade from <a href="https://lemonade-server.ai/">https://lemonade-server.ai/</a>. Before you install, check the <a href="https://github.com/lemonade-sdk/lemonade?tab=readme-ov-file#supported-configurations">https://github.com/lemonade-sdk/lemonade?tab=readme-ov-file#supported-configurations</a> to make sure your setup is supported. Generally you&#39;ll want an Nvidia or AMD GPU with at least 8GB of VRAM for image generation, though the exact models you can run will depend on your hardware.</p>

<p>Once it&#39;s installed, you&#39;ll see a screen with available backends and models listed on the left.</p>

<p><img src="https://i.snap.as/ouqeiDd9.png" alt=""/></p>

<p>For image generation, pick StableDiffusion.cpp. You&#39;ll want a model that fits comfortably on your GPU — performance really matters here. I&#39;m running a 12GB card, so I go with SDXL base or SDXL Turbo. Each model shows its size right next to it, so just pick something that leaves your GPU some breathing room.</p>

<p><img src="https://i.snap.as/xX6i9817.png" alt=""/></p>

<p>After the model downloads, select it again and confirm it shows up in the Lemonade image generator.</p>

<p>From there you can adjust the image size or turn on upscaling. There are other parameters too, but they can affect quality in ways that aren&#39;t obvious, so I usually leave the defaults alone unless I know what I&#39;m doing. The seed controls the random starting point — change it if you want a different take on the same prompt. Defaults are fine if you&#39;re not sure.</p>

<p><img src="https://i.snap.as/gscbux11.png" alt=""/></p>

<p>Now just type your prompt. I went with “3 corgis running on the beach.” About thirty seconds later, I had my image.</p>

<p><img src="https://i.snap.as/P0v5S6zG.png" alt=""/></p>

<p>If you like it, click the save button to keep it. If not, tweak the prompt or settings and run it again. One thing I&#39;ve noticed: the more descriptive and specific your prompt, the better the result tends to be.</p>

<p>If you&#39;ve got a 24GB GPU or more, you can also experiment with heavier models like the Qwen or Z image models — those should give you noticeably better quality.</p>

<p>Happy image creation.</p>
]]></content:encoded>
      <guid>https://localmax.dev/local-ai-image-generation</guid>
      <pubDate>Sun, 12 Jul 2026 19:42:20 +0000</pubDate>
    </item>
    <item>
      <title>AI Coding Assistant</title>
      <link>https://localmax.dev/ai-coding-assistant?pk_campaign=rss-feed</link>
      <description>&lt;![CDATA[If you write code, an AI assistant can be a game-changer — and you don&#39;t need a cloud subscription to get one. Your local LLM can help with writing, debugging, refactoring, and explaining code, all without sending your code to anyone else&#39;s servers.&#xA;&#xA;Here&#39;s how to set it up with VS Code and LMStudio.&#xA;&#xA;Step 1: Enable the LMStudio Server&#xA;&#xA;LMStudio can run as a background server that other apps connect to:&#xA;&#xA;Open LMStudio and click the Developer Settings icon (it looks like a gear or chip — enable developer mode if you haven&#39;t already)&#xA;&#xA;Scroll down to Local Server settings&#xA;&#xA;Toggle on Start Local LLM Service — this lets the model run in the background so you don&#39;t have to keep the LMStudio chat window open&#xA;&#xA;Click Start Server (you can also access this from the system tray icon)&#xA;&#xA;By default, LMStudio listens on localhost:1234. The server stays running as long as LMStudio is open (or as long as the background service is active).&#xA;&#xA;Step 2: Install the Continue Extension&#xA;&#xA;There are several VS Code extensions that connect to local LLMs. I use Continue because it&#39;s flexible, well-maintained, and supports multiple backends.&#xA;&#xA;Open VS Code and go to the Extensions tab (Ctrl+Shift+X)&#xA;&#xA;Search for &#34;Continue&#34; and install it&#xA;&#xA;It supports many providers — LMStudio, llama.cpp, Ollama, and more&#xA;&#xA;Step 3: Connect Continue to LMStudio&#xA;&#xA;    In VS Code, open the Continue configuration (click the Continue icon in the sidebar → settings)&#xA;&#xA;    Add a new provider and select LMStudio&#xA;&#xA;    Set the API base to http://localhost:1234 (LMStudio&#39;s default)&#xA;&#xA;    Leave the model set to Auto — Continue will pick up whatever model is loaded in LMStudio&#xA;&#xA;What Can You Use It For?&#xA;&#xA;Explain code — highlight a function and ask what it does&#xA;Debug errors — paste an error message and ask for fixes&#xA;Generate boilerplate — &#34;write a Python function that parses CSV and returns a list of dicts&#34;&#xA;Refactor — &#34;rewrite this to use list comprehensions&#34;&#xA;Code review — paste a PR and ask for suggestions&#xA;Learn new languages — ask it to write examples or explain syntax&#xA;&#xA;Tips&#xA;&#xA;Use a bigger model for complex tasks. A 7B+ model will handle refactoring and architecture questions much better than a 3B model.&#xA;Give it context. Continue can read your open files — make sure relevant code is open when you ask questions.&#xA;The model isn&#39;t perfect. Always review suggested code. Local models are helpful but not infallible — especially on tricky edge cases.&#xA;Keep LMStudio running. If you want the server to start automatically, enable the background service in LMStudio&#39;s settings.&#xA;&#xA;Alternatives to Continue&#xA;&#xA;Continue isn&#39;t the only option. Other popular VS Code extensions for local LLMs include:&#xA;&#xA;Continue (what I use — flexible, multi-provider)&#xA;Cody (by Sourcegraph — good if you&#39;re already in their ecosystem)&#xA;Codeium (free tier available, though the free tier uses cloud models)&#xA;&#xA;If you&#39;re not using VS Code, LMStudio&#39;s server API is OpenAI-compatible, so most tools that support OpenAI endpoints should work — including JetBrains IDEs, Neovim, and more.]]&gt;</description>
      <content:encoded><![CDATA[<p>If you write code, an AI assistant can be a game-changer — and you don&#39;t need a cloud subscription to get one. Your local LLM can help with writing, debugging, refactoring, and explaining code, all without sending your code to anyone else&#39;s servers.</p>

<p>Here&#39;s how to set it up with VS Code and LMStudio.</p>

<h3 id="step-1-enable-the-lmstudio-server">Step 1: Enable the LMStudio Server</h3>

<p>LMStudio can run as a background server that other apps connect to:</p>
<ol><li><p>Open LMStudio and click the <strong>Developer Settings</strong> icon (it looks like a gear or chip — enable developer mode if you haven&#39;t already)</p></li>

<li><p><img src="https://i.snap.as/z1mn8QYb.png" alt=""/></p></li>

<li><p>Scroll down to <strong>Local Server</strong> settings</p></li>

<li><p>Toggle on <strong>Start Local LLM Service</strong> — this lets the model run in the background so you don&#39;t have to keep the LMStudio chat window open</p></li>

<li><p>Click <strong>Start Server</strong> (you can also access this from the system tray icon)</p></li></ol>

<p><img src="https://i.snap.as/1HNo2MSP.png" alt=""/></p>

<p>By default, LMStudio listens on <code>localhost:1234</code>. The server stays running as long as LMStudio is open (or as long as the background service is active).</p>

<h3 id="step-2-install-the-continue-extension">Step 2: Install the Continue Extension</h3>

<p>There are several VS Code extensions that connect to local LLMs. I use <strong>Continue</strong> because it&#39;s flexible, well-maintained, and supports multiple backends.</p>
<ol><li><p>Open VS Code and go to the Extensions tab (Ctrl+Shift+X)</p></li>

<li><p>Search for <strong>“Continue”</strong> and install it</p></li>

<li><p>It supports many providers — LMStudio, llama.cpp, Ollama, and more</p></li></ol>

<p><img src="https://i.snap.as/AXjsLqvm.png" alt=""/></p>

<h3 id="step-3-connect-continue-to-lmstudio">Step 3: Connect Continue to LMStudio</h3>

<p>    In VS Code, open the Continue configuration (click the Continue icon in the sidebar → settings)</p>

<p>    Add a new provider and select LMStudio</p>

<p>    Set the API base to <a href="http://localhost:1234">http://localhost:1234</a> (LMStudio&#39;s default)</p>

<p>    Leave the model set to Auto — Continue will pick up whatever model is loaded in LMStudio</p>

<p><img src="https://i.snap.as/FS9Cl8i4.png" alt=""/></p>

<p><img src="https://i.snap.as/xsVr40v6.png" alt=""/></p>

<h3 id="what-can-you-use-it-for">What Can You Use It For?</h3>
<ul><li><strong>Explain code</strong> — highlight a function and ask what it does</li>
<li><strong>Debug errors</strong> — paste an error message and ask for fixes</li>
<li><strong>Generate boilerplate</strong> — “write a Python function that parses CSV and returns a list of dicts”</li>
<li><strong>Refactor</strong> — “rewrite this to use list comprehensions”</li>
<li><strong>Code review</strong> — paste a PR and ask for suggestions</li>
<li><strong>Learn new languages</strong> — ask it to write examples or explain syntax</li></ul>

<h3 id="tips">Tips</h3>
<ul><li><strong>Use a bigger model for complex tasks.</strong> A 7B+ model will handle refactoring and architecture questions much better than a 3B model.</li>
<li><strong>Give it context.</strong> Continue can read your open files — make sure relevant code is open when you ask questions.</li>
<li><strong>The model isn&#39;t perfect.</strong> Always review suggested code. Local models are helpful but not infallible — especially on tricky edge cases.</li>
<li><strong>Keep LMStudio running.</strong> If you want the server to start automatically, enable the background service in LMStudio&#39;s settings.</li></ul>

<h3 id="alternatives-to-continue">Alternatives to Continue</h3>

<p>Continue isn&#39;t the only option. Other popular VS Code extensions for local LLMs include:</p>
<ul><li><strong>Continue</strong> (what I use — flexible, multi-provider)</li>
<li><strong>Cody</strong> (by Sourcegraph — good if you&#39;re already in their ecosystem)</li>
<li><strong>Codeium</strong> (free tier available, though the free tier uses cloud models)</li></ul>

<p>If you&#39;re not using VS Code, LMStudio&#39;s server API is OpenAI-compatible, so most tools that support OpenAI endpoints should work — including JetBrains IDEs, Neovim, and more.</p>
]]></content:encoded>
      <guid>https://localmax.dev/ai-coding-assistant</guid>
      <pubDate>Sat, 13 Jun 2026 23:15:06 +0000</pubDate>
    </item>
    <item>
      <title>LMStudio</title>
      <link>https://localmax.dev/lmstudio?pk_campaign=rss-feed</link>
      <description>&lt;![CDATA[The simplest way to get up and running with local AI is LMStudio. It&#39;s a free, graphical app that works on Windows, Mac, and Linux, and it handles model downloading, loading, and chatting all in one place. No command line required.&#xA;&#xA;What You Need:&#xA;&#xA;Before you install anything, check your hardware. The most important spec is VRAM (video RAM) — the memory on your graphics card. This determines what size model you can run.&#xA;&#xA;Minimum: 4 GB VRAM will work for small models (3–4 billion parameters). It&#39;s enough to get started, but you&#39;ll be limited in what you can run.&#xA;&#xA;Recommended: 8 GB or more. This opens up 7–10 billion parameter models, which are where things start getting genuinely useful.&#xA;&#xA;Ideal: 12 GB+. You can run 10–13 billion parameter models comfortably and still have room for context.&#xA;&#xA;If you don&#39;t know your VRAM:&#xA;&#xA;Windows: Right-click the taskbar → Task Manager → Performance tab → GPU 0 → look for &#34;Dedicated GPU Memory&#34;&#xA;Mac: Apple menu → About This Mac → Memory (all Macs with Apple Silicon share memory between CPU and GPU)&#xA;Linux: Run nvidia-smi in a terminal&#xA;&#xA;How VRAM maps to model size: As a rough rule, 1 GB of VRAM ≈ 1 billion parameters at 8-bit quantization. 8-bit and 16-bit are the most common formats, but you&#39;ll also see 4-bit (smaller but slightly less accurate) and even 2-bit models for very constrained hardware.&#xA;&#xA;My System Specs&#xA;&#xA;Here&#39;s what I&#39;m running:&#xA;&#xA;CPU: Intel Core i9-14900KF&#xA;RAM: 32 GB&#xA;GPU: NVIDIA GeForce RTX 4070 (12 GB VRAM)&#xA;Storage: 2 TB NVMe SSD&#xA;&#xA;With 12 GB of VRAM, I can technically fit a 12B model at 8-bit. But you also need room for the desktop, the KV cache, and context windows — so in practice, 8–10B models are where I run best.&#xA;&#xA;Installation&#xA;&#xA;Download LMStudio from lmstudio.ai/download&#xA;&#xA;Make sure you get the right version for your system (x86 Windows for most PCs, but they also support Windows on ARM, Linux, and Mac)&#xA;&#xA;Run the installer and follow the prompts&#xA;&#xA;Launch LMStudio&#xA;&#xA;Your First Model&#xA;&#xA;When you first open LMStudio, it will prompt you to download a model. It suggests one based on your hardware — go with it if you want a quick start, or skip ahead and pick something else.&#xA;&#xA;On my system, it recommended Gemma 4B. That&#39;s a small model, so there&#39;s probably room for something bigger — but it&#39;s a safe choice to verify everything works. The download might take a few minutes depending on your connection.&#xA;&#xA;Once it finishes, LMStudio opens to the model screen. Click Load to load the model into memory. When it&#39;s ready, you&#39;ll see a green indicator.&#xA;&#xA;Click Chat in the sidebar to start talking to it.&#xA;&#xA;That&#39;s it. You now have a local AI assistant running on your own machine. No internet required, no token costs, no data leaving your computer.&#xA;&#xA;Exploring Beyond the Default&#xA;&#xA;The default model is just a starting point. Click the download icon in the sidebar to browse the model library. You can search for any model that&#39;s available on HuggingFace — LMStudio will find it and download it for you.&#xA;&#xA;On my system, I downloaded Qwen 3.5 9B, which is probably as large as I can run comfortably. LMStudio&#39;s model browser shows you VRAM estimates for each model, which makes it easy to see what will fit.&#xA;&#xA;A Note on Capability&#xA;&#xA;Open-source local models have come a long way, but they still generally lag behind the biggest proprietary models (GPT-4, Claude, etc.) in raw capability. That said, for everyday tasks — writing, coding help, summarizing, brainstorming — they&#39;re more than good enough. And they&#39;re improving rapidly.&#xA;&#xA;If you want to go deeper, LMStudio also has a developer mode that lets you expose your local model as an API server, which opens up integrations with VS Code, Obsidian, and other tools.]]&gt;</description>
      <content:encoded><![CDATA[<p>The simplest way to get up and running with local AI is LMStudio. It&#39;s a free, graphical app that works on Windows, Mac, and Linux, and it handles model downloading, loading, and chatting all in one place. No command line required.</p>

<h2 id="what-you-need">What You Need:</h2>

<p>Before you install anything, check your hardware. The most important spec is <strong>VRAM</strong> (video RAM) — the memory on your graphics card. This determines what size model you can run.</p>

<p><strong>Minimum:</strong> 4 GB VRAM will work for small models (3–4 billion parameters). It&#39;s enough to get started, but you&#39;ll be limited in what you can run.</p>

<p><strong>Recommended:</strong> 8 GB or more. This opens up 7–10 billion parameter models, which are where things start getting genuinely useful.</p>

<p><strong>Ideal:</strong> 12 GB+. You can run 10–13 billion parameter models comfortably and still have room for context.</p>

<p>If you don&#39;t know your VRAM:</p>
<ul><li><strong>Windows:</strong> Right-click the taskbar → Task Manager → Performance tab → GPU 0 → look for “Dedicated GPU Memory”</li>
<li><strong>Mac:</strong> Apple menu → About This Mac → Memory (all Macs with Apple Silicon share memory between CPU and GPU)</li>
<li><strong>Linux:</strong> Run <code>nvidia-smi</code> in a terminal</li></ul>

<p><strong>How VRAM maps to model size:</strong> As a rough rule, 1 GB of VRAM ≈ 1 billion parameters at 8-bit quantization. 8-bit and 16-bit are the most common formats, but you&#39;ll also see 4-bit (smaller but slightly less accurate) and even 2-bit models for very constrained hardware.</p>

<p><img src="https://i.snap.as/LDMaagBm.png" alt=""/></p>

<h3 id="my-system-specs">My System Specs</h3>

<p>Here&#39;s what I&#39;m running:</p>
<ul><li><strong>CPU:</strong> Intel Core i9-14900KF</li>
<li><strong>RAM:</strong> 32 GB</li>
<li><strong>GPU:</strong> NVIDIA GeForce RTX 4070 (12 GB VRAM)</li>
<li><strong>Storage:</strong> 2 TB NVMe SSD</li></ul>

<p>With 12 GB of VRAM, I can technically fit a 12B model at 8-bit. But you also need room for the desktop, the KV cache, and context windows — so in practice, 8–10B models are where I run best.</p>

<h3 id="installation">Installation</h3>
<ol><li><p>Download LMStudio from <strong><a href="https://lmstudio.ai/download">lmstudio.ai/download</a></strong></p></li>

<li><p>Make sure you get the right version for your system (x86 Windows for most PCs, but they also support Windows on ARM, Linux, and Mac)</p></li>

<li><p>Run the installer and follow the prompts</p></li>

<li><p>Launch LMStudio</p></li></ol>

<h3 id="your-first-model">Your First Model</h3>

<p>When you first open LMStudio, it will prompt you to download a model. It suggests one based on your hardware — go with it if you want a quick start, or skip ahead and pick something else.</p>

<p><img src="https://i.snap.as/NYhXz2PW.png" alt=""/></p>

<p><img src="https://i.snap.as/EKtdxwdn.png" alt=""/></p>

<p>On my system, it recommended <strong>Gemma 4B</strong>. That&#39;s a small model, so there&#39;s probably room for something bigger — but it&#39;s a safe choice to verify everything works. The download might take a few minutes depending on your connection.</p>

<p>Once it finishes, LMStudio opens to the model screen. Click <strong>Load</strong> to load the model into memory. When it&#39;s ready, you&#39;ll see a green indicator.</p>

<p>Click <strong>Chat</strong> in the sidebar to start talking to it.</p>

<p><img src="https://i.snap.as/hCC77Xxy.png" alt=""/></p>

<p>That&#39;s it. You now have a local AI assistant running on your own machine. No internet required, no token costs, no data leaving your computer.</p>

<h3 id="exploring-beyond-the-default">Exploring Beyond the Default</h3>

<p>The default model is just a starting point. Click the download icon in the sidebar to browse the model library. You can search for any model that&#39;s available on HuggingFace — LMStudio will find it and download it for you.</p>

<p>On my system, I downloaded Qwen 3.5 9B, which is probably as large as I can run comfortably. LMStudio&#39;s model browser shows you VRAM estimates for each model, which makes it easy to see what will fit.</p>

<p><img src="https://i.snap.as/2eVoqr8F.png" alt=""/></p>

<h3 id="a-note-on-capability">A Note on Capability</h3>

<p>Open-source local models have come a long way, but they still generally lag behind the biggest proprietary models (GPT-4, Claude, etc.) in raw capability. That said, for everyday tasks — writing, coding help, summarizing, brainstorming — they&#39;re more than good enough. And they&#39;re improving rapidly.</p>

<p>If you want to go deeper, LMStudio also has a developer mode that lets you expose your local model as an API server, which opens up integrations with VS Code, Obsidian, and other tools.</p>
]]></content:encoded>
      <guid>https://localmax.dev/lmstudio</guid>
      <pubDate>Sat, 13 Jun 2026 21:13:58 +0000</pubDate>
    </item>
    <item>
      <title>Why You Want Local AI</title>
      <link>https://localmax.dev/why-you-want-local-ai?pk_campaign=rss-feed</link>
      <description>&lt;![CDATA[Running an LLM on your own machine isn&#39;t a gimmick. Here&#39;s why it matters:&#xA;&#xA;1. Your Data Stays Yours&#xA;&#xA;When you use a cloud AI, you&#39;re sending your prompts, documents, and conversations to someone else&#39;s servers. That data gets logged, potentially used for training, and exposed to whoever controls those systems. With a local model, your data never leaves your network. No logging, no third-party access, no &#34;terms of service&#34; changes that suddenly let them mine your conversations. It&#39;s yours. Period.&#xA;&#xA;2. You&#39;re in Control&#xA;&#xA;Cloud models are subject to content filters, rate limits, and policy changes you didn&#39;t agree to. They can shut off, throttle, or refuse access overnight. When you run the model yourself, you decide what it can and can&#39;t do. You can pick models that fit your needs, fine-tune them on your own data, or run them completely offline. No queueing, no &#34;usage exceeded&#34; errors, no waiting for a company to update their policy.&#xA;&#xA;3. It Saves Money (Eventually)&#xA;&#xA;Cloud AI costs add up fast — per-token pricing means every conversation has a price tag. Open-weight models are free to download and use. Assuming you already have the hardware (a decent GPU with 8GB+ VRAM gets you far), the marginal cost of running an extra conversation is basically zero. The only ongoing expense is electricity. For heavy users, local AI can save hundreds or thousands of dollars a year.&#xA;&#xA;4. It Works Without Internet&#xA;&#xA;No Wi-Fi? No problem. Local models don&#39;t need an internet connection to run. This isn&#39;t just a convenience, it&#39;s reliability. Your AI works when the cloud doesn&#39;t, whether that&#39;s during an outage, a network issue, or just when you want to unplug.&#xA;&#xA;5. It&#39;s a Great Way to Learn AI&#xA;&#xA;Using cloud AI is like ordering takeout — convenient, but you don&#39;t understand how the kitchen works. Running a local model forces you to engage with how these systems actually function: model sizes, quantization, VRAM requirements, prompt engineering. It&#39;s hands-on education in the technology that&#39;s reshaping everything.&#xA;&#xA;Bottom Line&#xA;&#xA;Local AI won&#39;t replace cloud models for every use case. The biggest proprietary models still lead in raw capability. But for a growing number of tasks, local models are more than good enough. They&#39;re private, they&#39;re free, they&#39;re always available, and they&#39;re getting better every month. If you&#39;ve been putting it off, there&#39;s never been a better time to start.]]&gt;</description>
      <content:encoded><![CDATA[<p>Running an LLM on your own machine isn&#39;t a gimmick. Here&#39;s why it matters:</p>

<h3 id="1-your-data-stays-yours">1. Your Data Stays Yours</h3>

<p>When you use a cloud AI, you&#39;re sending your prompts, documents, and conversations to someone else&#39;s servers. That data gets logged, potentially used for training, and exposed to whoever controls those systems. With a local model, your data never leaves your network. No logging, no third-party access, no “terms of service” changes that suddenly let them mine your conversations. It&#39;s yours. Period.</p>

<h3 id="2-you-re-in-control">2. You&#39;re in Control</h3>

<p>Cloud models are subject to content filters, rate limits, and policy changes you didn&#39;t agree to. They can shut off, throttle, or refuse access overnight. When you run the model yourself, you decide what it can and can&#39;t do. You can pick models that fit your needs, fine-tune them on your own data, or run them completely offline. No queueing, no “usage exceeded” errors, no waiting for a company to update their policy.</p>

<h3 id="3-it-saves-money-eventually">3. It Saves Money (Eventually)</h3>

<p>Cloud AI costs add up fast — per-token pricing means every conversation has a price tag. Open-weight models are free to download and use. Assuming you already have the hardware (a decent GPU with 8GB+ VRAM gets you far), the marginal cost of running an extra conversation is basically zero. The only ongoing expense is electricity. For heavy users, local AI can save hundreds or thousands of dollars a year.</p>

<h3 id="4-it-works-without-internet">4. It Works Without Internet</h3>

<p>No Wi-Fi? No problem. Local models don&#39;t need an internet connection to run. This isn&#39;t just a convenience, it&#39;s reliability. Your AI works when the cloud doesn&#39;t, whether that&#39;s during an outage, a network issue, or just when you want to unplug.</p>

<h3 id="5-it-s-a-great-way-to-learn-ai">5. It&#39;s a Great Way to Learn AI</h3>

<p>Using cloud AI is like ordering takeout — convenient, but you don&#39;t understand how the kitchen works. Running a local model forces you to engage with how these systems actually function: model sizes, quantization, VRAM requirements, prompt engineering. It&#39;s hands-on education in the technology that&#39;s reshaping everything.</p>

<h3 id="bottom-line">Bottom Line</h3>

<p>Local AI won&#39;t replace cloud models for every use case. The biggest proprietary models still lead in raw capability. But for a growing number of tasks, local models are more than good enough. They&#39;re private, they&#39;re free, they&#39;re always available, and they&#39;re getting better every month. If you&#39;ve been putting it off, there&#39;s never been a better time to start.</p>
]]></content:encoded>
      <guid>https://localmax.dev/why-you-want-local-ai</guid>
      <pubDate>Fri, 12 Jun 2026 22:52:52 +0000</pubDate>
    </item>
  </channel>
</rss>