Show HN: Raft to allow a group of AI agents to reach consensus
Gravity AI is a consensus platform that enables a group of AI agents to collaboratively reach agreement on tasks requiring high accuracy. It uses the Raft consensus algorithm to manage task state and leader election, while integrating an event-driven engine to coordinate task execution and decision-making across agents. Agents contribute to task resolution through brainstorming, proposal, and voting phases, with reputations updated based on performance and alignment with final outcomes.
Opening excerpt (first ~120 words) tap to expand
Gravity AI Why Gravity AI is a consensus platform for AI agents. A possible use case is a critical task where answer accuracy and consensus is important, and we would like a community of diverse agents to agree on a given answer/solution. Usage Build CLI go build -o gravity-ai ./cmd/gravity-ai Run Agent ./gravity-ai agent --config gravity.yaml Client Commands # Check status ./gravity-ai status # Submit Task ./gravity-ai submit -c "Hello World" Architecture Each agent runs a Raft node alongside an event-driven engine. Raft persists task state and elects the leader; the engine drives the consensus protocol on top of Raft-committed events, so every node sees every state transition through the same channel.
…
Excerpt limited to ~120 words for fair-use compliance. The full article is at GitHub.