Building a local Gemma planner-executor-critic agent pipeline for web research

HlddenDreck · reddit · 2026-09-03

A developer shares a fully local agentic web-research workflow built on opencode with 4 agents: Gemma-4-31B-IT-QAT (120k context) handles planning, reviewing and orchestration, while Gemma-4-12B-IT-QAT (256k context) executes. The planner runs initial web searches to vet sources, splits the plan into batches, and the orchestrator invokes the executor per batch to keep context small and avoid compaction. A critic checks sources and loops back to the planner for fixes (max 3 rounds). It can beat running everything on the 31B model (8-10 min per task), but is unstable — results aren't reproducible and tasks sometimes balloon to an hour. The author is asking for others' experience with similar pipelines.

Original post →

More from coding & agent

coding & agent channel →