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

ps aux | grep agent

Local Coding Agents Act Where You Can Watch.

Agents are models wrapped in a loop: read the task, edit files, run a command, read the output, try again. Running that loop locally changes what you can safely let it touch.

Tony Tautai

agents: local ai that acts, checked before it does

Autocomplete suggests. An agent acts. It opens files, writes to them, runs your test suite, reads the failure and edits again until something passes or it gives up. That loop is the single biggest shift in back to local ai for coding since completion arrived in editors, and it raises a question completion never did: what is this thing allowed to do on my machine?

What an Agent Actually Is

agents: local ai that acts, checked before it does

Strip the marketing and an agent is three parts. A model that can produce structured calls, not just prose. A set of tools it may call: read a file, write a file, run a shell command, search the repository. And a controller that feeds tool results back into the model and decides when to stop. The model is the only part that needs a graphics card. The rest is ordinary software, and it is where most of the safety lives.

Why Local Changes the Risk

With a cloud agent, your files go up and commands come down. With a local one, the model runs beside the repository, so nothing leaves, but the model can still delete a directory if you let it. The sane setup is a sandbox: a container or a throwaway branch, tool permissions that require confirmation for anything destructive, and a log of every command. We treat an agent the way we treat a new contractor on their first day. Read access everywhere, write access to one folder, no production credentials.

The Model Has to Be Good Enough

agents: local ai that acts, checked before it does

Agents amplify model quality in both directions. A strong model fixes a failing test in two rounds. A weak one loops twenty times, each edit breaking something new, and burns an afternoon. That is why the choice described in our guide to choosing a local coding model matters more for agents than for completion, and why a model that is excellent at single-line suggestions can be a poor agent. Tool calling, long context and the discipline to stop are separate skills.

Every agent run ends in a diff, and the diff deserves the same scrutiny as any pull request. The failure modes are catalogued in our guide to local ai code quality; agents produce all of them, only faster.

Two Pages Under This One

Our own interest here is narrower than general coding. We chain small models for document work, and an agent loop is simply one more way of chaining them, with a human reading the log at the end.

agents: local ai that acts, checked before it does

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