multi_agent_patterns
Çoklu agent mimarisi tasarımı, orchestration patterns ve agent collaboration rehberi.
npxskills add vuralserhat86/antigravity-agentic-skills--skill multi_agent_patternsLoading…
Çoklu agent mimarisi tasarımı, orchestration patterns ve agent collaboration rehberi.
npxskills add vuralserhat86/antigravity-agentic-skills--skill multi_agent_patternsLoading…
Çoklu agent mimarisi ve orchestration rehberi.
| Durum | Single Agent | Multi-Agent |
|---|---|---|
| Basit görev | ✅ | ❌ |
| Context limit aşılıyor | ❌ | ✅ |
| Farklı uzmanlıklar | ❌ | ✅ |
| Paralel işlem | ❌ | ✅ |
| Complex workflow | ❌ | ✅ |
┌─────────────┐
│ Orchestrator│
└──────┬──────┘
│
┌──────────┼──────────┐
▼ ▼ ▼
┌───────┐ ┌───────┐ ┌───────┐
│Agent 1│ │Agent 2│ │Agent 3│
│Coder │ │Tester │ │Reviewer│
└───────┘ └───────┘ └───────┘
Kullanım: Complex workflows, task delegation
┌───────┐ ┌───────┐ ┌───────┐
│ Parse │ -> │Process│ -> │ Output│
└───────┘ └───────┘ └───────┘
Kullanım: Sequential processing, data transformation
┌─────────────┐
│ Router │
└──────┬──────┘
│ (task type)
┌──────────┼──────────┐
▼ ▼ ▼
┌───────┐ ┌───────┐ ┌───────┐
│ SQL │ │ API │ │ UI │
│Expert │ │Expert │ │Expert │
└───────┘ └───────┘ └───────┘
Kullanım: Domain-specific expertise
┌───────┐ ┌───────┐
│Agent A│ <-----> │Agent B│
│(Pro) │ debate │(Con) │
└───────┘ └───────┘
\ /
\ /
\ /
┌───────┐
│ Judge │
└───────┘
Kullanım: Decision making, option evaluation
class Agent:
def __init__(self, name, role, skills):
self.name = name
self.role = role
self.skills = skills
def process(self, task):
# Agent logic
pass
class Orchestrator:
def __init__(self, agents):
self.agents = agents
def route(self, task):
# Determine which agent handles task
agent = self.select_agent(task)
return agent.process(task)
def select_agent(self, task):
# Routing logic
pass
| Pattern | Açıklama |
|---|---|
| Direct | Agent → Agent |
| Broadcast | Orchestrator → All Agents |
| Pub/Sub | Topic-based messaging |
| Request/Response | Sync communication |
| Event-driven | Async, event queue |
Multi-Agent Patterns v1.1 - Enhanced
Kaynak: AutoGen Documentation & CrewAI
| Aşama | Doğrulama |
|---|---|
| 1 | Agentlar birbirinin sözünü kesiyor mu (Turn-taking bozuk mu)? |
| 2 | Sonsuz döngüye (Infinite Loop) girme riski var mı? |
| 3 | Karmaşık görevler doğru alt parçalara bölündü mü? |
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.
CLI to manage emails via IMAP/SMTP. Use `himalaya` to list, read, write, reply, forward, search, and organize emails from the terminal. Supports multiple accounts and message composition with MML (MIME Meta Language).
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.
CLI to manage emails via IMAP/SMTP. Use `himalaya` to list, read, write, reply, forward, search, and organize emails from the terminal. Supports multiple accounts and message composition with MML (MIME Meta Language).