17 Matching Annotations
  1. Last 7 days
    1. The Best Local Agentic Coding Workflow (Complete Guide)

      Comprehensive Guide: Local Agentic Coding Workflow & Model Selection

      1. Core Workflow Architecture & Mechanics

      • Hardware & VRAM Dynamics:

        • Local LLMs run on GPU VRAM (or Unified Memory on Apple Silicon).
        • Exceeding GPU memory overflows data into system RAM, dropping speeds significantly (e.g., from ~120 tokens/sec down to ~20 tokens/sec).
        • Parameter size and context window scale directly with VRAM consumption.
      • Quantization & Optimization:

        • Quantization (such as Q4 4-bit) compresses model weights to reduce VRAM requirements by 50-75% with minimal accuracy loss.
        • Mixture of Experts (MoE) architectures load active parameter layers into VRAM while offloading inactive/less critical layers to CPU/RAM.
      • Multi-Tiered Tool Infrastructure:

        • LM Studio (Inference Engine): Local runner exposing an OpenAI-compatible API endpoint (/v1) with fine-grained GPU offloading controls.
        • Continue Extension (VS Code): Handles rapid inline autocompletion using small, low-latency models (~1.5B parameters) with response times under 250ms.
        • GitHub Copilot / VS Code Insiders: Integrates local models via Custom OpenAI Endpoints for full agentic codebase modification.
        • Pi CLI / Qwen Code (Terminal Agent): Terminal-based open-source harness connecting to local endpoints for repository analysis, multi-file edits, and bug fixing.

      2. Recommended Software & Models

      • Recommended Software Stack:

        • Host / Engine: LM Studio (for GPU offloading control, quantization loading, and OpenAI API local serving).
        • Code Editor & Autocomplete: VS Code + Continue extension (autocomplete) and VS Code Insiders / GitHub Copilot (custom local agent setup).
        • Terminal Agent Harness: Pi (pi via pi.dev) or Qwen Code CLI for terminal-native, multi-file project execution.
      • Recommended Models:

        • For Autocomplete: Qwen 2.5 Coder 1.5B (Q4/Q8). Requires ~1 GB VRAM, ensuring sub-250ms completion latency.
        • For Agentic Coding & Reasoning: Qwen 3.6 35B-A3B (MoE with 3B active parameters) or Qwen 2.5 Coder 32B / 14B (Q4 quantization). Chosen for native tool use (function calling), image/vision capability, and multi-step reasoning.

      3. Local Workflow vs. Claude Code Comparison

      • Cost & Execution Limits:

        • Local Setup: 100% Free & Unlimited. No per-token costs, API rate limits, or monthly tier restrictions after initial hardware acquisition.
        • Claude Code: Subscription & API-based. Subject to usage caps, monthly plan costs, or per-token API charges for Anthropic models.
      • Privacy & Security:

        • Local Setup: Fully air-gapped and 100% private. Source code and context never leave your machine.
        • Claude Code: Cloud-dependent. Prompts, code context, and project files are sent to cloud servers for processing.
      • Speed & Performance:

        • Local Setup: Hardware dependent. Fast on small models; larger 30B+ reasoning models run slower on consumer GPUs compared to cloud infrastructure.
        • Claude Code: High speed and throughput powered by managed cloud infrastructure.
      • Ecosystem & Provider Flexibility:

        • Local Setup: Vendor Agnostic. Swap open-source models (Qwen, Llama, DeepSeek) seamlessly inside terminal harnesses or VS Code.
        • Claude Code: Locked Ecosystem. Exclusively tied to Anthropic Claude models and API platform.
      • Architectural Reasoning:

        • Local Setup: Handles small-to-medium tasks and feature additions well, but smaller local models fall slightly short on massive multi-file refactoring compared to top-tier cloud models.
        • Claude Code: High-level architectural reasoning and multi-file refactoring capabilities out-of-the-box.
  2. Jun 2026
    1. article explaining for three AI tasks, image labeling, image captioning and speech transcription, how to do them locally in browser (w a local webserver). The speech transcription used whisper as local model, I prefer Nvidia Parakeet for its multilingual capabilities. But the setup is interesting. It realistically describes on-device speeds (on M2 a 2 to 5x transcription vs real time. But you can deploy these as webworkers nicely it seems

      via [[Stephen Downes p]]

  3. Feb 2026
    1. Comparison video of Claude Code using Anthropics cloud models vs local models on a M4 128GB. Still a heavy lift, fans spinning, memory usage almost at full capacity. But it works. Means that for my M1 16GB a smaller model is all that works, and you need to leave room for context loading too. For one-offs like code generation and for interactive in moving contexts there's different needs.

    1. Ollama is automatically detected when running locally at http://127.0.0.1:11434/v1

      openclaw can detect presence of ollama if it is visible at this specific localhost address. basically if you have ollama running it will be detected. Meaning I could run openclaw fully locally.

  4. Jan 2026
    1. Your assistant. Your machine. Your rules. Unlike SaaS assistants where your data lives on someone else’s servers, OpenClaw runs where you choose—laptop, homelab, or VPS. Your infrastructure. Your keys. Your data.

      you run openclaw yourself. I think I saw [[Martijn Aslander p]] use it on a VPS yday.

    1. My excitement for local LLMs was very much rekindled. The problem is that the big cloud models got better too—including those open weight models that, while freely available, were far too large (100B+) to run on my laptop.

      Cloud models got much better stil than local models. Coding agents made a huge difference, with it Claude Code becomes very useful

  5. Dec 2024
  6. Nov 2024