<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Thomas</title>
    <description>The latest articles on DEV Community by Thomas (@samoth_ai).</description>
    <link>https://dev.to/samoth_ai</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4041813%2F87e9c643-1865-4751-8434-35cadeaad877.jpg</url>
      <title>DEV Community: Thomas</title>
      <link>https://dev.to/samoth_ai</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/samoth_ai"/>
    <language>en</language>
    <item>
      <title>Quick-start: build your first local AI app with your coding agent</title>
      <dc:creator>Thomas</dc:creator>
      <pubDate>Wed, 22 Jul 2026 14:20:56 +0000</pubDate>
      <link>https://dev.to/qvac/quick-start-build-your-first-local-ai-app-with-your-coding-agent-1ff5</link>
      <guid>https://dev.to/qvac/quick-start-build-your-first-local-ai-app-with-your-coding-agent-1ff5</guid>
      <description>&lt;h2&gt;
  
  
  TL;DR
&lt;/h2&gt;

&lt;p&gt;You do not need to learn an SDK by heart to build a local AI app. You need to understand what local AI is good and bad at, know what is possible, and hand your coding agent the right context so it writes the code for you. This is that orientation: the trade-offs of running AI on your own hardware, the 12 things the QVAC SDK can do, a set of app ideas, and how to point your agent so it builds correctly. Almost no code here, on purpose.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Building this way? &lt;strong&gt;QVAC.md&lt;/strong&gt; is the one file that makes your agent write QVAC code that runs the first time. &lt;a href="https://qvac.tether.io/blog/quick-start-build-your-first-local-ai-app-with-your-coding-agent/" rel="noopener noreferrer"&gt;Get it here.&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  How this guide works
&lt;/h2&gt;

&lt;p&gt;This is not a copy-paste tutorial. You will not be pasting large code blocks. So this guide gives you the three things a builder actually needs:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;The trade-offs of local AI, so you pick the right project for it.&lt;/li&gt;
&lt;li&gt;What the SDK can do, so you know what is on the menu.&lt;/li&gt;
&lt;li&gt;How to set up your agent, so the code it writes actually works.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  What "local AI" actually means
&lt;/h2&gt;

