Aider Local AI Coding Assistant: 12 Steps, 75 Min [2026] A guide published in October 2026 recommends pinning the open-source terminal coding assistant Aider at version 0.86.2 and pairing it with Ollama v0.40.10 to run a local AI coding agent that edits files inside a Git repository and commits every change, with no subscription, account, or code leaving the machine. The guide, citing Toolbit's review, reports the Aider default branch last took a commit on May 22, 2026, and that the last feature release was 0.86.0 in August 2025, with 0.86.2 arriving as a point release in February 2026; a community fork called cecli was reportedly at version 1.6.0 on September 19, 2026. The setup takes about 75 minutes, most of it model download time, and the guide notes GitHub deprecated a group of Copilot models on October 19, 2026, with more removals announced for November 16, a vendor calendar a pinned local model avoids. Aider is still the cleanest way to run an open-source AI coding assistant against a model on your own machine, but you should pin it. Reviews such as Toolbit’s state-of-Aider write-up https://www.toolbit.ai/blog/aider-cli-vs-github-copilot-workspace-agentic report that the upstream default branch last took a commit on May 22, 2026, and the version people still report running is 0.86.2. That stability cuts both ways. Nothing shifts under you between sessions, and nothing gets fixed unless you fix it or switch to a fork. Pair Aider 0.86.2 with Ollama v0.40.10 and you get a terminal agent that runs on your hardware, edits files inside a Git repository, and commits every change so you can read it, test it, or throw it away. No subscription, no account, and no code leaving the machine. Plan on about 75 minutes, most of it model download time. Aider is one of several free agents worth knowing. The OpenCode and Ollama setup https://shattered.io/open-source-ai-coding-assistant-opencode-ollama-2026/ covers a different terminal agent with its own permission model. Aider’s edge is narrower and sharper: it treats Git as the interface. Each AI edit becomes a commit, each commit can be undone with one command, and your test suite acts as the referee. Don't miss new tech stories on Google Add Shattered once in the Google app and our stories show up in your news suggestions. Add now https://www.google.com/preferences/source?hl=en&q=https%3A%2F%2Fshattered.io%2F What Aider Is and Where It Stands in October 2026 Aider is an open-source, terminal-based coding assistant that works inside a Git repository and shows you diffs for every change it makes. It is model-agnostic. Aider’s own homepage says it can connect to almost any LLM, including local models, and the same page says Aider now writes about 70% of the new code in each of its own releases. Those two claims explain its appeal. You pick the brain, and the tool handles repository context, edit formats, and commits. The homepage also shows how long ago some of the documentation was last touched. It still lists Claude 3.7 Sonnet, DeepSeek R1, and o1 as the models Aider works best with, which reads like a snapshot from a year or more ago. Treat the docs as a guide to flags and mechanics, and treat the model advice as stale. Project health deserves an honest paragraph. The repository is online and not archived, and GitHub automation was still running on October 24, 2026, including a pull request about OpenAI-compatible API base paths. Yet multiple reviews put the last main-branch commit at May 22, 2026, and secondary coverage says the last feature release was 0.86.0 in August 2025, with 0.86.2 arriving as a point release in February 2026. Those dates come from single secondary sources, so read them as reported rather than confirmed. A community fork called cecli, formerly Aider CE, was reportedly at version 1.6.0 on September 19, 2026, and no official page confirms that figure. No announcement of a rename, retirement, or acquisition exists, and Paul Gauthier is still named as the creator and maintainer. Aider itself costs nothing. One report lists the project as Apache-2.0 licensed, and you only pay for whatever model you attach. With a local model through Ollama, that number is zero. Ollama’s local runtime is free, MIT-licensed, and works without an account. The contrast with hosted assistants matters for this build. GitHub Copilot is a plan-controlled hosted service, and GitHub deprecated a group of Copilot models on October 19, 2026, with more removals announced for November 16. A pinned local model cannot be switched off by a vendor calendar. For teams that value reproducible results, that alone justifies the setup time. The broader shift toward open weights is tracked in the open-source AI bet coverage https://shattered.io/ai-open-source-bet-86-percent-beam-mistral-2026/ , which explains why local coding models keep improving. Prerequisites and Versions Gather these before you start. Versions matter here because Aider is pinned and Ollama ships fast. - Operating system: macOS, Linux, or Windows. The commands below use a POSIX shell. On Windows, run them in WSL2. - Python 3.12: Aider’s installer uses uv to provision Python 3.12 in an isolated environment, per Aider’s own homepage. Use 3.12 for the sample project as well so the two environments match. - uv latest : installs Aider without touching your system Python. - Aider 0.86.2: the newest version directly evidenced as of October 24, 2026. - Ollama v0.40.10: the latest stable release on the official releases page as of October 23, 2026. A v0.40.11 release candidate was reportedly cut on October 24, so skip it for a conservative setup. - Git: Git 2.56.0 is reportedly the newest source release, listed since September 28, 2026. Every command below works on Git 2.30 or newer. - pytest latest : installed inside the project virtual environment. - Disk and memory: enough free disk for the model download and enough memory to hold its weights. Check the size on the model’s Ollama page before pulling. - Time: about 75 minutes, dominated by the download. You do not need a GPU in every case. Apple Silicon Macs, Linux boxes with a recent NVIDIA card, and CPU-only machines with plenty of RAM can all run Ollama. The model you choose, not the tool, sets the hardware floor. Choose a Local Model: Flint, Nemotron or Gemma Pick the model before you install anything, because the model decides how long the downloads run and how good the first diffs look. Four options matter in late October 2026, and the table lists what the official pages state about each. | Option | Design | Context | Runs where | Account needed | |---|---|---|---|---| | Recursive Flint | 40B mixture-of-experts, about 2.5B active per token | 262K tokens | Local through Ollama | No | | NVIDIA Nemotron 3.5 Lightning | 30B parameters, 3B active | Not stated in the Ollama note | Local through Ollama | No | | Gemma 4 | Size not stated in the Ollama note | Not stated | Local through Ollama, MLX path on Apple Silicon | No | | Hosted model with your own API key | Provider’s choice | Provider’s choice | Provider’s servers | Provider account | Flint is the first pick for this build. Ollama’s release notes describe it as designed for repository-scale coding-agent work, including code understanding, bug tracing, implementation, and tests. Recursive Flint reportedly arrived through Ollama in v0.40.8, which makes it the newest clearly coding-focused model in the recent release results. The deeper background sits in the Flint model write-up https://shattered.io/recursive-flint-40b-moe-coding-model-2026/ . One caution belongs here. A mixture-of-experts model activates only a few billion parameters per token, which keeps generation fast, but all 40B parameters must still sit in memory. Active size sets speed, and total size sets the memory bill. The Ollama release notes also said macOS support came first with other GPU support to follow, and the v0.40.9 notes reportedly added Linux and Windows support. If your platform fails to load Flint, fall back to Nemotron 3.5 Lightning, which Ollama describes as built for agents that stay running, gather context, call tools, and work through multi-step tasks on your own hardware. Apple Silicon owners have a further reason to look at Gemma 4. An Ollama release note says Gemma 4 became up to 90% faster for coding agents on Apple Silicon through multi-token prediction, measured with the Aider polyglot benchmark. That note refers to an earlier Ollama release, so expect your own numbers to differ, but it shows Aider-style workloads are what Ollama tunes for. For a wider view of open-weight options and pricing, the best open-source LLM roundup https://shattered.io/best-open-source-llm-october-2026-kimi-glm-deepseek/ compares five models. Every command here uses flint as the Flint tag. Ollama’s library page for the model gives the exact tag and file size. If it differs, replace flint everywhere below with the tag that ollama list prints after you pull it. Steps 1 to 3: Install Ollama, Pull the Model, Install Aider Step 1: Install Ollama and confirm the version On Linux, the official install script sets up the service. On macOS and Windows, download the installer from the Ollama site. Ollama’s blog https://ollama.com/blog?trk=public post main-feed-card-text carries the release notes for every version listed above, which helps when a flag behaves differently than described. curl -fsSL https://ollama.com/install.sh | sh ollama --version curl -s http://127.0.0.1:11434/api/version Expected output: ollama version is 0.40.10 {"version":"0.40.10"} If the second number is lower than 0.40.8, upgrade before continuing. Flint arrived in v0.40.8, and older builds will not find it. Port 11434 is Ollama’s default API port. Aider talks to it directly, so the server must be reachable on that address. Mac users on Apple Silicon get MLX-backed paths inside Ollama, and the story of Apple’s open-source MLX framework is covered in the Muse Spark on Mac Studio report https://shattered.io/apple-meta-muse-spark-open-mac-studio-2026/ . Step 2: Pull the model and raise its context window Set a shell variable so every later command uses the same tag, then pull the model. Expect a long wait. export CODER MODEL=flint ollama pull "$CODER MODEL" ollama list The list output shows a table with name, ID, size, and modified time. Run a smoke test next, so you know the model answers before Aider enters the picture: ollama run "$CODER MODEL" "Write a Python function that returns the n-th Fibonacci number. Code only." You should see a short function within a minute on a healthy setup. If the first reply takes far longer, the model is loading into memory, and the second reply will be faster. Context needs one deliberate decision. Ollama applies a modest default context window unless you override it, and Aider’s repo map plus a few files can overflow it silently. The model then loses the start of the conversation, and its diffs get worse without any error. Step 6 fixes this per model inside Aider. If you prefer a server-wide setting, Ollama also reads the OLLAMA CONTEXT LENGTH environment variable. Step 3: Install Aider 0.86.2 with uv Install uv first if you lack it, then install Aider into its own tool environment, pinned to the version this build was written against. curl -LsSf https://astral.sh/uv/install.sh | sh uv tool install --python python3.12 email protected aider --version Expected output: aider 0.86.2 Pinning matters more than usual here. With a project that has not shipped on the main branch since May, an unpinned install gives you nothing newer, while a pinned install guarantees that a future rebuild of your toolchain produces the same agent. Aider’s documentation https://aider.chat/docs/ lists every flag used below, and the CLI’s built-in help matches version 0.86.2. Never install Aider with the system pip on a machine that runs other Python projects. Dependency conflicts there are the most common reason a working Aider breaks overnight. Steps 4 and 5: Build the Sample Repo and See Red Tests Aider shines when the repository already has tests, so the next two steps build a small project called logtally. It parses web server access logs in the Common Log Format and prints a summary. The seed code contains a deliberate bug. Lines with a dash instead of a byte count, which servers write for responses such as 304 Not Modified, fail to parse. Step 4: Create the repository and the seed code mkdir logtally && cd logtally git init -b main python3.12 -m venv .venv .venv/bin/pip install pytest mkdir -p logtally tests/fixtures printf '.venv/\n pycache /\n.pytest cache/\n.aider.chat.history.md\n.aider.input.history\n.aider.tags.cache.v \n' .gitignore Create the package files. The parser holds the bug on the size pattern, which only accepts digits. python logtally/parser.py import re from dataclasses import dataclass from datetime import datetime LINE RE = re.compile r'^ ?P