惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

N
Netflix TechBlog - Medium
IT之家
IT之家
博客园_首页
Hugging Face - Blog
Hugging Face - Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
美团技术团队
小众软件
小众软件
博客园 - 叶小钗
WordPress大学
WordPress大学
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - 三生石上(FineUI控件)
罗磊的独立博客
博客园 - Franky
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Last Week in AI
Last Week in AI
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
有赞技术团队
有赞技术团队
T
Tailwind CSS Blog
宝玉的分享
宝玉的分享
博客园 - 【当耐特】
月光博客
月光博客
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
酷 壳 – CoolShell
酷 壳 – CoolShell
人人都是产品经理
人人都是产品经理

Hacker News: Show HN

PurrrrrFocus: Pomodoro Timer App - App Store Workflow Engine — Multi-Step Orchestration for Bun RapidPhoto: Pro Photo Editor App - App Store GitHub - DheerG/swarms: Achieve extraordinary results with claude code across a variety of tasks SPICE simulation → oscilloscope → verification with Claude Code — Lucas Gerads Show HN: VCoding – A 5 MB native Windows IDE with no dynamic dependencies Show HN: LLMs don't hallucinate because they're bad at math, it's the format GitHub - Agent-FM/agentfm-core: AgentFM is a peer-to-peer network that turns everyday computers into a decentralized AI supercomputer. AgentFM lets you run massive AI workloads directly across a global mesh of idle CPUs and GPUs. Show HN: Tracking Top US Science Olympiad Alumni over Last 25 Years GitHub - Potarix/agent-hub: One place to talk to all your agents Show HN: Runtime security for AI agents(injection,tool abuse, data exfiltration) GitHub - dubeyKartikay/lazyspotify: Terminal Spotify client for macOS and Linux GitHub - the-banana-tool/king-louie: Easy to use GUI Personal AI Assistant. Win/Linux/Mac. Show HN I made my vacation rental bookable by AI agents–no Airbnb, 0% commission GitHub - basteez/jsf-autoreload: maven plugin to enable hot reload on jsf projects uvm32/hosts/host-gdbstub at main · ringtailsoftware/uvm32 GitHub - labsai/EDDI: Config-driven engine that turns JSON into production-grade AI agents. Multi-agent orchestration, 12+ LLM providers, MCP/A2A protocols, RAG, persistent memory, and enterprise compliance (EU AI Act, GDPR, HIPAA). Built on Quarkus. GitHub - glitchnsec/fortyone-oss: AI Executive Assistant Platform Quickstart | Alien GitHub - muxshed/shed: One stream in, or many. Every destination, simultaneously. No cloud middleman, no per-channel fees, no limits. GitHub - ocrbase-hq/ocrbase: 📄 PDF/IMG ->.MD/JSON Document OCR API for PaddleOCR and GLMOCR. Self-hostable. GitHub - impactjo/home-memory: MCP server that lets your AI assistant remember everything about your home. GitHub - Sets88/dbcls: DbCls is a powerful terminal database client that supports various databases GitHub - neptun2000/heor-agent-mcp GitHub - SeanFDZ/macmind: Single-layer transformer in HyperTalk for the classic Macintosh RollQuation: Math Puzzles - Apps on Google Play GitHub - dropbox/witchcraft Show HN: Agent-cache – Multi-tier LLM/tool/session caching for Valkey and Redis GitHub - opentalon/opentalon: OpenTalon is an open-source platform built from the ground up in Go as a robust alternative to OpenClaw LinkedIn™ 职位抓取工具 - Chrome 应用商店
GitHub - dhiaayachi/gravity-ai: A multiagent consensus AI...
neo2006 · 2026-05-01 · via Hacker News: Show HN

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.

Operation

Bootstrap

When an agents cluster is bootstrapped, agents will:

  1. Bootstrap raft
  2. Elect a raft leader
  3. Initialize each agent's reputation to 100
  4. Publish each agent's LLM provider/model metadata to the cluster via raft

Leader election

Two reputation-aware mechanisms run in parallel:

  1. Vote filtering. During normal Raft elections, an agent rejects a RequestVote from any candidate whose reputation is lower than its own (internal/raft/transport.go). Standard Raft criteria apply on top of that.
  2. Post-task transfer. After every task finalization, the current leader inspects peer reputations and voluntarily transfers leadership to any peer with strictly higher reputation (Engine.checkForLeadershipTransfer).

Task execution

When a task is admitted, it is forwarded to the leader. The leader is the task facilitator and runs the following phases:

Brainstorm

The task is sent to each node to answer it; answers are forwarded back to the leader.

Proposal

The leader aggregates the answers into a single proposal via llm.Aggregate.

Vote

The proposal is sent to all nodes. Each agent validates and votes Accepted or Rejected, attaching reasoning and (for rejections) a rebuttal.

If a quorum of agents accept, the task is marked done and the answer is streamed back to the user.

If the proposal is rejected, the leader feeds the rejecters' reasoning back into llm.Revise, produces a new proposal, and runs another vote round. This repeats up to MaxRounds; if no round reaches consensus, the engine falls back to the round with the most accepts above the quorum, or marks the task as failed.

Reputation updates

After each task finalization, reputations are clamped to [0, 100] and updated as follows:

  • Leader: ±10 on task success / failure
  • Each voter: ±1 depending on whether their vote agreed with the final outcome