Developer Builds 3-Way LLM Orchestration System Using Claude, Codex, and Local AI
A developer has built a working orchestration system that coordinates three AI coding agents — Claude Code, Codex CLI, and a local LLM — to maintain uninterrupted coding sessions when individual token limits are hit. The setup uses Git worktrees to give each agent its own isolated branch and working directory, preventing conflicts when multiple agents edit the same repository simultaneously. Rather than raw Ollama, the developer placed OpenCode in front of the local model to enable agentic capabilities like repo reading, planning, and multi-file editing. The project ultimately adopted Claude Squad, an actively maintained terminal UI tool with tmux and worktree support, configured with three agent profiles for easy switching. While the Claude Code path was validated end-to-end, the local-model route using a 49GB Qwen3-Coder model remains untested due to lengthy cold-start times on first load.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in