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

推荐订阅源

A
About on SuperTechFans
博客园 - 聂微东
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
博客园 - 司徒正美
宝玉的分享
宝玉的分享
美团技术团队
量子位
The Cloudflare Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
IT之家
IT之家
爱范儿
爱范儿
J
Java Code Geeks
博客园 - Franky
Last Week in AI
Last Week in AI
B
Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
I
InfoQ
GbyAI
GbyAI
Recent Announcements
Recent Announcements
小众软件
小众软件
H
Help Net Security
Microsoft Azure Blog
Microsoft Azure Blog
MyScale Blog
MyScale Blog

Hacker News - Newest: "AI"

AI can't read an investor deck AI as an attorney? Student uses ChatGPT, Gemini to sue UW over alleged racial discrimination Hacking MCP Servers in AI Systems – The Rug Pull: Tool Changes After Approval GitHub - MeepCastana/KubeezCut: Free Web based video editor Can AI judge journalism? A Thiel-backed startup says yes, even if it risks chilling whistleblowers Coming soon: 10 Things That Matter in AI Right Now DARPA built an AI to fact-check enemy weapons claims What explains heterogeneity in AI adoption? When AI Meets Muscle: Context-Aware Electrical Stimulation Promises a New Way to Guide Human Movements - Department of Computer Science AI Changed How We Build. It Did Not Change What Matters. Linux rules on using AI-generated code - Copilot is OK, but humans must take 'full responsibility for the… Meta spins up AI version of Mark Zuckerberg to engage with employees Code Mode: Let Your AI Write Programs, Not Just Call Tools | TanStack Blog GitHub - Delavalom/graft: Go framework for building AI agents. Type-safe tools, multi-provider (OpenAI, Anthropic, Gemini, Bedrock), zero vendor SDKs. India's TCS tops estimates, says new AI models did not dent services demand Gen Z's fading AI hype Strong feeling: we are in a folded AI reality GitHub - machinarii/total-recall-catalog: A reference catalog of latest knowledge retrieval, memory & RAG systems GitHub - mensfeld/code-on-incus: Give each AI agent its own isolated machine with root, Docker, and systemd. Active defense detects and stops threats automatically.. Quantization, LoRA, and the 8% Problem: Benchmarking Local LLMs for Production AI Iran war: We spoke to the man making Lego-style AI videos that experts say are powerful propaganda Powell, Bessent discussed Anthropic's Mythos AI cyber threat with major U.S. banks GitHub - immartian/bellamem: Persistent belief-graph memory for AI agents. Retrieves decisive context by importance — not recency, not RAG, not /compact. recursive-mode: The Repo-Native Operating System for AI Engineering After the attack on Sam Altman's home, will AI CEO's go on the offensive? The biggest advance in AI since the LLM Opus 4.6 vs GPT 5.4 One Prompt Unity World Generation Test “AI polls” are fake polls Client Challenge Can AI be a 'child of God'? Inside Anthropic's meeting with Christian leaders
GitHub - dhiaayachi/gravity-ai: A multiagent consensus AI...
neo2006 · 2026-05-01 · via Hacker News - Newest: "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.

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