GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • localcode
  • Docs

This view

  • Original page
  • New address

GeezerVison is showing mjwsolo.github.io — localcode: Agentic coding. Local models. On your Mac.

Agentic coding.
Local models.
On your Mac.

An open-source coding agent that runs local models on Apple Silicon. No API key. No costs.

  • pypiv0.4.2
  • licenseApache 2.0
  • python3.10+
  • platformApple Silicon
  • memory16 GB+
install$pip install -U localcode

Pick a model. Start coding.

Pick a model. Everything else happens automatically.

localcode combines the model server and coding agent in one command. It checks what your Mac can run. It starts the server for you. Then it uses a loop designed for local weights to read and edit files and run your repo's own checks.

01

A suite of local models

Choose from Qwen, Gemma, DeepSeek, Cohere, Meta, Aleph Alpha and more. The suite runs from a 12B dense model for 16 GB Macs to DeepSeek V4 Flash (284B MoE) for 128 GB Macs, with every quant each repository ships. localcode checks your Mac's unified memory, shows every model that fits, and recommends the most capable one. Switch at any time with /models.

See what your Mac runs →
02

The server sets itself up

Pick a quant in the picker and localcode downloads it, then starts llama-server on 127.0.0.1. It sets the context and KV cache sizes for your machine and shuts the server down when you finish. You do not need to configure anything.

How it runs →
03

A system designed for local models

localcode is built specifically for local models. The runtime, its completion discipline, and the model server are tuned to get the best performance out of small models on your Mac, with no API key, account, or bill.

What we tuned for local models →

Three steps

Install localcode. Open a repo. Pick a model. Ask it to do one thing.

  1. 1 Install and open your repo

    pip install -U localcode
    cd ~/work/some-project
    localcode
  2. 2 Choose a model

    The picker opens when you send your first message. The star shows the largest model your Mac can run comfortably. Press Enter, pick a quant, and see its size before anything downloads.

    The localcode model picker showing seven models and available quants
  3. 3 Start building

    Name the file. Then name the check that proves the change worked.

    Typing a goal into the localcode prompt and pressing enter
Read more

Every model your Mac can run

Unified memory sets the limit. Pick your Mac to see the full list of models that fit. localcode recommends the most capable one and marks it with a star. You choose, and you can switch to any other model on the list.

1 model fits in 10.7 GB: the GPU memory macOS allows on a 16 GB Mac (67%), which also holds the context

ModelParametersActiveTypeQuantWeights
  • Gemma 4 12BParameters12BActive12B (dense)TypeDenseQuantQ4Weights7.37 GB

3 models fit in 16 GB: the GPU memory macOS allows on a 24 GB Mac (67%), which also holds the context

ModelParametersActiveTypeQuantWeights
  • Gemma 4 12BParameters12BActive12B (dense)TypeDenseQuantQ4Weights7.37 GB
  • Qwen 3.6 35B-A3Btop-8 + 1 shared of 256 expertsParameters35BActive3.0B (top-8 + 1 shared of 256 experts)TypeMoEQuantQ2Weights10.7 GB
  • Gemma 4 26B-A4Btop-8 of 128 expertsParameters26BActive3.8B (top-8 of 128 experts)TypeMoEQuantQ3Weights11.2 GB

5 models fit in 21.3 GB: the GPU memory macOS allows on a 32 GB Mac (67%), which also holds the context

ModelParametersActiveTypeQuantWeights
  • Gemma 4 12BParameters12BActive12B (dense)TypeDenseQuantQ4Weights7.37 GB
  • Qwen 3.6 35B-A3Btop-8 + 1 shared of 256 expertsParameters35BActive3.0B (top-8 + 1 shared of 256 experts)TypeMoEQuantQ2Weights10.7 GB
  • Gemma 4 26B-A4Btop-8 of 128 expertsParameters26BActive3.8B (top-8 of 128 experts)TypeMoEQuantQ3Weights11.2 GB
  • TInkling 2 Mini 26B-A5B26B total looped MoE, 128 experts, 8 activeParameters26BActiveabout 5B effective active (26B total looped MoE, 128 experts, 8 active)TypeMoEQuantUD-Q3_K_XLWeights13.6 GB
  • North Mini Code 30B-A3B30B total MoEParameters30BActive3B active (30B total MoE)TypeMoEQuantQ4Weights17.9 GB

6 models fit in 24 GB: the GPU memory macOS allows on a 36 GB Mac (67%), which also holds the context

