Coding agents can run on local models

Qwen 3.8 27B has enough horsepower to successfully run a coding agent loop with long context, code generation and reliable tool-calling.


Simon Willison ran a test to answer what he calls one of the biggest open questions in running AI on your own hardware: can a local model — one that runs on a machine you own, rather than in a company's data centre — actually drive a coding agent?

"One of the biggest questions around local models is whether or not they have enough horsepower to successfully run a coding agent loop. Coding agents require long context, strong code generation support and reliable tool-calling. On paper Qwen 3.8 27B has all three of these, so is it up to the task?"

His answer, based on trying it: yes, apparently. A "coding agent" here means an AI that doesn't just answer questions in text but takes actions — reading files, running tools, writing and testing code — in a loop until a task is done. That loop demands three things at once: the ability to hold a long conversation in memory (long context), to write working code, and to reliably invoke external tools in the right format. Local models have historically stumbled on at least one of those.

In Willison's experiment, the Qwen 3.8 27B model — the "27B" refers to its size, roughly 27 billion internal parameters, small enough to run on a well-equipped personal machine — worked through a real task on his own files:

"After a sequence of reasoning and tool calls that accessed a bunch of different files it produced this reply , which is very solid."
"And it built and tested this pijsonlto_md.py , which did exactly what I needed."

So the model autonomously wrote a small program — one that converts a data format called JSONL into Markdown — and tested it to confirm it worked.

Who this is for. Honestly, mostly developers and technically comfortable hobbyists. Setting up a local model, pointing an agent at your files, and judging whether the script it produced actually works are not yet mainstream activities. If you do not write or run code, there is no direct use for you here today — the capability being tested is specifically about generating and executing programs.

That said, there is a reason a non-developer might care about the trajectory. Today's capable AI assistants mostly live in the cloud: your files and questions travel to someone else's servers. A local model that can run the same kind of agent loop hints at assistants that could someday work on your documents, photos, or projects without anything leaving your machine — private by architecture rather than by privacy policy.

Is it usable now? In preview form, yes — Willison's result is a real working demonstration, not a proposal. But caveats apply. This is one person's successful test, not a benchmark, so how reliably Qwen 3.8 27B performs across harder or more varied tasks is an open question. Running a 27B-parameter model also requires hardware most laptops don't have, and "local" still means you are the system administrator: no support line, no automatic updates, and if the agent writes a bad script, the debugging is on you.

The significance is less that you should do this now than that the floor for what a self-owned model can do has visibly moved — from chatting to actually getting work done.

developerproductshome