Run a local model with your coding agent
Install a runner, download a model, test it on its own, then use it for coding on your own computer without a cloud model account.
Reviewed against Amble's public guides. Check current device support and plan limits before you rely on them.
The short answer
Yes. Run Ollama or LM Studio on the computer that runs Amble, download a model, and add it in Amble. The model then appears in OpenCode conversations. Local inference needs no cloud account, but cloud models and other connected services can still send data elsewhere.
Three pieces
| Piece | What it is | Where it runs |
|---|---|---|
| Runner | Ollama, LM Studio or llama.cpp, which runs models on a computer | The computer that runs Amble |
| Model | The AI file you download through the runner | The runner on that computer |
| Coding agent | The assistant in Amble that reads and edits your project | The same host, using the model you selected |
Set this up on the computer that runs Amble. A phone or tablet uses that computer's model through Amble; it never downloads a model itself.
Set it up
Choose a runner
Ollama has the fewest steps and Amble can detect it. LM Studio is the most visual; llama.cpp gives the most control and the most setup. Install the runner from its official site.Download a model and test it alone
Installing the runner and downloading a model are separate steps. For Ollama, pull and run a small model in a terminal before involving Amble; a model that does not reply on its own cannot be used.Add it in Amble
Open Settings > AI & agents > Connections and choose Local models. Let Amble scan the computer, choose Add beside the model, then Use Model when it shows Ready to use.Accept OpenCode
If Amble asks to set up OpenCode, accept: it is the coding agent that uses local models. For llama.cpp or a custom port, connect to the local server address instead.
Provider connections and readiness are covered in provider setup; the Works with matrix lists the OpenCode and local-model path.
Check it on a project
Start a conversation
Open a test project, start a new agent, and confirm the local model is selected in the composer.Ask a read-only question first
Ask the model to read the project README and summarize it without editing files. The answer should mention what is really in the file.Then make small edits
Ask for one bounded change and review the diff before the next request. A model that chats well may still struggle to edit files.
Choose a model your computer can run
- Start with the memory you have. Choose a model that fits your available memory, then try a small task. Model size alone does not tell you how well it will code.
- Look for tool support. Coding agents need models that support tool use; a chat-only model may not edit files.
- Context matters. Leave enough context for the conversation and project. Ollama recommends at least 64,000 tokens for agent work; check the allocation while the model is loaded.
- Check the license. Review it before using a model for commercial work.
Your computer still needs resources for Amble, the project and the model's conversation context. If replies are very slow or the model runs out of memory, try a smaller model and keep tasks small. The maintained local-model guide has the runner steps and screenshots.
Privacy: what local does and does not mean
For the localhost setup in this guide, inference runs on the computer serving the model. Cloud models, web tools and other connected services you choose may still send data elsewhere. Local inference is not automatic zero data transfer.
Review what the agent and its tools send before using sensitive work, and read the security boundaries. Keep the model server on this computer and connect other devices through Amble, not directly to the server.
Model files belong to the runner. Uninstalling or updating Amble does not delete them.
What this is not
Not a benchmark
- Model size alone does not predict coding quality.
- Test the model on your own project and task.
Not every model edits files
- Tool support and context decide whether the agent can change a project.
- A chat-only model may not be usable for coding.
Not zero data transfer
- Localhost inference runs on your computer.
- Cloud models and connected services keep their own data paths.
Not a hosted model
- You install the runner and download the model.
- The model file belongs to the runner, not to Amble.
Local-model questions
Can I use Ollama or LM Studio instead of a cloud model?
Yes. Install the runner on the computer that runs Amble, download a model, add it under Connections > Local models, then select it in an OpenCode conversation. Local inference needs no cloud account.
Does a local model keep all my data on my computer?
For the localhost setup, inference runs on the computer serving the model. Cloud models, web tools and other connected services you choose may still send data elsewhere. Local inference is not automatic zero data transfer.
How do I choose a model my computer can run?
Start with a model that fits your available memory, then try a small task. Check that it supports tool use, leave memory for Amble and the project, and check its license before commercial work.
Why can it chat but not edit files?
The model may not support tool use, or its context may be too small for agent work. Choose a model built for coding or tools, and check the context allocation while it is loaded.
Do I connect my phone directly to the model server?
No. Keep the server on the computer and connect the phone through Amble. Do not expose the model server to another device or the public internet.
Sources for Amble claims
- Public guide: run a model on your own computer
- Public guide: provider setup
- Works with: OpenCode and local models
- Public guide: security boundaries
- Amble documentation
Competitor descriptions link to each vendor's public documentation. This page is published by Amble and is not a hands-on benchmark.