audenvenn

Raceline — Development skill for Claude Code

Development community

Local agent runtime for Apple Silicon with its own Metal engine.

How to install Raceline

This entry records only its repository, not the path inside it, so there is no exact command to give. Open audenvenn/raceline and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Raceline does

Local agent runtime for Apple Silicon with its own Metal engine. Qwen3.5/3.6/3.8 up to a 35B mixture of experts streamed from the SSD on a 24 GB Mac, images included, OpenAI- and Anthropic-compatible (works with Claude Code). Exact speculative decoding: bit-identical output.

Alternatives in Development

  • SwiftUIShaders — 41 hand-curated drop-in SwiftUI Metal shader effects — holographic foil, kaleidoscope, magnetic fields, glitch 353 ★
  • Pi Gpui — A native GUI for the pi coding agent, built with Rust and GPUI 215 ★
  • Gvs5h — GVS5H: Five Qwen3.8-27B Models Match Claude Fable 5 on LiveCodeBench Hard Fable 5 Level Coding for a Fifth the 183 ★

README

raceline

[![CI](https://github.com/audenvenn/raceline/actions/workflows/ci.yml/badge.svg)](https://github.com/audenvenn/raceline/actions/workflows/ci.yml) [![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](LICENSE)

A local agent runtime for Apple Silicon with its own inference engine, built to get as much out of one Mac, for one user, as the hardware allows.

On an M6 Mac mini with 24 GB it runs **Qwen3.8-27B at 25 to 40 tokens/s, where mlx-lm manages 8 to 9** on the same machine, Qwen3.5-9B at 57 to 114 against 27 to 29, and Qwen3.5-4B at 94 to 178 against 46 to 51. **Qwen3.6-35B-A3B, a mixture of experts too large for the memory the GPU may use, runs at 61 to 118 tokens/s with its experts read from the SSD as they are needed; mlx-lm has to hold all of such a model and swaps (3.5 tok/s on Qwen3.5-35B-A3B, the same size).** Its agent finishes eight small coding tasks with the 27B in 5 minutes where the same agent on mlx-lm takes 39, and with the 9B, which fits a 16 GB Mac, in 2. The text it produces is bit-for-bit what decoding one token at a time produces, at any sampling temperature. It reads images too, with each model's own vision tower: screenshots and diagrams, in the agent and through both APIs.

![The same agent fixing the same bug with Qwen3.8-27B on mlx-lm and on raceline, replayed at three times the measured speed](docs/agent_race.gif)

$ raceline chat qwen3.8-27b --yes -p "Run test_inventory.py. If a test fails, find the cause in inventory.py, fix it, and run the tests again until they all pass."

  > list_dir(path=".")
    inventory.py  [+1 lines]
  > find_files(pattern="*inventory*.py")
    inventory.py  [+1 lines]
  > read_file(path="inventory.py")
    1	"""A tiny inventory: items with a unit price and a quantity."""  [+24 lines]
  > read_file(path="test_inventory.py")
    1	from inventory import Inventory  [+22 lines]
  > bash(command="python3 test_inventory.py")
    [exit code 1]  [+7 lines]

The tests revealed two bugs