&lt;p&gt;Local AI means the model runs on your hardware (or your user's device), not behind a cloud API. That single fact creates real constraints and real advantages. Knowing both is how you choose good projects.&lt;/p&gt;

&lt;h3&gt;
  
  
  The constraints (know these going in)
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Your hardware sets the ceiling.&lt;/strong&gt; RAM and GPU decide which models you can run and how fast. A small model runs fine on a laptop CPU. Bigger and faster wants a GPU and more memory. As a rough guide, a 4B model needs a few GB; a 30B-class mixture-of-experts model needs around 20 GB or more.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A local model is not a frontier model.&lt;/strong&gt; The largest cloud models are far bigger than anything that fits on a device. On the hardest reasoning, the broadest world-knowledge, and very long context, a local model is weaker. Use it for the jobs it is good at, not for everything.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The first run downloads the model&lt;/strong&gt; (hundreds of MB to several GB), then it is cached and runs offline forever after.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  The advantages (why it is worth it)
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Private by construction.&lt;/strong&gt; After the download, nothing leaves the device. No prompt logging, no data shipped to a third party.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;No API key, no per-token bill.&lt;/strong&gt; The cost is hardware you already own. Run it as much as you like.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Works offline.&lt;/strong&gt; On a plane, in a clinic, on a factory floor, in the field, with no signal.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Can run 24/7.&lt;/strong&gt; An always-on background agent, a daemon, a scheduled job. No metered API to drain your budget, no rate limits to throttle you.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Low latency.&lt;/strong&gt; No network round-trip to a data center.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;You own it.&lt;/strong&gt; The weights are on your disk. Nothing changes under you.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  The rule of thumb
&lt;/h3&gt;

&lt;p&gt;Reach for local AI when privacy, offline use, always-on operation, high volume, or cost are what matter. Reach for a frontier cloud model when you need maximum reasoning or breadth and the data is not sensitive. Many of the best products use both: local for the private, high-frequency path, cloud for the occasional hard question.&lt;/p&gt;

&lt;h2&gt;
  
  
  What you can build: the 12 capabilities
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fb6pfs01nrk6kg24o139n.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fb6pfs01nrk6kg24o139n.jpeg" alt=" " width="800" height="303"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;QVAC is Tether's open-source local-AI SDK. One &lt;code&gt;npm install&lt;/code&gt; gives you twelve AI tasks behind one consistent API, all running on-device:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Text and chat&lt;/strong&gt; - a local LLM to assist, summarize, extract, or classify by prompt.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Vision&lt;/strong&gt; - ask questions about an image, describe a photo, read a chart.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Embeddings&lt;/strong&gt; - turn text into vectors for search and similarity.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;RAG&lt;/strong&gt; - search your own documents and answer with citations, locally.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Speech to text&lt;/strong&gt; - transcribe audio and meetings, multilingual.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Text to speech&lt;/strong&gt; - generate spoken audio in many languages, including voice cloning.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Translation&lt;/strong&gt; - the Mozilla Bergamot engine, many language pairs.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Image generation&lt;/strong&gt; - text to image, on-device.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;OCR&lt;/strong&gt; - read text out of scans and photos.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Classification&lt;/strong&gt; - sort inputs into labels.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Image upscaling&lt;/strong&gt; - enhance images on-device.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;On-device fine-tuning&lt;/strong&gt; - adapt a small model to a person or domain, trained on the device itself.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The point is the consistency: your agent learns the pattern once and can reach for any of the twelve.&lt;/p&gt;

&lt;h2&gt;
  
  
  Example apps to spark ideas
&lt;/h2&gt;

&lt;p&gt;You do not build "an AI feature", you build a product. A few that play to local AI's strengths, each one you would simply describe to your coding agent or harness:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;A private meeting transcriber and summarizer&lt;/strong&gt; (speech to text + chat). Recordings never leave the laptop. Good for lawyers, doctors, journalists.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Chat with your notes&lt;/strong&gt; (RAG + embeddings). A local "second brain" that answers from your own files, with citations, offline.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A private medical Q&amp;amp;A assistant&lt;/strong&gt; (chat). Answer clinical questions on-device with &lt;a href="https://qvac.tether.io/blog/meet-medpsy-a-private-medical-ai-small-enough-for-your-phone/" rel="noopener noreferrer"&gt;MedPsy, a medical model small enough for a phone&lt;/a&gt; - nothing sent to a server.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;An offline travel translator&lt;/strong&gt; (translation + speech to text + text to speech). Works with no signal abroad.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;An always-on document sorter&lt;/strong&gt; (OCR + classification). A daemon that files incoming scans around the clock, with no per-page API cost.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;An on-device image studio&lt;/strong&gt; (image generation + upscaling). No cloud render bills, no usage caps.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A kiosk or in-car voice assistant&lt;/strong&gt; (speech to text + chat + text to speech). Fully offline and private.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A personal-style writing model&lt;/strong&gt; (fine-tuning). Adapt a small model to your own voice, trained on your machine, never uploaded. (See how it works in &lt;a href="https://qvac.tether.io/blog/lora-fine-tuning-bitnet-b1-58-llms-on-heterogeneous-edge-gpus-via-qvac-fabric/" rel="noopener noreferrer"&gt;LoRA fine-tuning on edge GPUs via QVAC Fabric&lt;/a&gt;.)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Want to see real builds on QVAC? &lt;a href="https://qvac.tether.io/blog/how-to-easily-run-a-fully-local-private-ai-assistant-with-openclaw-and-qvac/" rel="noopener noreferrer"&gt;OpenClaw runs a fully local, private AI assistant&lt;/a&gt;, and you can even &lt;a href="https://qvac.tether.io/blog/run-opencode-locally-with-qvac-a-coding-agent-with-no-cloud/" rel="noopener noreferrer"&gt;run your own coding agent on a local model with OpenCode&lt;/a&gt;. Pick an idea, describe its first slice to your agent, and iterate.&lt;/p&gt;

&lt;h2&gt;
  
  
  How to build it with your agent
&lt;/h2&gt;

&lt;p&gt;The whole workflow is short:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Start an empty project&lt;/strong&gt; and install the SDK (&lt;code&gt;npm install @qvac/sdk&lt;/code&gt;; you need Node 22.17 or newer, which is above the usual LTS).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Give your agent QVAC.md.&lt;/strong&gt; This is the step that matters. Coding agents are unreliable on SDKs they have not seen much of: they invent functions that do not exist. QVAC.md is a single file you drop into your agent's rules (a &lt;code&gt;CLAUDE.md&lt;/code&gt;, an &lt;code&gt;AGENTS.md&lt;/code&gt;, a Cursor or Cline rules file) that gives it the real API. With it, the agent writes code that runs.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Describe one capability at a time.&lt;/strong&gt; For example: "Using the QVAC context, build a CLI that transcribes an audio file passed on the command line, fully locally."&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Run it and iterate&lt;/strong&gt; with your agent.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Cross-platform: what to keep in mind
&lt;/h2&gt;

&lt;p&gt;The same QVAC code runs on desktop (macOS, Linux, Windows via Node) and on mobile (iOS and Android, native, via Expo). A few things worth telling your agent up front:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Match the model to the target device.&lt;/strong&gt; A workstation can run a large model; a phone needs a small one. The model has to fit the device's memory, so choose per platform.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The GPU differs by platform&lt;/strong&gt; (Apple Metal, Vulkan, or a CPU fallback). The SDK picks the right backend automatically, but speed varies, so test on the real device, not just your laptop.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The first download can be large.&lt;/strong&gt; On mobile especially, show a progress state so users are not staring at a frozen screen on first launch.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Node 22.17+ on desktop.&lt;/strong&gt; Below that, setup fails in confusing ways.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Get QVAC.md
&lt;/h2&gt;

&lt;p&gt;Everything above is the human's half. The agent's half is &lt;strong&gt;QVAC.md&lt;/strong&gt;: a single drop-in file with the real API surface, the model-type rules, the gotchas that stop hallucinations, and verified snippets. Paste it into your agent and it builds local AI apps that run.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;a href="https://qvac.tether.io/blog/quick-start-build-your-first-local-ai-app-with-your-coding-agent/" rel="noopener noreferrer"&gt;Get QVAC.md for your coding agent&lt;/a&gt;&lt;/strong&gt; on the original guide. Drop your email and we send you the drop-in file. Paste it into your agent and start building.&lt;/p&gt;

&lt;h2&gt;
  
  
  FAQ
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Which coding agent does this work with?
&lt;/h3&gt;

&lt;p&gt;Any of them. Cursor, Claude Code, Cline, Aider, OpenCode, or any harness that reads project rules or takes a system prompt. QVAC.md tells you where to paste it for each.&lt;/p&gt;

&lt;h3&gt;
  
  
  Do I need a GPU?
&lt;/h3&gt;

&lt;p&gt;No. QVAC uses your GPU when one is available (Metal, NVIDIA, AMD, Intel) and falls back to CPU otherwise. Small models run fine on a laptop CPU; larger models are much faster with a GPU.&lt;/p&gt;

&lt;h3&gt;
  
  
  How does a local model compare to ChatGPT or Claude?
&lt;/h3&gt;

&lt;p&gt;A model that fits on your device is smaller, so on the hardest reasoning and the broadest knowledge it is weaker than a frontier cloud model. In exchange it is private, offline, free to run, and always on. Pick the right tool for the job, and feel free to combine both.&lt;/p&gt;

&lt;h3&gt;
  
  
  Is my data sent anywhere?
&lt;/h3&gt;

&lt;p&gt;No. After the model downloads once, inference happens entirely on-device. No API call, no prompt logging at run time.&lt;/p&gt;

&lt;h3&gt;
  
  
  Can this run on a phone?
&lt;/h3&gt;

&lt;p&gt;Yes. The same code runs natively on iOS and Android through Expo, on the device hardware. Use a smaller model to fit the phone's memory. &lt;a href="https://qvac.tether.io/blog/meet-medpsy-a-private-medical-ai-small-enough-for-your-phone/" rel="noopener noreferrer"&gt;MedPsy&lt;/a&gt; is one example of a model built to run there.&lt;/p&gt;

&lt;h3&gt;
  
  
  Is it free? What is the license?
&lt;/h3&gt;

&lt;p&gt;The SDK is Apache 2.0 and free, including commercial use. It is JavaScript and TypeScript, on Node 22.17+, Bare 1.24+, and Expo 54+.&lt;/p&gt;

&lt;h2&gt;
  
  
  Key takeaways
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;You build local AI apps by directing your coding agent, not by memorizing an SDK.&lt;/li&gt;
&lt;li&gt;Local AI trades raw frontier capability for privacy, offline use, zero per-call cost, and 24/7 operation. Choose projects that want those.&lt;/li&gt;
&lt;li&gt;One &lt;code&gt;npm install&lt;/code&gt; gives you twelve on-device AI tasks behind one API.&lt;/li&gt;
&lt;li&gt;QVAC.md is what makes your agent write correct QVAC code.&lt;/li&gt;
&lt;li&gt;The same code runs on desktop and mobile; match the model to the device.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Next steps
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Grab &lt;a href="https://qvac.tether.io/blog/quick-start-build-your-first-local-ai-app-with-your-coding-agent/" rel="noopener noreferrer"&gt;QVAC.md&lt;/a&gt; and paste it into your agent.&lt;/li&gt;
&lt;li&gt;Pick one app idea above and describe its first slice to your agent.&lt;/li&gt;
&lt;li&gt;Read the SDK docs and the model registry when you want to go deeper.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;None of this is a big commitment. You are not adopting a framework, you are giving your agent the right context and letting it build. The intelligence in the app you ship will not be rented from a server you do not control; it will run where your code runs, on hardware someone already owns. Pick one small idea, have it run entirely on-device, and you will feel the difference the first time it answers with the wifi off.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Originally published on the &lt;a href="https://qvac.tether.io/blog/quick-start-build-your-first-local-ai-app-with-your-coding-agent/" rel="noopener noreferrer"&gt;QVAC blog&lt;/a&gt;. QVAC is Tether's open-source local-AI SDK. Apache 2.0.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>llm</category>
      <category>local</category>
    </item>
  </channel>
</rss>
