Chuyển đến nội dung
Skillpedia
Agent48k · #3667

agent-orchestration-multi-agent-optimize

Skill này làm gì

Công cụ này giúp cải thiện hiệu suất của nhiều agent AI cùng làm việc. Nó phân tích cách chúng giao tiếp và phân chia công việc để chạy nhanh hơn và dùng ít tài nguyên hơn.

Khi nào nên dùng

  • ✓Khi nhiều agent AI chậm hoặc không giao tiếp tốt với nhau.
  • ✓Khi cần tìm các điểm nghẽn khiến hệ thống AI chậm chạp.
  • ✓Khi lên kế hoạch tổ chức nhiều agent cho các tác vụ phức tạp.

Liên kết skill

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/agent-orchestration-multi-agent-optimize/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/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/agent-orchestration-multi-agent-optimize/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

“Làm thế nào để tối ưu việc giao tiếp giữa các agent AI của tôi nhằm giảm độ trễ?”

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

Cách hoạt động

Công cụ theo dõi hiệu suất của từng agent, xác định nơi chúng bị kẹt và điều chỉnh cách phân phối công việc và sử dụng tài nguyên để chúng hiệu quả hơ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.

Multi-Agent Optimization Toolkit

Use this skill when

  • Improving multi-agent coordination, throughput, or latency
  • Profiling agent workflows to identify bottlenecks
  • Designing orchestration strategies for complex workflows
  • Optimizing cost, context usage, or tool efficiency

Do not use this skill when

  • You only need to tune a single agent prompt
  • There are no measurable metrics or evaluation data
  • The task is unrelated to multi-agent orchestration

Instructions

  1. Establish baseline metrics and target performance goals.
  2. Profile agent workloads and identify coordination bottlenecks.
  3. Apply orchestration changes and cost controls incrementally.
  4. Validate improvements with repeatable tests and rollbacks.

Execution boundaries

This guide does not authorize spawning agents, remote execution, deployment or external messages. Where parallel work is authorized, assign disjoint write ownership, cap concurrency and deadlines, isolate failures, inspect every result and verify the aggregate. A running future cannot generally be stopped by cancelling its handle; design cooperative cancellation and record incomplete work. Context compression must retain constraints, evidence provenance and unresolved tasks; validate losses against a full-context baseline.

Safety

  • Avoid deploying orchestration changes without regression testing.
  • Roll out changes gradually to prevent system-wide regressions.

Role: AI-Powered Multi-Agent Performance Engineering Specialist

Context

This is an orchestration design guide, not a bundled framework. Profile the existing system and compare scoped changes against a measured baseline. Named agent classes and tracker helpers in design examples must be implemented in the application.

Core Capabilities

  • Intelligent multi-agent coordination
  • Performance profiling and bottleneck identification
  • Adaptive optimization strategies
  • Cross-domain performance optimization
  • Cost and efficiency tracking

Arguments Handling

The tool processes optimization arguments with flexible input parameters:

  • $TARGET: Primary system/application to optimize
  • $PERFORMANCE_GOALS: Specific performance metrics and objectives
  • $OPTIMIZATION_SCOPE: Depth of optimization (quick-win, comprehensive)
  • $BUDGET_CONSTRAINTS: Cost and resource limitations
  • $QUALITY_METRICS: Performance quality thresholds

1. Multi-Agent Performance Profiling

Profiling Strategy

  • Distributed performance monitoring across system layers
  • Real-time metrics collection and analysis
  • Continuous performance signature tracking

Profiling Agents

  1. Database Performance Agent

    • Query execution time analysis
    • Index utilization tracking
    • Resource consumption monitoring
  2. Application Performance Agent

    • CPU and memory profiling
    • Algorithmic complexity assessment
    • Concurrency and async operation analysis
  3. Frontend Performance Agent

    • Rendering performance metrics
    • Network request optimization
    • Core Web Vitals monitoring

Profiling design sketch (not executable)

def multi_agent_profiler(target_system):
    agents = [
        DatabasePerformanceAgent(target_system),
        ApplicationPerformanceAgent(target_system),
        FrontendPerformanceAgent(target_system)
    ]

    performance_profile = {}
    for agent in agents:
        performance_profile[agent.__class__.__name__] = agent.profile()

    return aggregate_performance_metrics(performance_profile)

2. Context Window Optimization

Optimization Techniques

  • Intelligent context compression
  • Semantic relevance filtering
  • Dynamic context window resizing
  • Token budget management

Context compression design sketch (not executable)

def compress_context(context, max_tokens=4000):
    # Semantic compression using embedding-based truncation
    compressed_context = semantic_truncate(
        context,
        max_tokens=max_tokens,
        importance_threshold=0.7
    )
    return compressed_context

3. Agent Coordination Efficiency

Coordination Principles

  • Parallel execution design
  • Minimal inter-agent communication overhead
  • Dynamic workload distribution
  • Fault-tolerant agent interactions

Orchestration design sketch (not executable)

class MultiAgentOrchestrator:
    def __init__(self, agents):
        self.agents = agents
        self.execution_queue = PriorityQueue()

…
Câu hỏi thường gặp

“Agent” trong ngữ cảnh này là gì?

Agent là các chương trình AI cùng làm việc để hoàn thành một tác vụ. Hãy hình dung chúng là các chuyên gia cho những phần khác nhau của một vấn đề.

“Cost optimization” (tối ưu chi phí) nghĩa là gì?

Nghĩa là làm cho các agent dùng ít tài nguyên tính toán hơn (thời gian xử lý, bộ nhớ) và ít token ngôn ngữ hơn, nhờ đó thường giảm chi phí tài chính.

Công cụ này có tạo agent AI mới không?

Không, công cụ này dùng để cải thiện và sắp xếp các agent có sẵn, không dùng để tạo agent mới.

Chi tiết

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

Optimize multi-agent systems with coordinated profiling, workload distribution, and cost-aware orchestration. Use when improving agent performance, throughput, or reliability.

repo: sickn33/agentic-awesome-skills

Độ phổ biến

Sao GitHub
48k
Vị trí xếp hạng
#3667
Giấy phép
MIT
Cập nhật
15/10/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ự