Dev shares full Gemini swarm build plan for a local site crawler: 8 parallel workers plus adversarial verification gates
gaganghotra_ · x · 2026-12-06
Responding to Google AI Studio's "what are you building with Gemini 4 Neon" prompt, a developer posted a detailed swarm build plan and runtime-flow diagram for a local site crawler.
Key points:
- Swarm roles: one orchestrator agent owns the board and task graph; 8 workers each own separate modules (contracts, discovery, fetch, extract, crash-engine, job-manager, api, frontend, rules) and never touch the same file.
- Phased pipeline: contract lock → parallel fan-out → integration → adversarial verification (independent verifier-engine and verifier-ui red-team agents running XSS injection, Playwright screenshots, zero-console-error checks) → real crawl/docs run, with all gates required to pass.
- Runtime design: crash-safe skill-file persistence so crashes resume without re-fetching finished URLs; sitemap discovery plus queue strategy; strict content extraction; orphan and redirect-chain analysis; a vanilla-JS no-build dashboard fed by SSE.
- Concrete numbers throughout: 25s concurrency, <15s end-to-end, 500-page crawls, 7-goal dependency checks.
More from coding & agent
- A 13-step "Executive Function" mega-prompt tries to keep MetaAI focused while coding — Designer-Material633 · 2026-12-06
- Agent orchestration is fatiguing engineers — and 'chief of staff' agents are next — minhnguyen · 2026-12-06
- Why editing a Claude message kills your prompt cache: SWA checkpointing? — YouJiacheng · 2026-12-06
- Dev lets his agent set up Deadbolt straight from the repo: 'no bad UX anymore' — altryne · 2026-12-06
- Step-by-step: making an AI film with Scenario and ChatGPT, from characters to cost — aziz4ai · 2026-12-06
- Google AI Ultra spotted in OpenCode desktop app, fueling integration rumors — altryne · 2026-12-06