


One Agent Asks, Several Agents Agree
ai-consensus-poc is a prototype built in December 2025. A Go brain service takes a prompt, uses Claude to break it into subtasks, and fans those subtasks out to a pool of child Claude agents. The children are a single Kubernetes Deployment, so adding more is a matter of scaling its replicas. Each child sends its answer back to the brain, which reviews the results and either synthesizes a final answer or sends out refined questions for another round. It keeps iterating until the children reach consensus, capped at 10 iterations.
The brain does not wait for every child. It waits for a quorum: a majority of the children it handed subtasks to that round must respond before it moves on. It then runs a 4-step analysis over the responses:
prompt
|
v
+-------------------------+
| BRAIN |<-----------------------+
| 1. plan subtasks | |
| 2. wait for quorum | |
| 3. review: 4-step | |
| consensus analysis | |
+------------+------------+ |
| subtasks |
+-------------+-------------+-------------+ |
| | | | |
v v v v |
+---------+ +---------+ +---------+ +---------+ |
| child-1 | | child-2 | | child-3 |...| child-N | |
+----+----+ +----+----+ +----+----+ +----+----+ |
| | | | |
+-------------+------+------+-------------+ |
| |
+---- results -----------------+
no consensus yet? refined questions go back out
(at most 10 iterations), otherwise final answer
One run of the sample prompt "What are three interesting facts about the moon?" against three children.
The code, manifests and setup notes are on GitHub: github.com/liskl/ai-consensus-poc.