Skip to content

feat(local-models): first-class MLX providers + 1143x local-server ports#56

Merged
todie merged 1 commit into
mainfrom
feat/local-model-ports-mlx-provider
Jul 25, 2026
Merged

feat(local-models): first-class MLX providers + 1143x local-server ports#56
todie merged 1 commit into
mainfrom
feat/local-model-ports-mlx-provider

Conversation

@todie

@todie todie commented Jul 25, 2026

Copy link
Copy Markdown
Member

What

Wire MLX as a first-class local backend across all four harness presets, and move every local model server off the crowded dev/test ports into a contiguous 1143x block next to ollama.

Server Was Now
ollama 11434 11434
llama.cpp 8080 11435
mlx (mlx_lm.server) 11436
rapid-mlx 11437
vLLM 8000 11438

Why

  • mlx_lm.server is the fastest local backend on Apple silicon (M-series) but wasn't a named provider — gpt-oss-120b et al. were invisible to pi/opencode/hermes/omp.
  • The old ports (8080/8081/8000) collide constantly with web dev/test servers; 1143x (beside ollama) is distinctive and collision-free.

Changes

  • Add mlx provider (:11436, 6 local MLX models) + staged rapid-mlx (:11437, for the brew formula) to all 4 harness presets.
  • Add packages/local-models/serve/serve-mlx.sh (mirrors serve-llamacpp.sh).
  • Move llama.cpp 8080→11435, vLLM 8000→11438 across presets, serve scripts (--port), and READMEs.
  • Historical docs/eval/* intentionally left at the old ports (they record past runs).

Presets validated (JSON + YAML parse; provider blocks resolve). No secrets — localhost endpoints only, per repo convention.

🤖 Generated with Claude Code


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

… 1143x ports

Wire mlx_lm.server (`mlx`) and `rapid-mlx` as first-class OpenAI-compatible
providers across all four harness presets, and relocate every local model
server off the crowded dev/test ports into a contiguous 1143x block beside
ollama, so serving a local model never collides with a web dev server:

  ollama 11434 · llama.cpp 11435 · mlx 11436 · rapid-mlx 11437 · vLLM 11438

- add `mlx` provider (:11436, 6 local MLX models incl. gpt-oss-120b) and
  staged `rapid-mlx` (:11437, for the brew formula) to pi/opencode/hermes/omp
- add packages/local-models/serve/serve-mlx.sh (mirrors serve-llamacpp.sh)
- move llama.cpp 8080->11435 and vLLM 8000->11438 in presets, serve scripts
  (--port), and READMEs; historical docs/eval/* intentionally left at old ports
- MLX is the fastest local backend on Apple silicon — worth first-class wiring

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Gni5WQNg9NwTZDszfhYSnf
@todie
todie merged commit ee09da7 into main Jul 25, 2026
6 checks passed
@todie
todie deleted the feat/local-model-ports-mlx-provider branch July 25, 2026 18:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant