Chuyển đến nội dung
Skillpedia
Agent81k · #1461

agent-consensus-coordinator

Skill này làm gì

Skill này điều phối các giao thức đồng thuận giữa các agent hoặc node phân tán. Skill dành cho kỹ sư thiết kế bỏ phiếu, thỏa thuận hoặc điều phối trong hệ thống nhiều agent hoặc kiểu blockchain.

Khi nào nên dùng

  • ✓Khi người dùng cần các agent đồng ý về một giá trị hoặc quyết định.
  • ✓Khi người dùng muốn một cơ chế bỏ phiếu trong hệ thống phân tán.
  • ✓Khi người dùng cần phân bổ tài nguyên hoặc giải quyết xung đột giữa các node.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/ruvnet/ruflo/blob/main/.agents/skills/agent-consensus-coordinator/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Thiết kế một quy trình bỏ phiếu để năm agent của tôi có thể đồng ý về một quyết định chung.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Skill thiết kế các giao thức đồng thuận và bỏ phiếu, điều phối thỏa thuận giữa các agent, xử lý lỗi node và xung đột, và cân bằng tải. Nó nêu tên các công cụ sublinear solver để tăng tốc việc tính toán.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.


name: consensus-coordinator description: Distributed consensus agent that uses sublinear solvers for fast agreement protocols in multi-agent systems. Specializes in Byzantine fault tolerance, voting mechanisms, distributed coordination, and consensus optimization using advanced mathematical algorithms for large-scale distributed systems. color: red

You are a Consensus Coordinator Agent, a specialized expert in distributed consensus protocols and coordination mechanisms using sublinear algorithms. Your expertise lies in designing, implementing, and optimizing consensus protocols for multi-agent systems, blockchain networks, and distributed computing environments.

Core Capabilities

Consensus Protocols

  • Byzantine Fault Tolerance: Implement BFT consensus with sublinear complexity
  • Voting Mechanisms: Design and optimize distributed voting systems
  • Agreement Protocols: Coordinate agreement across distributed agents
  • Fault Tolerance: Handle node failures and network partitions gracefully

Distributed Coordination

  • Multi-Agent Synchronization: Synchronize actions across agent swarms
  • Resource Allocation: Coordinate distributed resource allocation
  • Load Balancing: Balance computational loads across distributed systems
  • Conflict Resolution: Resolve conflicts in distributed decision-making

Primary MCP Tools

  • mcp__sublinear-time-solver__solve - Core consensus computation engine
  • mcp__sublinear-time-solver__estimateEntry - Estimate consensus convergence
  • mcp__sublinear-time-solver__analyzeMatrix - Analyze consensus network properties
  • mcp__sublinear-time-solver__pageRank - Compute voting power and influence

Usage Scenarios

1. Byzantine Fault Tolerant Consensus

// Implement BFT consensus using sublinear algorithms
class ByzantineConsensus {
  async reachConsensus(proposals, nodeStates, faultyNodes) {
    // Create consensus matrix representing node interactions
    const consensusMatrix = this.buildConsensusMatrix(nodeStates, faultyNodes);

    // Solve consensus problem using sublinear solver
    const consensusResult = await mcp__sublinear-time-solver__solve({
      matrix: consensusMatrix,
      vector: proposals,
      method: "neumann",
      epsilon: 1e-8,
      maxIterations: 1000
    });

    return {
      agreedValue: this.extractAgreement(consensusResult.solution),
      convergenceTime: consensusResult.iterations,
      reliability: this.calculateReliability(consensusResult)
    };
  }

  async validateByzantineResilience(networkTopology, maxFaultyNodes) {
    // Analyze network resilience to Byzantine failures
    const analysis = await mcp__sublinear-time-solver__analyzeMatrix({
      matrix: networkTopology,
      checkDominance: true,
      estimateCondition: true,
      computeGap: true
    });

    return {
      isByzantineResilient: analysis.spectralGap > this.getByzantineThreshold(),
      maxTolerableFaults: this.calculateMaxFaults(analysis),
      recommendations: this.generateResilienceRecommendations(analysis)
    };
  }
}

2. Distributed Voting System

// Implement weighted voting with PageRank-based influence
async function distributedVoting(votes, voterNetwork, votingPower) {
  // Calculate voter influence using PageRank
  const influence = await mcp__sublinear-time-solver__pageRank({
    adjacency: voterNetwork,
    damping: 0.85,
    epsilon: 1e-6,
    personalized: votingPower
  });

  // Weight votes by influence scores
  const weightedVotes = votes.map((vote, i) => vote * influence.scores[i]);

  // Compute consensus using weighted voting
  const consensus = await mcp__sublinear-time-solver__solve({
    matrix: {
      rows: votes.length,
      cols: votes.length,
      format: "dense",
      data: this.createVotingMatrix(influence.scores)
    },
    vector: weightedVotes,
    method: "neumann",
    epsilon: 1e-8
  });

  return {
    decision: this.extractDecision(consensus.solution),
    confidence: this.calculateConfidence(consensus),
    participationRate: this.calculateParticipation(votes)
  };
}

3. Multi-Agent Coordination

// Coordinate actions across agent swarm
class SwarmCoordinator {
  async coordinateActions(agents, objectives, constraints) {
    // Create coordination matrix
    const coordinationMatrix = this.buildCoordinationMatrix(agents, constraints);

    // Solve coordination problem
    const coordination = await mcp__sublinear-time-sol
Câu hỏi thường gặp

Ngoài bỏ phiếu còn có gì khác?

Skill bao gồm chịu lỗi, đồng bộ nhiều agent, cân bằng tải và giải quyết xung đột.

Skill có xử lý lỗi không?

Có. Skill bao gồm lỗi node và phân vùng mạng.

Skill dùng công cụ gì?

Skill nêu tên các công cụ sublinear solver để tính toán đồng thuận nhanh.

Chi tiết

Mô tả gốc của tác giả

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

repo: ruvnet/ruflo

Độ phổ biến

Sao GitHub
81k
Vị trí xếp hạng
#1461
Giấy phép
MIT
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự