hn.today

Localcode, open source agentic coding on your Mac with one command

github.com42 points13 comments
Screenshot of Localcode, open source agentic coding on your Mac with one command

LocalCode is an open-source agentic coding tool designed to run on Apple Silicon Macs using locally hosted language models. After installation with `uv pip install localcode`, users launch it from a project directory with one command. It can inspect and edit project files, search code, run tests and other project commands, scaffold and start apps, and retain task context across messages. It asks before acting outside the project. It can also expose the running model through an OpenAI-compatible local API.

The project supports 12 models and 169 quantization options, with downloads from Hugging Face and recommendations based on available memory. Requirements include macOS 13 or newer, Python 3.10+, and at least 16 GB of unified memory; model downloads range from a few gigabytes to over 160 GB. LocalCode adds performance and reliability features such as speculative token drafting, prompt-cache reuse, reduced-memory attention caches, precompiled GPU kernels, task planning, and detection of stalled work. Inference stays on the Mac, although model downloads, web-search and web-fetch tools, and any added MCP servers use the network. The project is licensed under Apache 2.0.

Read on github.com13 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in AI

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.