ModelParametersActiveTypeQuantWeights
  • Gemma 4 12BParameters12BActive12B (dense)TypeDenseQuantQ4Weights7.37 GB
  • Qwen 3.6 35B-A3Btop-8 + 1 shared of 256 expertsParameters35BActive3.0B (top-8 + 1 shared of 256 experts)TypeMoEQuantQ2Weights10.7 GB
  • Gemma 4 26B-A4Btop-8 of 128 expertsParameters26BActive3.8B (top-8 of 128 experts)TypeMoEQuantQ3Weights11.2 GB
  • Gemma 4 Diffusion 26B-A4Badaptive diffusion MoEParameters26BActive4B (adaptive diffusion MoE)TypeDiffusion MoEQuantQ4Weights15.7 GB
  • TInkling 2 Mini 26B-A5B26B total looped MoE, 128 experts, 8 activeParameters26BActiveabout 5B effective active (26B total looped MoE, 128 experts, 8 active)TypeMoEQuantQ4Weights17.6 GB
  • North Mini Code 30B-A3B30B total MoEParameters30BActive3B active (30B total MoE)TypeMoEQuantQ4Weights17.9 GB

12 models fit in 36 GB: the GPU memory macOS allows on a 48 GB Mac (75%), which also holds the context

ModelParametersActiveTypeQuantWeights
  • Gemma 4 12BParameters12BActive12B (dense)TypeDenseQuantQ4Weights7.37 GB
  • Qwen 3.6 35B-A3Btop-8 + 1 shared of 256 expertsParameters35BActive3.0B (top-8 + 1 shared of 256 experts)TypeMoEQuantQ2Weights10.7 GB
  • Gemma 4 26B-A4Btop-8 of 128 expertsParameters26BActive3.8B (top-8 of 128 experts)TypeMoEQuantQ3Weights11.2 GB
  • Gemma 4 Diffusion 26B-A4Badaptive diffusion MoEParameters26BActive4B (adaptive diffusion MoE)TypeDiffusion MoEQuantQ4Weights15.7 GB
  • Muse Glimmer 30B+ perception encoder for visionParameters30BActive30B dense (+ perception encoder for vision)TypeDenseQuantQ4Weights15.9 GB
  • TInkling 2 Mini 26B-A5B26B total looped MoE, 128 experts, 8 activeParameters26BActiveabout 5B effective active (26B total looped MoE, 128 experts, 8 active)TypeMoEQuantQ4Weights17.6 GB
  • North Mini Code 30B-A3B30B total MoEParameters30BActive3B active (30B total MoE)TypeMoEQuantQ4Weights17.9 GB
  • Qwen 3.8 27Bhybrid attention + Mamba-2 SSM, 1 MTP layerParameters27BActive27B dense (hybrid attention + Mamba-2 SSM, 1 MTP layer)TypeDenseQuantQ4Weights17.9 GB
  • OpenJev 27BQwen 3.5 base, tuned for typed decisionsParameters27BActive27B dense (Qwen 3.5 base, tuned for typed decisions)TypeDenseQuantQ4, decision modelWeights19 GB
  • TInkling 2 Mini 26B-A5B26B total looped MoE, 128 experts, 8 activeParameters26BActiveabout 5B effective active (26B total looped MoE, 128 experts, 8 active)TypeMoEQuantQ8Weights22.9 GB
  • Gemma 4 12BParameters12BActive12B (dense)TypeDenseQuantBF16, fullWeights23.8 GB
  • Gemma 4 26B-A4Btop-8 of 128 expertsParameters26BActive3.8B (top-8 of 128 experts)TypeMoEQuantQ8Weights28 GB

15 models fit in 48 GB: the GPU memory macOS allows on a 64 GB Mac (75%), which also holds the context

