multi-agent-collaboration

Multi-Agent Collaboration

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "multi-agent-collaboration" with this command: npx skills add lauraflorentin/skills-marketplace/lauraflorentin-skills-marketplace-multi-agent-collaboration

Multi-Agent Collaboration

Multi-Agent Collaboration (MAC) involves a team of agents, each with a specific role, tools, and persona. They work together by exchanging messages, handing off tasks, or debating solutions. This mimics human organizational structures (e.g., a software team with a PM, Dev, and QA).

When to Use

  • Separation of Concerns: To keep prompts simple and focused. Complex prompts often confuse models; specialized agents are more reliable.

  • Role-Playing: When specific expertise or persona is needed (e.g., "Act as a grumpy editor").

  • Scalability: Adding new capabilities is as simple as adding a new agent to the team.

  • Simulating User Behavior: Modeling market dynamics, social networks, or game theory scenarios.

Use Cases

  • Software Dev Team: Product Manager -> Developer -> Reviewer -> QA.

  • Debate: Proposition Agent vs. Opposition Agent -> Moderator synthesizes.

  • Creative Writing Room: Idea Generator -> Plot Outliner -> Dialogue Specialist -> Editor.

Implementation Pattern

class Agent: def process(self, message): # ... logic ... return response

def collaboration_workflow(task): # Define Roles researcher = Agent(role="Researcher", tools=[search_tool]) writer = Agent(role="Writer", tools=[editor_tool]) reviewer = Agent(role="Reviewer", prompt="Critique for accuracy")

# Flow
# 1. Research
facts = researcher.process(f"Gather facts on: {task}")

# 2. Write Draft
draft = writer.process(f"Write an article using these facts: {facts}")

# 3. Review & Iterate
feedback = reviewer.process(draft)
if feedback.has_issues:
    final_draft = writer.process(f"Fix these issues: {feedback}")
else:
    final_draft = draft
    
return final_draft

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

inter-agent communication

No summary provided by upstream source.

Repository SourceNeeds Review
General

reflection

No summary provided by upstream source.

Repository SourceNeeds Review
General

planning

No summary provided by upstream source.

Repository SourceNeeds Review
General

human-in-the-loop

No summary provided by upstream source.

Repository SourceNeeds Review