
AI/MLFeatured
Bruhworking — NexusFlow
Serverless Agent Swarm for Stateful Orchestration
The problem
Long-running agentic tasks crash browsers, lose state mid-flight, and offer no mid-run visibility — so users can't trust them with real work.
My approach
A planner-coordinated swarm on Cloud Run that streams per-agent progress over SSE, with quality gates that re-run only failing branches instead of the whole pipeline.
What I built
Async multi-agent orchestration engine built with Google ADK + Gemini 2.0 Flash + Cloud Run. Submit a complex task (e.g. analyze a 50-page PDF) and a coordinated swarm of specialized agents (Planner, Researcher, Writer, Reviewer) divides, conquers, and delivers — with real-time SSE streaming and per-agent cost tracking.
How it works
Breaks complex tasks into subtasks via BruhPlanner, delegates to specialized agents, streams real-time progress via SSE, iteratively improves output if quality score < 80, and returns polished output with per-agent token cost tracking. Deployed on Cloud Run with auto-scaling.
What I'd do differently
Agent orchestration is an observability problem, not just a routing problem — stream progress early and often.
Good questions to ask
3 questions an interviewer could ask about Bruhworking — NexusFlow
Why did you treat agent orchestration as an observability problem rather than just a routing problem?
Based on:
Agent orchestration is an observability problem, not just a routing problem — stream progress early and often.
How did you design quality gates to re-run only failing branches instead of the whole pipeline?
Based on:
A planner-coordinated swarm on Cloud Run that streams per-agent progress over SSE, with quality gates that re-run only failing branches instead of the whole pipeline.
Why did long-running agentic tasks crash browsers and lose state mid-flight?
Based on:
Long-running agentic tasks crash browsers, lose state mid-flight, and offer no mid-run visibility — so users can't trust them with real work.
AI-written from this site's content
AI-generated · may be wrongHow it worksPrivacy
At a glance
- Technologies
- 7
- Language
- Python
- Updated
- Apr 2026
- Python
- FastAPI
- Google ADK
- Gemini 2.0 Flash
- Cloud Run
- Docker
- SSE
- #multi-agent
- #async
- #orchestration
- #gemini