ModelParametersActiveTypeQuantWeights
  • Gemma 4 12BParameters12BActive12B (dense)TypeDenseQuantQ4Weights7.37 GB
  • Qwen 3.6 35B-A3Btop-8 + 1 shared of 256 expertsParameters35BActive3.0B (top-8 + 1 shared of 256 experts)TypeMoEQuantQ2Weights10.7 GB
  • Gemma 4 26B-A4Btop-8 of 128 expertsParameters26BActive3.8B (top-8 of 128 experts)TypeMoEQuantQ3Weights11.2 GB
  • Gemma 4 Diffusion 26B-A4Badaptive diffusion MoEParameters26BActive4B (adaptive diffusion MoE)TypeDiffusion MoEQuantQ4Weights15.7 GB
  • Muse Glimmer 30B+ perception encoder for visionParameters30BActive30B dense (+ perception encoder for vision)TypeDenseQuantQ4Weights15.9 GB
  • TInkling 2 Mini 26B-A5B26B total looped MoE, 128 experts, 8 activeParameters26BActiveabout 5B effective active (26B total looped MoE, 128 experts, 8 active)TypeMoEQuantQ4Weights17.6 GB
  • North Mini Code 30B-A3B30B total MoEParameters30BActive3B active (30B total MoE)TypeMoEQuantQ4Weights17.9 GB
  • Qwen 3.8 27Bhybrid attention + Mamba-2 SSM, 1 MTP layerParameters27BActive27B dense (hybrid attention + Mamba-2 SSM, 1 MTP layer)TypeDenseQuantQ4Weights17.9 GB
  • OpenJev 27BQwen 3.5 base, tuned for typed decisionsParameters27BActive27B dense (Qwen 3.5 base, tuned for typed decisions)TypeDenseQuantQ4, decision modelWeights19 GB
  • TInkling 2 Mini 26B-A5B26B total looped MoE, 128 experts, 8 activeParameters26BActiveabout 5B effective active (26B total looped MoE, 128 experts, 8 active)TypeMoEQuantQ8Weights22.9 GB
  • Gemma 4 12BParameters12BActive12B (dense)TypeDenseQuantBF16, fullWeights23.8 GB
  • RFlint 40B-A2.5B40B total MoE, top-6 of 256 experts + 1 sharedParameters40BActive2.5B active (40B total MoE, top-6 of 256 experts + 1 shared)TypeMoEQuantQ4Weights25.1 GB
  • Gemma 4 26B-A4Btop-8 of 128 expertsParameters26BActive3.8B (top-8 of 128 experts)TypeMoEQuantQ8Weights28 GB
  • Qwen 3.8 27Bhybrid attention + Mamba-2 SSM, 1 MTP layerParameters27BActive27B dense (hybrid attention + Mamba-2 SSM, 1 MTP layer)TypeDenseQuantQ8Weights31.5 GB
  • Qwen 3.6 35B-A3Btop-8 + 1 shared of 256 expertsParameters35BActive3.0B (top-8 + 1 shared of 256 experts)TypeMoEQuantQ8Weights38.5 GB

17 models fit in 72 GB: the GPU memory macOS allows on a 96 GB Mac (75%), which also holds the context

ModelParametersActiveTypeQuantWeights
  • Gemma 4 12BParameters12BActive12B (dense)TypeDenseQuantQ4Weights7.37 GB
  • Qwen 3.6 35B-A3Btop-8 + 1 shared of 256 expertsParameters35BActive3.0B (top-8 + 1 shared of 256 experts)TypeMoEQuantQ2Weights10.7 GB
  • Gemma 4 26B-A4Btop-8 of 128 expertsParameters26BActive3.8B (top-8 of 128 experts)TypeMoEQuantQ3Weights11.2 GB
  • Gemma 4 Diffusion 26B-A4Badaptive diffusion MoEParameters26BActive4B (adaptive diffusion MoE)TypeDiffusion MoEQuantQ4Weights15.7 GB
  • Muse Glimmer 30B+ perception encoder for visionParameters30BActive30B dense (+ perception encoder for vision)TypeDenseQuantQ4Weights15.9 GB
  • TInkling 2 Mini 26B-A5B26B total looped MoE, 128 experts, 8 activeParameters26BActiveabout 5B effective active (26B total looped MoE, 128 experts, 8 active)TypeMoEQuantQ4Weights17.6 GB
  • North Mini Code 30B-A3B30B total MoEParameters30BActive3B active (30B total MoE)TypeMoEQuantQ4Weights17.9 GB
  • Qwen 3.8 27Bhybrid attention + Mamba-2 SSM, 1 MTP layerParameters27BActive27B dense (hybrid attention + Mamba-2 SSM, 1 MTP layer)TypeDenseQuantQ4Weights17.9 GB
  • OpenJev 27BQwen 3.5 base, tuned for typed decisionsParameters27BActive27B dense (Qwen 3.5 base, tuned for typed decisions)TypeDenseQuantQ4, decision modelWeights19 GB
  • TInkling 2 Mini 26B-A5B26B total looped MoE, 128 experts, 8 activeParameters26BActiveabout 5B effective active (26B total looped MoE, 128 experts, 8 active)TypeMoEQuantQ8Weights22.9 GB
  • Gemma 4 12BParameters12BActive12B (dense)TypeDenseQuantBF16, fullWeights23.8 GB
  • RFlint 40B-A2.5B40B total MoE, top-6 of 256 experts + 1 sharedParameters40BActive2.5B active (40B total MoE, top-6 of 256 experts + 1 shared)TypeMoEQuantQ4Weights25.1 GB
  • Gemma 4 26B-A4Btop-8 of 128 expertsParameters26BActive3.8B (top-8 of 128 experts)TypeMoEQuantQ8Weights28 GB
  • Qwen 3.8 27Bhybrid attention + Mamba-2 SSM, 1 MTP layerParameters27BActive27B dense (hybrid attention + Mamba-2 SSM, 1 MTP layer)TypeDenseQuantQ8Weights31.5 GB
  • Qwen 3.6 35B-A3Btop-8 + 1 shared of 256 expertsParameters35BActive3.0B (top-8 + 1 shared of 256 experts)TypeMoEQuantQ8Weights38.5 GB
  • RFlint 40B-A2.5B40B total MoE, top-6 of 256 experts + 1 sharedParameters40BActive2.5B active (40B total MoE, top-6 of 256 experts + 1 shared)TypeMoEQuantQ8Weights42.3 GB
  • AKolibri 1 78B-A3B78B total MoEParameters78BActive3.5B active (78B total MoE)TypeMoEQuantQ4Weights47.5 GB

