← ClaudeAtlas

delegating-to-local-llmlisted

Delegates a task to a local LLM running as a Pi coding-agent session in a herdr pane - the subagent is visible in herdr, can be steered mid-session, and costs no cloud tokens. Use when delegating work to a local model, spawning a Pi subagent, offloading a task to omlx (qwen, gemma), or running agent work offline. Not for Claude Code's own Agent tool or subagents inside Pi.
isvlasov/rageatc-oss · ★ 8 · AI & Automation · score 76
Install: claude install-skill isvlasov/rageatc-oss
# Delegating to a Local LLM The subagent is an interactive Pi session pinned to a local omlx model, spawned in a herdr pane. herdr provides the whole control loop — spawn, state, read, send — and Pi's herdr integration reports working/blocked/idle automatically. The session stays visible and steerable; you own acceptance of its work. ## Preflight ```bash uname -m # arm64 required (omlx is Apple-Silicon MLX) KEY=$(jq -r .auth.api_key ~/.omlx/settings.json) curl -s --max-time 3 -H "Authorization: Bearer $KEY" http://127.0.0.1:8000/v1/models which pi && herdr agent list >/dev/null && echo ok ``` - curl fails -> `omlx start`; succeeds but lists no models -> models need downloading - `pi` or `herdr` missing, not arm64, or first run on this machine -> walk the user through `references/setup.md` ## Delegate 1. **Pick the model** from the `/v1/models` response. The user's named choice wins; otherwise ask which model they prefer for the task. Memory headroom is model- and machine-specific: if omlx's prefill guard aborts mid-task ("Prefill context too large for available memory"), the model cannot handle the accumulated context on this machine — restart the task on a lighter model. 2. **Spawn** — short kebab task name; cwd is the project the task touches. Pin the pane to your own workspace — spawning defaults to whichever workspace the user has focused at that moment, which may not be yours: ```bash WS=$(herdr pane get "$HER