Local & private AI for coding
Local coding assistants for chat, autocomplete, edits and code review, so proprietary code never goes to a third-party API.
Cutting a local Qwen coding agent's wait on a 16GB Mac with a memory hook
A developer running a coding agent on qwen3.5:9b through Ollama replaced its always-loaded memory index with a hook that attaches only relevant memory lines, and cut median answer time from 90.4s to 56.4s.
Why llama.cpp prompt lookup stops helping local coding agents
Testing local coding-agent edits on a Mac Studio, a developer found llama.cpp's n-gram prompt lookup drafts collapse once file edits are wrapped in JSON tool calls, while models with built-in multi-token prediction still sped up 61-63%.
Inkling 2 Mini on one RTX 5080 for local agent coding with Basalt
A LocalLLaMA user runs Inkling 2 Mini on a single 16 GB RTX 5080 with the Basalt engine and a DFlash 2 drafter, and measured about 215 tok/s live in a 125-request opencode session that passed a hidden test suite.
Patching vLLM for a 55-60% faster Qwen3.8-27B on two RTX 3090s
A Reddit user patched stock vLLM and LMCache on a two-3090 box running Qwen3.8-27B INT4 with a DFlash2 drafter, and measured much faster decoding and agent-loop first tokens without touching the model weights.
Fine-tuning a local Qwen3.8-27B on one RTX 4090 to write Blender 5.2 scripts
Shimin Zhang fit a QLoRA fine-tune of a 27B model onto a single 24 GB gaming GPU and roughly doubled how many of its Blender scripts ran without errors.
A self-hosted llama.cpp endpoint on three 16 GB GPUs with presets.ini and Docker
Theo Dufort shares the Compose file and 60-line presets.ini behind his private OpenAI-compatible endpoint: a 27B coding model at 132K context and a 26B MoE chat model.
A private OpenAI-compatible LLM API on an AMD GPU with llama.cpp
A Vietnamese developer's notes on building llama.cpp for AMD cards, choosing between Vulkan and ROCm, and running llama-server as a locked-down systemd service that existing OpenAI SDK code can call.
Faster local Qwen on an AMD eGPU with the llama-cpp-rdna-boosts patches
A developer running a Qwen3.8-27B fine-tune on an AMD R9700 eGPU swapped vanilla llama.cpp for a small set of AMD-specific patches in a Podman image and roughly doubled prefill speed.
Getting OpenCode to work with a local Ollama model by fixing the 4,096-token context
OpenCode on a local Ollama model ignored files, invented tasks or looped, because each ~23k-token request was silently cut to fit Ollama's default 4,096-token context on a 16 GB GPU.
Choosing Gemma 4 settings for function calls on an 8 GB RTX 3050
xbill ran 840 Berkeley Function Calling Leaderboard problems through Gemma 4 E2B, E4B and 12B on one 8 GB RTX 3050 with llama.cpp, in four sampling and thinking settings, to pick what to serve for tool calls.
Testing a reasoning-effort fix on a local Qwen 27B for build-fix tasks
A developer ran a pre-registered overnight test on a local Qwen3.8 27B in Ollama to see if dropping a hidden reasoning-effort paragraph from the prompt helps it patch failing builds; the run was valid but scored 4/10 against a 5/10 bar.
PatchPal TinyAgent: a coding agent on a 4B model and a 6GB laptop GPU
WiseProbe adapted its PatchPal coding agent to run Gemma 4 E4B or Qwen3.5 4B through Ollama on a 6GB RTX A1000, using handoff-note compaction and capped file reads to work inside a 16K or 32K window.
Private AI code review in VS Code with a local Ollama model
A developer reviews uncommitted changes inside VS Code with qwen2.5-coder:7b running in Ollama, so client diffs never go to a third-party review service.
L.A.T.E.: a local tool engine where code plans and a 3B model only writes
A Node.js engine plugs into Ollama, LM Studio or any OpenAI-compatible API and lets rules plan multi-step jobs and tools verify them, so a small model like qwen2.5:3b can't skip steps or fake success.
A local eve agent on a 4B model that keeps its pending approval through kill -9
@VarunChopr17597 ran Vercel's open-source eve 1.1 agent framework against Qwen3.5-4B on llama.cpp on a CPU-only Linux box, with no Vercel account, and tested whether a tool waiting for human approval survives the server being killed.
Running a 27B local coding agent on a 12 GB laptop GPU with a tiered KV cache
On an RTX 5070 Ti laptop with 12 GB of VRAM, CSUNX233 ran a Qwen3 27B coding and files agent by keeping only hot KV pages on the GPU and the rest in system RAM.
Two Qwen Code sessions on one Ollama slot waited 46 seconds; a slot each waited one
Tensward ran two Qwen Code sessions against Qwen3.8-27B on a 24 GB L4 and found that sharing one Ollama slot raised the median wait for a response to start from about one second to 46.
Tencent's DSpine drafter on a 3090: faster single-agent Qwen 27B in llama.cpp, slower when busy
Timothy Lewis rounded up llama.cpp numbers for Tencent's 2B DSpine speculative drafter in front of a local Qwen3.8-27B and explains when it helps and when it doesn't.
Coding with a local Qwen 3.8 27B on a self-hosted NVR project: what worked and what didn't
Willy (Shimitar) used Open WebUI, OpenTerminal and llama.cpp running Qwen 3.8 27B to add RTSP streaming, themes and docs to his open-source camera viewer LazyNVR, and found it failed at big autonomous changes but excelled at small, tightly reviewed steps.
Local code review bots on one RTX 3090 with Ollama, LiteLLM and Gitea
TechLuddite runs local 4-bit models as advisory code reviewers on pull requests in a home lab, and measured which of ten models found real problems.
Re-benchmarking local GGUF models for a coding agent after a llama.cpp upgrade
Jordi Marçal re-ran his fixed coding-agent benchmark on seven local GGUF models after three weeks of llama.cpp updates, and found the harness's generation caps, not the models, explained a sudden score collapse.
Serving a local model on Kubernetes on your own laptop with kind and Ollama
Alex Jones wrote a tested guide to running Ollama in a kind cluster on CPU, Intel Arc, NVIDIA and AMD, then using the served model with k8sgpt to explain cluster failures without any data leaving the machine.
Private blog-post descriptions and tags from a local Gemma model in Node.js
Flavio Copes built a dependency-free Node.js script that asks a local Ollama model to suggest a meta description and tag for his blog drafts, validates every answer, and falls back to a no-AI suggestion when the model fails.
oMLX Prefill Accelerator: a second Mac speeds long-prompt prefill up to ~3×
oMLX 0.7.4.dev1 can run early layers of a long prompt on a faster Mac (for example M5 Max) while an M3 Ultra with enough unified memory keeps the KV cache and decode, with measured prefill gains on DeepSeek V4.1 Flash and Qwen3.8 Flash-Next.
OpenCode on a CPU-only Intel i7 laptop talking to local Ollama coder models
Idada Osaigbovo James wires OpenCode on a Dell Latitude 5430 (i7-1265U, 32 GB RAM, Iris Xe) to Ollama’s local OpenAI-compatible API and runs Qwen2.5-Coder 1.5B/7B with no cloud subscription.
Local AI Starter: a one-click Mac wizard that installs llama.cpp, Qwen3, and OpenCode in one folder
Kirill Lukyanov built an MIT-licensed double-click wizard that sizes a Mac’s RAM, downloads a pinned llama.cpp build plus a Qwen model and OpenCode, proves the model answers, then opens a sandboxed coding agent and browser chat.
A copy-paste path to a local OpenAI-compatible LLM endpoint with LM Studio, Ollama, or llama.cpp
Mikalai Karytka’s Nov 2026 guide walks through installing LM Studio’s lms CLI (plus Ollama and llama.cpp equivalents), sizing RAM for a quantized model, serving an OpenAI-compatible API, and checking tool-calling before you build agents on top.
OzAI: a self-hosted ChatGPT on a 16 GB MacBook with Ollama, LiteLLM and Open WebUI, and what broke
A DevOps engineer served Qwen3 8B and Qwen2.5-Coder 3B from one M1 Pro laptop as a small private platform with per-user keys, rate limits, local web search and IDE chat, and documented seven silent failures.
rip: a local Gemma 2 2B writes epitaphs and revival ideas for your abandoned side projects
A Hacktoberfest CLI scans your folders for dormant projects and has Gemma 2 2B on Ollama write a witty obituary and a suggestion to revive each one, sending only metadata, never code.
Letting a coding agent tune llama.cpp on an 8 GB AMD GPU: 3x faster prompt reading for OpenCode
Cliff K had his coding agent benchmark llama.cpp backends and flags for a Qwen3.6 35B MoE on a Radeon RX 6600 XT, at the context depths OpenCode really uses, and turned the process into an open-source skill.
A €200 mini PC as an offline AI box: a week with Gemma and Qwen
Diogo Soares ran Gemma 4 E4B and Qwen2.5-Coder 7B on a cheap NiPoGi P1 mini PC firewalled off the internet, used it from his Mac for a week, and measured what was fast and what wasn't.
How long context slows Ollama: qwen3-coder 30B from 1K to 100K
Steef-Jan Wiggers measured qwen3-coder:30b on a Surface Laptop Ultra at seven prompt sizes and found decode slows in a straight line with context, with the 8-bit cache never faster than f16.
Legacy Code Necromancer: a local Gemma 3 audit for old repos
Waleed Shamhan built a pure-Python CLI that scrubs secrets from old code, sends it only to a local Gemma 3 in Ollama for an audit, and keeps every raw reply so a human can check each finding.
MoE vs dense on a home RTX 5090: the 3x faster model couldn't finish
kohei_wada swapped his local coding default to a fast MoE model in opencode, then watched it fail every multi-step task in two days while the slower dense Qwen finished them all.
Flash: a local AI agent that turns 'Teach me C' into graded lessons
Nathan C. rebuilt how his local agent Flash teaches: it writes a course of short lessons and exercises, but your code is compiled, run and checked on your machine without asking the model.
Quantizing the Ollama KV cache on a laptop: half the memory, slower replies
Steef-Jan Wiggers benchmarked f16, q8_0 and q4_0 KV caches for qwen3-coder:30b in Ollama on a Surface Laptop Ultra and found smaller caches saved memory and unlocked a 262K context, but decoded about a third slower.
GitSéance: local Gemma 2B explains deleted code from git history and refuses to guess
Francisco Grandón built GitSéance, a Python tool that mines a repo's deleted functions from git log and has gemma2:2b in Ollama write a grounded epitaph for each, skipping the model entirely when the commit message is too vague.
A local Qwen model took over a server-patching job when the cloud model refused
Seppe Gadeyne was patching seven servers and about 30 WordPress sites with an AI agent when the cloud model's safety filter stopped answering; he switched the same session to a Qwen model on his RTX 5090 workstation, which finished the job.
Fixing silent tool-call failures caused by Ollama's 4,096-token default context
orca forge found their app's 29 tools were silently failing because Ollama's OpenAI-compatible endpoint loaded the model at the default 4,096-token context and truncated input without an error; moving tool calls to /api/chat with num_ctx set fixed it.
OneGraph: local Gemma 4 explains PR risk from a real dependency graph
CodersAcademy006 built OneGraph, which builds a code dependency graph with tree-sitter and has Gemma 4 running locally in Ollama narrate the blast radius of a pull request as a PR-Agent comment, with all numbers computed by code.
Fine-tuning Gemma 4 E2B on an 8 GB RTX 3050 so it thinks less
xbill used one 8 GB RTX 3050 to have Gemma 4 E2B write its own training data, fine-tune itself through its served 4-bit weights and get graded on 250 held-out maths problems, the whole loop in 6 h 44 min.
Four 125B-748B open models on one RTX 5090 and 128 GB of RAM, benchmarked side by side
Seppe Gadeyne runs Qwen3.8-Flash-Next, Ornith-1.5-122B, GLM-5.3-Flash and DeepSeek-V4.1-Flash on a single RTX 5090 workstation and measured all four in one night for speed, long context, memory and quality on nine tasks from his own day job.
Running a 14.4 GB Gemma 4 26B MoE on an 8 GB RTX 3050 with llama.cpp
A step-by-step llama.cpp setup that serves Gemma 4 26B A4B from an 8 GB RTX 3050 by keeping most expert layers in system RAM, reaching 131,072 tokens of context and scores level with the 12B that fits the card.
PromptCI: regression-testing LLM prompts offline against Ollama
Soumyabrata Mukherjee built PromptCI so freelancers can catch prompt changes that silently break client workflows, running YAML-defined pipelines and output checks against open-weight models on a laptop, with no API keys or cloud bills.
A 4B local model on a 4 GB laptop GPU as a PASS/FAIL test evaluator
Qwen3 4B Instruct in Ollama (Docker, WSL2) grades a Spring Boot app's root-cause answers against expected ones, returning a JSON verdict, with every speed and memory number measured on a 4 GB Quadro T1000.
Home RAG assistant for embedded-systems docs on Proxmox
Ollama, llama.cpp, Open WebUI, BGE-M3 and SearXNG in a GPU-passthrough VM. Moving from 6 GB to 16 GB of VRAM changed which models could run.
Hybrid workflow: local for private and repetitive, cloud for hard
A Linux sysadmin stopped trying to replace cloud LLMs. Ollama now handles private docs, overnight article summaries and VS Code autocomplete.
Offline RAG over 268 Obsidian notes, queryable from a coding agent
nomic-embed-text, ChromaDB and mistral-nemo:12b give cited answers from a vault of internal docs, and an MCP server lets the coding agent search it too.
14 months local-first: what still breaks
An honest report from a three-machine home lab. Local handles about 85% of tasks, but four kinds of work still fail, and that cut cloud spend from $187 to about $25 a month.
Aider + qwen2.5-coder:14b as a local Claude Code alternative
A tic-tac-toe test on an RTX 5060 Ti 16 GB. The game worked on the first pass, but the tests and input validation needed several rounds of prompting.
Copilot-style coding assistant from a headless RTX 3090 box
qwen2.5-coder:7b on a home server, reached from a laptop over an SSH tunnel and wired into VS Code through Continue for chat, edits and autocomplete.