AI Agent News/stories/localcode-runs-agentic-coding-with-local-models-on-apple-silicon-macs.md

Frameworks

Localcode runs agentic coding with local models on Apple Silicon Macs

Localcode is an open source, Apache 2.0 licensed coding agent that runs local models on Apple Silicon Macs and installs with a single uv command. It edits files and runs tests and shell commands inside your project, and it can expose the running model through an OpenAI-compatible endpoint.

Source: github.com/mjwsolo/localcode

The project is hosted on GitHub under the mjwsolo account and installs with uv pip install localcode. Running localcode from inside a project directory starts the agent, which reads and edits project files, runs tests, builds, Git and shell commands, and asks before touching anything outside the project. It can also search code by name, content or structure, scaffold and launch apps to check that they respond, and keep the task in memory across messages.

Users choose from 12 models offered in 169 quantization options, downloaded from Hugging Face in parallel and resumable if interrupted. The model picker marks the most capable option that fits the machine's memory. The README requires a Mac with Apple Silicon running macOS 13 or newer, at least 16 GB of unified memory, and Python 3.10 or newer.

The project adds speed and memory optimisations on top of the stock model server, including speculative drafting, prompt cache reuse, and an 8-bit KV cache by default. Inference runs locally, but model downloads, the web_search and web_fetch tools, and any MCP servers a user adds all use the network.

Why it matters if you build agents

Developers can try a local coding agent on their own Mac without sending inference to a hosted model, which matters for private codebases. Model downloads are large, with the biggest listed at 161.9 GB, so disk space needs planning. Agent workflows that rely on web search or MCP servers still make network calls from the machine.

Get stories like this every weekday

One short email with the day's agent tooling news.

Subscribe