I do this with Gemini and local models
Gemini is the planner and researcher, local models basically "just type syntax"
Seems to make it so none of them get stuck in a loop