19 models fit in 107.5 GB: the GPU memory macOS allows on a 128 GB Mac (84%), which also holds the context

ModelParametersActiveTypeQuantWeights
  • Gemma 4 12BParameters12BActive12B (dense)TypeDenseQuantQ4Weights7.37 GB
  • Qwen 3.6 35B-A3Btop-8 + 1 shared of 256 expertsParameters35BActive3.0B (top-8 + 1 shared of 256 experts)TypeMoEQuantQ2Weights10.7 GB
  • Gemma 4 26B-A4Btop-8 of 128 expertsParameters26BActive3.8B (top-8 of 128 experts)TypeMoEQuantQ3Weights11.2 GB
  • Gemma 4 Diffusion 26B-A4Badaptive diffusion MoEParameters26BActive4B (adaptive diffusion MoE)TypeDiffusion MoEQuantQ4Weights15.7 GB
  • Muse Glimmer 30B+ perception encoder for visionParameters30BActive30B dense (+ perception encoder for vision)TypeDenseQuantQ4Weights15.9 GB
  • TInkling 2 Mini 26B-A5B26B total looped MoE, 128 experts, 8 activeParameters26BActiveabout 5B effective active (26B total looped MoE, 128 experts, 8 active)TypeMoEQuantQ4Weights17.6 GB
  • North Mini Code 30B-A3B30B total MoEParameters30BActive3B active (30B total MoE)TypeMoEQuantQ4Weights17.9 GB
  • Qwen 3.8 27Bhybrid attention + Mamba-2 SSM, 1 MTP layerParameters27BActive27B dense (hybrid attention + Mamba-2 SSM, 1 MTP layer)TypeDenseQuantQ4Weights17.9 GB
  • OpenJev 27BQwen 3.5 base, tuned for typed decisionsParameters27BActive27B dense (Qwen 3.5 base, tuned for typed decisions)TypeDenseQuantQ4, decision modelWeights19 GB
  • TInkling 2 Mini 26B-A5B26B total looped MoE, 128 experts, 8 activeParameters26BActiveabout 5B effective active (26B total looped MoE, 128 experts, 8 active)TypeMoEQuantQ8Weights22.9 GB
  • Gemma 4 12BParameters12BActive12B (dense)TypeDenseQuantBF16, fullWeights23.8 GB
  • RFlint 40B-A2.5B40B total MoE, top-6 of 256 experts + 1 sharedParameters40BActive2.5B active (40B total MoE, top-6 of 256 experts + 1 shared)TypeMoEQuantQ4Weights25.1 GB
  • Gemma 4 26B-A4Btop-8 of 128 expertsParameters26BActive3.8B (top-8 of 128 experts)TypeMoEQuantQ8Weights28 GB
  • Qwen 3.8 27Bhybrid attention + Mamba-2 SSM, 1 MTP layerParameters27BActive27B dense (hybrid attention + Mamba-2 SSM, 1 MTP layer)TypeDenseQuantQ8Weights31.5 GB
  • Qwen 3.6 35B-A3Btop-8 + 1 shared of 256 expertsParameters35BActive3.0B (top-8 + 1 shared of 256 experts)TypeMoEQuantQ8Weights38.5 GB
  • RFlint 40B-A2.5B40B total MoE, top-6 of 256 experts + 1 sharedParameters40BActive2.5B active (40B total MoE, top-6 of 256 experts + 1 shared)TypeMoEQuantQ8Weights42.3 GB
  • AKolibri 1 78B-A3B78B total MoEParameters78BActive3.5B active (78B total MoE)TypeMoEQuantQ4Weights47.5 GB
  • Qwen 3.8 27Bfull-precision weightsParameters27BActive27B dense (hybrid attention + Mamba-2 SSM, 1 MTP layer)TypeDenseQuantBF16, fullWeights54.7 GB
  • DDeepSeek V4 Flash 284B-A13B284B total MoE, top-6 of 256 experts + 1 sharedParameters284BActive13B active (284B total MoE, top-6 of 256 experts + 1 shared)TypeMoEQuantQ2Weights96.8 GB

These are the models that fit each memory size. You choose: the model picker in localcode reads your Mac's actual memory and marks what fits, and /models switches at any time.

Start building

install$pip install -U localcode
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.