Skip to main content Switch to mobile version Pre-release This release is a pre-release and may not be stable for production use.
High-performance AI coding on consumer hardware.
pip install localcode==0.5.48rc3 Copy PIP instructions
Agentic coding. Local models. On your Mac.
uv pip install localcode Upgrade with uv pip install -U localcode.
cd your-project localcode To use the running model from another local app, open /server or run localcode api for its OpenAI compatible endpoint. See the Local API guide.
Control it from your iPhone (experimental)
Turn it on in /settings → Experimental → "Remote control from your phone", then type /remote and follow the steps on screen; everything is set up from inside LocalCode. If the Mac has no Tailscale yet, LocalCode shows the download size and, when you agree, installs Tailscale's official app (it checks that Apple has notarized it and that it is signed by Tailscale Inc.), asking for your Mac password once. Sign in with the QR code, scan the next code to get Tailscale on the iPhone, then scan the pairing code and type the six digits the iPhone shows into LocalCode. The phone opens the chat that is open on the Mac and stays live on both screens. Everything you do in LocalCode works there too: prompts, permission answers, /models (switch and download), /vision, /bench, /mcps (and import), /skills, /permissions, /server, /status, /thinking, /cd, and light and dark. In Safari, Share, then Add to Home Screen keeps it one tap away.
It runs over Tailscale (free, on the Mac and the iPhone with the same account), so it works from anywhere, encrypted end to end, with no relay or LocalCode account.
Only devices signed in to your own Tailscale account can connect. Each QR code works once, for 5 minutes, and a scan only asks: nothing gets in until you type its six digits on the Mac.
A paired phone can do anything you can do in LocalCode, including running commands on the Mac. Pairing new devices is only ever approved on the Mac.
/remote lists paired devices, r signs them all out (signing out ends access; it does not undo what was done), and unused ones expire after 30 days. Nothing is reachable until you run /remote, and sharing stops when you press s, switch the setting off, or quit.
Reads and edits files in your project
Runs your tests, builds, Git and shell commands inside the project on its own, and asks before touching anything outside it
Searches code by name, content or structure
Scaffolds and launches apps, then checks that they respond
Remembers the task across messages
Mac with Apple Silicon, macOS 13 or newer
16 GB unified memory or more
Python 3.10 or newer
Disk space for LocalCode and your chosen model (download sizes below)
Choose from 11 models, each in several quant sizes, for coding and image input. Models download from Hugging Face. Downloads run in parallel and can resume if interrupted. Switch with /models. LocalCode recommends the most capable one that fits your Mac's memory and marks it with a star.
Speed: Gemma 4, Qwen 3.6, Muse Glimmer and Qwen 3.8 draft tokens with the vendor's own speculative drafter, which downloads with the model. The model server's GPU kernels ship precompiled, so the first start after an install is quicker.
What LocalCode adds on top of the stock model server to make local models faster and better at coding.
Drafting: the vendor's own drafter guesses tokens ahead (about 2x faster replies on Gemma 4, Qwen 3.6, Qwen 3.8 and Muse Glimmer)
Copy drafting: when the model rewrites a file it already read, it copies instead of generating (3.5 to 4x faster on rewrites)
Prompt cache reuse: the system prompt stays the same every turn, so the model only reads what is new
Warm-up: the first request's prompt is read while the model loads, so your first message starts sooner
Precompiled GPU kernels: no half-minute shader compile on first start
Threads matched to your Mac's performance cores
Flash attention on by default
Inkling 2: its experts run on the GPU (were silently on the CPU, about 5x slower), banded attention and a fused activation op halve its GPU memory and read prompts 20 to 30% faster
Downloads run in parallel, resume if interrupted, and keep going while you use another model
8-bit KV cache by default: half the memory of full precision, so longer context fits
Inkling 2 uses a 16-bit cache instead: its attention reads it directly, so long prompts read 1.4 to 1.8x faster and it needs 3.3 GB less memory at 128K context
Context sized from what the server reports, so long chats compact before they run out of room
The picker recommends the most capable model that fits your Mac
Hidden thinking off by default, so answers come straight away; a model that gets stuck thinking is recovered instead of failing
Plan panel: the model keeps a task list and is reminded to update it
Stuck detection: a model that makes no progress, or keeps failing the same check, is nudged to change approach and then stopped so it reports what it has
Every release is tested live on every model (load, reply, tool calls, images) before it ships
Inference is local. Three features use the network: model downloads, the web_search and web_fetch tools, and any MCP servers you add. /remote listens on your Tailscale address only while you have it on. See Network Boundary for the full list.
Powerful, personal AI should work for everyone, on any device, anywhere. That means running it locally. localcode is a first step.
To sponsor localcode, reach out.
See CONTRIBUTING.md.
Apache 2.0. See LICENSE.
Released: Dec 4, 2026
Author: LocalCode contributors
1 file in this release has provenance metadata.
View provenance details
Apache-2.0 View SPDX License List
ai cli coding-assistant gemma local-first tui
Development Status 3 - Alpha
Intended Audience Developers
Operating System MacOS
Programming Language Python :: 3
Topic Software Development
Software Development :: Code Generators
Release files for localcode 0.5.48rc3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
Release files / localcode-0.5.48rc3-py3-none-macosx_13_0_arm64.whl
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 4, 2026.
Security for localcode 0.5.48rc3
1 file in this release has been uploaded with provenance metadata.
With provenance localcode-0.5.48rc3-py3-none-macosx_13_0_arm64.whl Dec 4, 2026
Attestation for localcode-0.5.48rc3-py3-none-macosx_13_0_arm64.whl
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.
Release history Release notifications | RSS feed
Dec 4, 2026 1 release file Full provenance
0.5.48rc3 This release
Dec 3, 2026 1 release file Full provenance
Dec 1, 2026 1 release file Full provenance
Nov 30, 2026 1 release file Full provenance
Nov 29, 2026 1 release file Full provenance
Nov 28, 2026 1 release file Full provenance
Nov 22, 2026 2 release files Full provenance
Nov 4, 2026 2 release files Full provenance
Oct 26, 2026 2 release files Full provenance
Oct 25, 2026 2 release files Full provenance
Oct 24, 2026 2 release files Full provenance
Oct 23, 2026 2 release files Full provenance
Oct 22, 2026 2 release files Full provenance
Oct 17, 2026 2 release files Full provenance
Oct 14, 2026 2 release files Full provenance
Oct 13, 2026 2 release files Full provenance
Oct 12, 2026 2 release files Full provenance
Oct 11, 2026 2 release files Full provenance
Oct 10, 2026 2 release files Full provenance
Oct 9, 2026 2 release files Full provenance
Oct 8, 2026 2 release files Full provenance
Oct 7, 2026 2 release files Full provenance
Oct 4, 2026 2 release files Full provenance
Oct 3, 2026 2 release files Full provenance
Oct 2, 2026 2 release files Full provenance
Sep 27, 2026 2 release files Full provenance
Sep 26, 2026 2 release files Full provenance
Sep 23, 2026 2 release files Full provenance
Sep 22, 2026 2 release files Full provenance
Aug 24, 2026 2 release files Full provenance
Aug 19, 2026 2 release files Full provenance
Aug 18, 2026 2 release files Full provenance
Aug 17, 2026 2 release files Full provenance
Aug 16, 2026 2 release files Full provenance
Aug 15, 2026 2 release files Full provenance
Aug 9, 2026 2 release files Full provenance
Aug 1, 2026 2 release files Full provenance
Jul 23, 2026 2 release files Full provenance
Jul 20, 2026 2 release files Full provenance
Jul 19, 2026 2 release files Full provenance
Jul 18, 2026 2 release files Full provenance
Jul 12, 2026 2 release files Full provenance
Jul 11, 2026 2 release files Full provenance
Jul 10, 2026 2 release files Full provenance
Jul 6, 2026 2 release files Full provenance
Jul 5, 2026 2 release files Full provenance
Jun 28, 2026 2 release files Full provenance
Jun 27, 2026 2 release files Full provenance
Jun 25, 2026 2 release files Full provenance
Jun 23, 2026 2 release files Full provenance
Apr 13, 2026 9 release files No provenance
Apr 12, 2026 9 release files No provenance
"PyPI", "Python Package Index", and the blocks logos are registered trademarks of the Python Software Foundation.
© 2026 Python Software Foundation
Deployed from 4d99e05











