LocalCode bundles a terminal coding agent based on OpenCode with a local model server based on llama.cpp. The model picker uses your Mac’s memory to recommend a fit. Once you choose and download a model, the agent can edit project files and run tests without sending prompts to a hosted model.
- Setup and cost: Install with
uv pip install localcode, then runlocalcodefrom your project directory. The Apache 2.0 tool needs Apple Silicon, macOS 13 or newer, Python 3.10 or newer, and at least 16 GB of unified memory. Local inference needs no provider account, subscription, or API key. Budget disk space for the weights. - Reuse the model: The local API lets another app on the same Mac use the running model. It speaks the OpenAI API format and uses a key generated on the Mac for that session.
- What’s new: Version 0.5.43 adds Inkling 2 Mini as an opt-in model. The release notes list a 17.6 GB download for Macs with at least 32 GB of memory. The 16 GB system minimum does not mean every model will fit.
Hacker News discussion
In the HN thread, readers asked what the bundle adds over a local server and an agent they already use. The maintainer pointed to model-specific settings and less setup, and said there was no direct benchmark against oMLX, another Mac model server. The case for switching is convenience, not proven speed over your current setup.
A question about isolation drew an important clarification: the approval prompts help prevent mistakes, but shell commands still run with your user’s permissions. The permissions docs confirm that the agent runs commands inside the project without asking by default. Local inference doesn’t make this a sandbox.
evanjrowley spotted a mismatch in the memory guidance. The homepage table first lists the 17.6 GB Inkling build at 48 GB, while the release notes list that same build for 32 GB Macs and up. Check the memory fit shown in the app before downloading. The maintainer also clarified that image input needs a separate download. The vision docs show how to enable it for each supported model with /vision.