High-performance AI coding on consumer hardware.
pip install localcode==0.5.27 Copy PIP instructions
localcode runs an open-weight model on your Mac and uses it to read, edit and test your code. Model inference runs locally.
pip install -U localcode # or: uv pip install -U localcode The inference server ships inside the package. Nothing is compiled or cloned on your machine.
cd your-project localcode > Implement the retry decorator in retry.py so every test in test_retry.py passes. Then run: pytest -q 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.
Choose from 10 models and 100+ quant options for coding, image input and typed decisions. Models download from Hugging Face. Downloads run in parallel and can resume if interrupted. Switch with /models.
Download sizes checked on Hugging Face on 12 October 2026; optional vision and draft files are extra. — = not measured on that RAM tier. Speed and usable context also depend on the Mac's chip and selected quant; RAM alone does not determine them.
Inference is local. Three features use the network: model downloads, the web_search and web_fetch tools, and any MCP servers you add. 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.
Installation diagnostics: localcode doctor. See compatibility tests and local hardware verification.
ai cli coding-assistant gemma local-first tui
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
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 verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 13, 2026.




