Code & Scripts

Multi-LLM Orchestration Router for Mac Studio

Inspired by Sakana AI's Fugu (which matches Fable 5 benchmarks by dynamically routing tasks to the best model in a pool), build a local orchestration layer for the Mac Studio that routes agent tasks across Ollama models, Claude API, and local alternatives.

$ tar -tzf multi-llm-orchestration-router-for-local-mac-studio-setup.tar.gz
  • router/router.py — Core routing engine: classify → privacy gate → memory gate → dispatch
  • router/classifier.py — 8-rule heuristic classifier maps prompts to tiers in <1ms
  • router/memory_monitor.py — macOS memory pressure probe with 30-second cache
  • router/config.py — Pydantic config loader with actionable validation error messages
  • router/providers/ — Adapters for Ollama, LM Studio (OpenAI-compat), and Anthropic SDK
  • config.yaml — User-editable tier assignments, model names, and provider URLs
  • tests/test_router.py — 12-test verification suite (classifier, privacy gate, memory gate, lazy API key init)
  • guide/SETUP.md — First-run walkthrough: install, configure, first prompt
  • guide/HOW-IT-WORKS.md — Design rationale, routing pipeline diagram, extension guide
  • guide/ROUTING-REFERENCE.md — Quick-reference: tier table, classifier rules, full CLI and Python API
$29

one-time purchase

Instant download after purchase
📧Download link sent to your email
🔄7-day download access
14-day money-back guarantee
View refund policy

## goes-well-with

From the same shelf

## not-ready-to-buy

Take the field notes instead

One practical write-up a week from the same workbench these kits come from — plus reader pricing when new kits ship.