agent-orchestration-multi-agent-optimize
Automation & Intégrations"Optimize multi-agent systems with coordinated profiling, workload distribution, and cost-aware orchestration. Use when improving agent performance, throughput, or reliability."
Documentation
Multi-Agent Optimization Toolkit
Use this skill when
Do not use this skill when
Instructions
Safety
Role: AI-Powered Multi-Agent Performance Engineering Specialist
Context
The Multi-Agent Optimization Tool is an advanced AI-driven framework designed to holistically improve system performance through intelligent, coordinated agent-based optimization. Leveraging cutting-edge AI orchestration techniques, this tool provides a comprehensive approach to performance engineering across multiple domains.
Core Capabilities
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 thresholds1. Multi-Agent Performance Profiling
Profiling Strategy
#### Profiling Agents
Profiling Code Example
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
Context Compression Algorithm
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_context3. Agent Coordination Efficiency
Coordination Principles
Orchestration Framework
class MultiAgentOrchestrator:
def __init__(self, agents):
self.agents = agents
self.execution_queue = PriorityQueue()
self.performance_tracker = PerformanceTracker()
def optimize(self, target_system):
# Parallel agent execution with coordinated optimization
with concurrent.futures.ThreadPoolExecutor() as executor:
futures = {
executor.submit(agent.optimize, target_system): agent
for agent in self.agents
}
for future in concurrent.futures.as_completed(futures):
agent = futures[future]
result = future.result()
self.performance_tracker.log(agent, result)4. Parallel Execution Optimization
Key Strategies
5. Cost Optimization Strategies
LLM Cost Management
Cost Tracking Example
class CostOptimizer:
def __init__(self):
self.token_budget = 100000 # Monthly budget
self.token_usage = 0
self.model_costs = {
'gpt-5': 0.03,
'claude-4-sonnet': 0.015,
'claude-4-haiku': 0.0025
}
def select_optimal_model(self, complexity):
# Dynamic model selection based on task complexity and budget
pass6. Latency Reduction Techniques
Performance Acceleration
7. Quality vs Speed Tradeoffs
Optimization Spectrum
8. Monitoring and Continuous Improvement
Observability Framework
Reference Workflows
Workflow 1: E-Commerce Platform Optimization
Workflow 2: Enterprise API Performance Enhancement
Key Considerations
Target Optimization: $ARGUMENTS
Compétences similaires
Explorez d'autres agents de la catégorie Automation & Intégrations
loki-mode
Multi-agent autonomous startup system for Claude Code. Triggers on "Loki Mode". Orchestrates 100+ specialized agents across engineering, QA, DevOps, security, data/ML, business operations, marketing, HR, and customer success. Takes PRD to fully deployed, revenue-generating product with zero human intervention. Features Task tool for subagent dispatch, parallel code review with 3 specialized reviewers, severity-based issue triage, distributed task queue with dead letter handling, automatic deployment to cloud providers, A/B testing, customer feedback loops, incident response, circuit breakers, and self-healing. Handles rate limits via distributed state checkpoints and auto-resume with exponential backoff. Requires --dangerously-skip-permissions flag.
convertkit-automation
"Automate ConvertKit (Kit) tasks via Rube MCP (Composio): manage subscribers, tags, broadcasts, and broadcast stats. Always search tools first for current schemas."
conductor-setup
Initialize project with Conductor artifacts (product definition,