tonytautai home/local-ai/run-local-ai/software/coding

./code --offline

A Coding Assistant That Stays Inside the Firewall.

Local ai for coding means a model on your machine or your server reads your files and proposes code, with nothing sent to a vendor. Here is what works, what does not, and where to start.

Tony Tautai

local ai for coding: assistants on your own repo

Developers were the first to run models locally in numbers, and the reason was never cost. It was the source tree. A proprietary codebase, a client's repository under NDA, a security patch that must not be seen before release: none of that belongs in a third-party prompt log. This page is the coding branch of our back to local ai software guide.

Three Jobs, Not One

local ai for coding: assistants on your own repo

Completion is the autocomplete in your editor: short, fast, called hundreds of times an hour. Chat is the longer conversation where you paste a function and ask why it leaks memory. Agents are the newest shape, where the model edits files, runs the tests and comes back with a diff. Each one wants a different model size and a different tolerance for latency. A completion model that takes two seconds is useless. A chat model that takes two seconds is fine.

Model Choice Matters More Than the Tool

Editors and plug-ins come and go. What decides whether the assistant is useful is the model behind it, and coding models differ far more than chat models do. Some are trained heavily on Python and barely know COBOL or ABAP. Some are good at completing a line and hopeless at explaining a stack trace. We keep best local ai models, explained for the general picture, and the coding-specific choice has its own page below.

Almost every coding model worth running is published with open weights, which is why the subject overlaps with our guide to open source ai models. Read the licence anyway. Some are free for a solo developer and restricted for a company above a certain size.

On a Laptop or on a Server

local ai for coding: assistants on your own repo

A single developer can run a small completion model on a decent laptop. A team of twelve should not each run their own copy; they should share one server with a larger model and a proper queue, which is the territory of our guide to self hosted ai. The runners and servers themselves are compared in best local ai software, explained.

Where to Go Next

One warning from our own experience. A local coding model is a confident junior. It will write a plausible SQL migration that drops the wrong column. The gain is real, but the review step does not go away; it moves closer to you.

local ai for coding: assistants on your own repo

ssh [email protected]

Prove it on your documents.

Every engagement starts the same way: we run the system on a sample of your own files, under NDA/DPA, and hand you a written report with the scores, misses included. No commitment.

Test it on my documents Request a diagnostic