-
Notifications
You must be signed in to change notification settings - Fork 140
Description
Proposal: GNAP as a coordination protocol for MassGen's mass-scale agent collaboration
MassGen is doing something compelling: multi-agent collaborative problem solving that scales by adding more agents. The system generates diverse solutions in parallel and consolidates consensus. GNAP provides a durable external coordination layer for this pattern.
GNAP (Git-Native Agent Protocol) uses a git repo as the task board: board/todo/ → board/doing/ → board/done/. For MassGen's parallel generation + consolidation pattern, GNAP prevents duplicate work and persists partial solutions.
Applied to MassGen's collaborative problem solving:
board/todo/solve-coding-challenge-A.md ← Orchestrator creates N copies for N agents
board/todo/solve-coding-challenge-B.md
board/todo/solve-coding-challenge-C.md
board/doing/solve-coding-challenge-A.md ← Agent 1 claims (generates solution A)
board/doing/solve-coding-challenge-B.md ← Agent 2 claims (generates solution B)
board/done/solve-coding-challenge-A.md ← Solution A committed
board/done/solve-coding-challenge-B.md ← Solution B committed
board/todo/consolidate-solutions.md ← Consolidator picks up all done files
GNAP is particularly useful for MassGen's continuously improving agents — the git history captures all attempted solutions and their results, which can feed back into the improvement loop. Each solution in board/done/ is a training signal.
The crash-safety property is also valuable: if one agent crashes mid-generation, the solution isn't lost — another agent can reclaim the board/todo/ task.