Problem page

How to run an AI coding agent on your own machine

If you want an AI coding agent on your own computer, with your own model and no account, you need one that keeps the code and the decisions with you. Many agents live in someone else's cloud and edit your files the moment they decide to. That is fine for a toy project. It is a problem for a codebase you are responsible for, where a wrong change or a leaked key costs real time.

2 min readWritten from albertcode.devWelcome page from Tablif · 24 Oct 2026
The short answer

AlbertCode SWE Agent runs as a small service on your own machine, with a terminal, a browser workspace and a VS Code panel on top. You connect the model you want, a hosted provider with your key or a local model server, and then nothing leaves your machine.

On this page
  1. Why the usual way fails
  2. How AlbertCode SWE helps
  3. Step by step
  4. Tips
  5. Questions

Why the usual way fails

Hosted agents usually need an account, send your code to their servers and keep logs you cannot see. Agents that do run locally often write straight into your working tree, so you find out what they changed after the fact and clean up by hand. Running the tests is left to you, which means an edit can look right and still break the build. And plugging in a local model is often an afterthought, so you end up tied to one provider anyway.

How AlbertCode SWE helps

AlbertCode SWE Agent runs as a small service on your own machine, with a terminal, a browser workspace and a VS Code panel on top. You connect the model you want, a hosted provider with your key or a local model server, and then nothing leaves your machine. Each change is planned first, built in an isolated copy of your repository and checked with your project's own tests. You approve the plan and then the diff, and only then does anything reach your files.

“AlbertCode runs as a small service on your own computer, with the terminal, the browser workspace and the VS Code panel on top.”
From albertcode.dev
“A hosted provider with your key, or a local model server — then nothing leaves your machine. No telemetry, no account.”
From albertcode.dev

Step by step

  1. Install AlbertCode on macOS, Windows or Linux. There is no account to create.
  2. Connect a model: a hosted provider with your own key, or a local server such as Ollama or LM Studio.
  3. Describe the change in plain words and read the plan it proposes: files, steps, tests and risk.
  4. Approve the plan, then let it build the change in an isolated copy and run your own tests.
  5. Read the diff and the test results, then accept it, ask for changes or discard it.

Tips

  • Use a local model for code you cannot send out at all. With Ollama, LM Studio or a similar server, the whole loop stays on your computer.
  • Keep the default Governed mode for changes you care about. It gives you two gates, the plan and the diff, and you can switch to Direct or Ask mode for small edits or plain questions.
  • Make sure your test suite actually runs before you start. The agent judges a change by your own checks, so a project with no working tests gives it nothing to prove against, and a green result means much less.
  • Treat accepted changes like any other commit. They land as ordinary edits, so review them with git diff and undo them with Git if needed.

Questions

Do I need an account?

No. AlbertCode runs on your machine with no account and no telemetry.

Source: albertcode.dev
What happens to a change I reject?

It is deleted along with its isolated copy, so your working tree never sees it.

Source: albertcode.dev
Where are my API keys stored?

In your system's keychain or keyring. They are never passed to the commands a task runs.

Source: albertcode.dev

Plan and execute code changes in an isolated workspace with automated test verification for software developers.