poking

Can a small AI on this Mac do Claude's chores?

Our goal: Claude briefs and checks, small AI models on this Mac do the bulk work, so more tasks run without using up the Claude limit. Eight trials in, small models can do simple coding tasks inside a locked box. We have not yet shown it saves anything.

Sandbox

Under the hood

The goal. Claude briefs and checks. Pi agents, running small models on this Mac, do the bulk work. If it works, more tasks run without exhausting the Claude limit. Status: open. Today, small local models can call tools and finish simple coding tasks inside a sealed container with a checker that uses no model. No run has yet shown that this saves Claude usage or beats Haiku. The film above tells the short version.

What we tried. One row per trial. Verdict is the trial’s registry status. T-043 failed; the other seven passed (Brijesh’s verdicts, 2 Nov).

TrialWhat we triedResultVerdict
T-043Pi on a local 7B (then a 3B) lists the functions defined in 2 or more lab files0 usable answers, 0 of 490 names; cost +8 points of the 5-hour Claude limitfailed
T-044Three newer models (LFM3-1.7B, Qwen3.5-9B, Gemma-4-E4B) on a tool-call testAll 3 returned tool calls; only Gemma finished the job: 8 of 490 names, precision 0.89passed
T-045One wrapper script that runs a task, checks it with a command and logs itMock test passed 39 checks (48 after later fixes); a broken schema key is caughtpassed
T-046Gemma in Pi against Haiku on 5 small tasks with checkersPi 3 of 5 accepted on the first try, 2 escalated; Haiku 5 of 5; Pi 612 s, Haiku 93 spassed
T-047The same 5 tasks on 3 models, run in the background with no pollingGemma 3 of 5, Qwen3.5-9B 2 of 5, LFM3-1.7B 2 of 5passed
T-050Pi with bash inside a Docker container (Colima), with 4 isolation checks4 of 4 checks pass, 5 of 5 deliberate breaks caught, Gemma canary accepted in 31.7 spassed
T-051Sonnet writes a spec, Pi implements, Sonnet reviews; against Sonnet alone, on 3 coding tasksGemma 3 of 3 (task 2 after a reviewer fix), LFM3 2 of 3; Sonnet alone passed 2 of 3 under strict testspassed
T-052The same 3 tasks with our own Pi package: a guard on file changes, task templates, a 60-call capGemma 3 of 3 (task 2 after a one-line fix), LFM3 1 of 3; the guard blocked 8 writes, all LFM3; the cap was hit 3 timespassed

What worked. Newer small models make real tool calls (all 3 in T-044). A sealed box with checks holds (4 of 4, 5 of 5). Gemma finishes simple coding tasks: 3 of 3 in T-051 and in T-052, task 2 each time only after a fix.

What did not work, and why.

  • The 7B made 0 tool calls. It wrote the answer as plain text instead of the format the server expects (T-043). The newer models fixed that.
  • LFM3 loops. In T-051 it made 366 tool calls in 600 s on task 2 and wrote no file. In T-052 the 60-call cap stopped it three times.
  • We measured no token savings (T-051). Every Sonnet helper carries about 70k tokens of fixed overhead: a 2-call review was about 76k, against about 88k for doing the whole task alone.
  • LFM3 fell from 2 of 3 to 1 of 3 in T-052, but three things changed at once (template prompt, guard, cap), so the cause is unknown.
  • The 490-name listing was a script job, not a model job.

The numbers to check. Haiku spent 7 points for 5 tasks, 1.4 per accepted task (T-046). The three local models together spent +4 points for 7 accepted tasks, 0.6 each, but these are whole-percent readings, so the real figure is about 0.4 to 0.9 (T-047). That is not a claim that Pi is cheaper than Haiku: T-046 did not meet that bet and T-051 found no savings. Whole runs took 973 s on Gemma, 1,298 s on Qwen and 614 s on LFM3. On disk the models are 1.10 GB (LFM3-1.7B), 4.98 GB (Gemma-4-E4B) and 5.68 GB (Qwen3.5-9B). The mock test for the container has 77 checks.

What is next. Nothing below has started. A follow-up to T-052 that tests the guard, the template and the cap one at a time. A “harness squared” read by Haiku, about 5 points. Hook-based enforcement in the style of Shunt, proposed.

Credits. Agent: Pi 1.4.0 (@earendil-works/pi-coding-agent). Runtime: llama.cpp. Models: Gemma-4-E4B (Google), Qwen3.5-9B (Qwen team, Alibaba) and LFM3-1.7B (Liquid AI, LFM Open License v1.0, full terms not read by us). Container: Docker through Colima. Checking and briefing: Claude Haiku and Claude Sonnet (Anthropic). We did not check the licences of the other tools for this page. The film: picture engine and method adapted from Lemo-Opuscar (MIT); voice Kokoro-82M, af_heart (Apache-2.0); fonts Geist and Geist Mono (SIL Open Font License).