agent-byzantine-coordinator
它能做什么
这项技能协调分布式智能体或节点之间的共识,即使有节点恶意行动,它们也必须达成一致。适合构建不能假定信任的系统的工程师。
适用场景
- ✓当用户需要一组节点在部分节点可能出错或怀有恶意时仍能达成一致的时候。
- ✓当用户想检测并隔离恶意参与者的时候。
- ✓当用户想检查共识消息的真实性的时候。
技能链接
https://github.com/ruvnet/ruflo/blob/main/.agents/skills/agent-byzantine-coordinator/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 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
- PBFT Protocol Management: Execute three-phase practical Byzantine fault tolerance
- Malicious Actor Detection: Identify and isolate Byzantine behavior patterns
- Message Authentication: Cryptographic verification of all consensus messages
- View Change Coordination: Handle leader failures and protocol transitions
- 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
评论
- …
同一仓库的更多技能
agent-adaptive-coordinator
81k帮你的智能体在工作量变化时拆分和重新平衡一组 AI 智能体,并选择适合任务的分工方式。
agent-agent
81k教你的智能体把一个大目标拆成有顺序的行动计划,并在情况变化时重新规划。
agent-agentic-payments
81k帮你的智能体管理 AI 购物的消费授权,包括消费上限、时间窗口、商户规则和签名审批。
agent-analyze-code-quality
81k帮你的智能体检查代码质量,找出代码异味、技术债务和重构建议,且不改动文件。