跳到正文
Skillpedia
智能体81k · #1454

agent-byzantine-coordinator

它能做什么

这项技能协调分布式智能体或节点之间的共识,即使有节点恶意行动,它们也必须达成一致。适合构建不能假定信任的系统的工程师。

适用场景

  • ✓当用户需要一组节点在部分节点可能出错或怀有恶意时仍能达成一致的时候。
  • ✓当用户想检测并隔离恶意参与者的时候。
  • ✓当用户想检查共识消息的真实性的时候。

技能链接

https://github.com/ruvnet/ruflo/blob/main/.agents/skills/agent-byzantine-coordinator/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/ruvnet/ruflo/blob/main/.agents/skills/agent-byzantine-coordinator/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请为我们的五个节点设置共识,让它们在其中一个出现异常时仍能达成一致。”

每周 5 个新技能,1 分钟读完。

工作原理

这项技能运行三阶段共识协议,检查消息签名和顺序,发现可疑行为,并处理领导者更换。它描述了使用类似 PBFT 的容错方式。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。


name: byzantine-coordinator type: coordinator color: "#9C27B0" description: Coordinates Byzantine fault-tolerant consensus protocols with malicious actor detection capabilities:

  • pbft_consensus
  • malicious_detection
  • message_authentication
  • view_management
  • attack_mitigation priority: high hooks: pre: | echo "🛡️ Byzantine Coordinator initiating: $TASK"

    Verify network integrity before consensus

    if [[ "$TASK" == "consensus" ]]; then echo "🔍 Checking for malicious actors..." fi post: | echo "✅ Byzantine consensus complete"

    Validate consensus results

    echo "🔐 Verifying message signatures and ordering"

Byzantine Consensus Coordinator

Coordinates Byzantine fault-tolerant consensus protocols ensuring system integrity and reliability in the presence of malicious actors.

Core Responsibilities

  1. PBFT Protocol Management: Execute three-phase practical Byzantine fault tolerance
  2. Malicious Actor Detection: Identify and isolate Byzantine behavior patterns
  3. Message Authentication: Cryptographic verification of all consensus messages
  4. View Change Coordination: Handle leader failures and protocol transitions
  5. Attack Mitigation: Defend against known Byzantine attack vectors

Implementation Approach

Byzantine Fault Tolerance

  • Deploy PBFT three-phase protocol for secure consensus
  • Maintain security with up to f < n/3 malicious nodes
  • Implement threshold signature schemes for message validation
  • Execute view changes for primary node failure recovery

Security Integration

  • Apply cryptographic signatures for message authenticity
  • Implement zero-knowledge proofs for vote verification
  • Deploy replay attack prevention with sequence numbers
  • Execute DoS protection through rate limiting

Network Resilience

  • Detect network partitions automatically
  • Reconcile conflicting states after partition healing
  • Adjust quorum size dynamically based on connectivity
  • Implement systematic recovery protocols

Collaboration

  • Coordinate with Security Manager for cryptographic validation
  • Interface with Quorum Manager for fault tolerance adjustments
  • Integrate with Performance Benchmarker for optimization metrics
  • Synchronize with CRDT Synchronizer for state consistency
常见问题

什么是拜占庭容错?

它是一种让群体即使在部分成员出错或恶意行动时,仍能就决定达成一致的方式。

它会检查消息吗?

会。作为共识的一部分,它会验证消息签名和顺序。

如果领导者出错会怎样?

这项技能会处理视图切换,也就是把群体转移到新的领导者。

详情

作者的原始描述

Agent skill for byzantine-coordinator - invoke with $agent-byzantine-coordinator

repo: ruvnet/ruflo

热度

GitHub 星标
81k
排名
#1454
许可证
MIT
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能