-
Lahfir runs Claude Code, Codex and opencode side by side and had been routing between them with rules in a system prompt. A Claude Code hook now asks Jev before delegating: mechanical tasks to Haiku, harder ones to Opus subagents, long implementation work out to another harness.
Lahfir
Jev solved local harness/model routing
I use a combination of Claude Code, Codex and Opencode as my local agentic stack and routing to other harnesses was always enforced in the system prompt/rules
With a deterministic hook that Claude Code can decide before delegation, Jev helps to route to the right harness/model based on the task, and it's pretty accurate based on the intensity/intelligence of the task
> Mechanical tasks get routed to Haiku
> Intelligent ones to Opus sub-agents
> Long-running implementation work to external harness
Lahfir's post on X, curated on eChai
eChai Partner Brands
The partnership →